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
@@ -3,16 +3,28 @@ import { Partial } from "fresh/runtime";
|
||||
export const RecipeDemo = () => (
|
||||
<div
|
||||
f-client-nav
|
||||
class="w-full grid grid-cols-1 md:grid-cols-[auto_1fr] text-left gap-6 items-stretch min-h-64"
|
||||
class="w-full grid grid-cols-1 md:grid-cols-[auto_1fr] text-left gap-6 items-stretch min-h-40"
|
||||
>
|
||||
<aside class="flex flex-col gap-2 underline p-6 pl-0 border-b md:border-r md:border-b-0 border-current text-left items-start justify-center">
|
||||
<button type="button" f-partial="/recipes/lemonade">
|
||||
<button
|
||||
type="button"
|
||||
f-partial="/recipes/lemonade"
|
||||
class="cursor-pointer"
|
||||
>
|
||||
Lemonade
|
||||
</button>
|
||||
<button type="button" f-partial="/recipes/lemon-honey-tea">
|
||||
<button
|
||||
type="button"
|
||||
f-partial="/recipes/lemon-honey-tea"
|
||||
class="cursor-pointer"
|
||||
>
|
||||
Lemon-honey tea
|
||||
</button>
|
||||
<button type="button" f-partial="/recipes/lemondrop">
|
||||
<button
|
||||
type="button"
|
||||
f-partial="/recipes/lemondrop"
|
||||
class="cursor-pointer"
|
||||
>
|
||||
Lemondrop Martini
|
||||
</button>
|
||||
</aside>
|
||||
|
||||
Reference in New Issue
Block a user