feat: refresh landing page for Fresh 2.3 (#3775)

- Update HelloBar to announce Fresh 2.3 with feature callouts
(WebSockets, View Transitions, Temporal API)
- Rework hero section: new headline ("The framework so simple, you
already know it"), descriptive subtitle, moved CTA to left
- Remove old Simple section, add "Take a tour of Fresh" heading before
showcase
- Add new showcase sections: View Transitions, API Routes/Handlers,
WebSockets, `<Head>` element, OpenTelemetry
- Fix broken Deco showcase image (missing `/showcase/` directory)
- Fix syntax highlighting in Simple section (was using raw `<pre>`
instead of Prism)
- Update RenderingSection to use Temporal API instead of Date API
- Fix cursor styles on Forms and Partials interactive demos
- Move WebSocket docs from Examples to Advanced in TOC
- Densify all showcase sections: smaller headings, code blocks, icons,
demo boxes, arrows, and tighter spacing

---------

Co-authored-by: Josh Collinsworth <joshuajcollinsworth@gmail.com>
This commit is contained in:
Bartek Iwańczuk
2026-04-24 18:03:22 +02:00
committed by GitHub
co-authored by Josh Collinsworth
parent d16172e420
commit cb6d02d2eb
28 changed files with 957 additions and 136 deletions
+10 -8
View File
@@ -40,8 +40,8 @@ export function IslandsSection() {
aria-hidden="true"
xmlns="http://www.w3.org/2000/svg"
class="icon icon-tabler icon-tabler-beach text-fresh"
width="4rem"
height="4rem"
width="2.5rem"
height="2.5rem"
viewBox="0 0 24 24"
stroke-width="1.5"
stroke="currentColor"
@@ -56,17 +56,19 @@ export function IslandsSection() {
<path d="M15 9l-3 5.196" />
<path d="M3 19.25a2.4 2.4 0 0 1 1 -.25a2.4 2.4 0 0 1 2 1a2.4 2.4 0 0 0 2 1a2.4 2.4 0 0 0 2 -1a2.4 2.4 0 0 1 2 -1a2.4 2.4 0 0 1 2 1a2.4 2.4 0 0 0 2 1a2.4 2.4 0 0 0 2 -1a2.4 2.4 0 0 1 2 -1a2.4 2.4 0 0 1 1 .25" />
</svg>
<SectionHeading>Island-based architecture</SectionHeading>
<SectionHeading>Interactive where it matters</SectionHeading>
<p>
Fresh ships plain HTML to the client, then hydrates with JavaScript
only where needed.
Most of your page is static HTML. Islands are the small, interactive
parts that get hydrated with JavaScript. You choose exactly what
runs on the client.
</p>
<p>
Because it's Preact, you get best-in-class performance, plus the
convenience of{" "}
Built on{" "}
<a href="https://preactjs.com/" class="underline">Preact</a> and
{" "}
<a href="https://preactjs.com/guide/v10/signals/" class="underline">
Signals
</a>.
</a>, so islands are tiny and reactive out of the box.
</p>
<FancyLink href="/docs/concepts/islands" class="mt-2">
Learn more about islands