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
@@ -176,7 +176,7 @@ export const handler = define.handlers({
|
||||
## WebSockets
|
||||
|
||||
Fresh provides first-class WebSocket support via `ctx.upgrade()`. See the full
|
||||
[WebSocket guide](/docs/examples/websockets) for all options.
|
||||
[WebSocket guide](/docs/advanced/websockets) for all options.
|
||||
|
||||
## Subdomain routing
|
||||
|
||||
|
||||
@@ -13,5 +13,4 @@ that you may like in your Fresh project.
|
||||
- [Sharing state between islands](./examples/sharing-state-between-islands)
|
||||
- [Active links](./examples/active-links)
|
||||
- [Session management](./examples/session-management)
|
||||
- [WebSockets](./examples/websockets)
|
||||
- [Common Patterns](./examples/common-patterns)
|
||||
|
||||
+1
-1
@@ -61,6 +61,7 @@ const toc: RawTableOfContents = {
|
||||
["environment-variables", "Environment Variables", "link:latest"],
|
||||
["head", "<head> element", "link:latest"],
|
||||
["vite", "Vite Plugin Options", "link:latest"],
|
||||
["websockets", "WebSockets", "link:latest"],
|
||||
["opentelemetry", "OpenTelemetry", "link:latest"],
|
||||
["api-reference", "API Reference", "link:latest"],
|
||||
["troubleshooting", "Troubleshooting", "link:latest"],
|
||||
@@ -107,7 +108,6 @@ const toc: RawTableOfContents = {
|
||||
],
|
||||
["active-links", "Active links", "link:latest"],
|
||||
["session-management", "Session management", "link:latest"],
|
||||
["websockets", "WebSockets", "link:latest"],
|
||||
["common-patterns", "Common Patterns", "link:latest"],
|
||||
],
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user