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:
co-authored by
Josh Collinsworth
parent
d16172e420
commit
cb6d02d2eb
@@ -45,8 +45,8 @@ export function PartialsSection() {
|
||||
aria-hidden="true"
|
||||
xmlns="http://www.w3.org/2000/svg"
|
||||
class="icon icon-tabler icon-tabler-arrows-transfer-down text-fresh"
|
||||
width="4rem"
|
||||
height="4rem"
|
||||
width="2.5rem"
|
||||
height="2.5rem"
|
||||
viewBox="0 0 24 24"
|
||||
stroke-width="1.5"
|
||||
stroke="currentColor"
|
||||
@@ -66,9 +66,10 @@ export function PartialsSection() {
|
||||
|
||||
<SectionHeading>Stream HTML straight from the server</SectionHeading>
|
||||
<p>
|
||||
Fresh Partials let you fetch HTML and slot it directly into the
|
||||
page, without a full page reload - perfect for interactive elements
|
||||
and dynamic apps.
|
||||
Swap chunks of HTML from the server straight into the page. No full
|
||||
reload, no client-side routing library. Click a link or submit a
|
||||
form and Fresh streams just the part that changed. Perfect for
|
||||
interactive elements and dynamic apps.
|
||||
</p>
|
||||
<FancyLink href="/docs/advanced/partials" class="mt-4">
|
||||
Learn more about Partials
|
||||
|
||||
Reference in New Issue
Block a user