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
@@ -4,7 +4,10 @@ export function FormSubmitDemo() {
|
||||
<fieldset class="mb-4">
|
||||
<legend class="mb-2 font-bold">What's your favorite treat?</legend>
|
||||
|
||||
<label for="lemon-meringue-pie" class="flex gap-2 items-center">
|
||||
<label
|
||||
for="lemon-meringue-pie"
|
||||
class="flex gap-2 items-center cursor-pointer"
|
||||
>
|
||||
<input
|
||||
type="radio"
|
||||
value="lemon-meringue-pie"
|
||||
@@ -14,7 +17,10 @@ export function FormSubmitDemo() {
|
||||
/>
|
||||
Lemon meringue pie
|
||||
</label>
|
||||
<label for="lemon-shortbread-cookies" class="flex gap-2 items-center">
|
||||
<label
|
||||
for="lemon-shortbread-cookies"
|
||||
class="flex gap-2 items-center cursor-pointer"
|
||||
>
|
||||
<input
|
||||
type="radio"
|
||||
value="lemon-shortbread-cookies"
|
||||
@@ -23,7 +29,10 @@ export function FormSubmitDemo() {
|
||||
/>
|
||||
Lemon shortbread cookies
|
||||
</label>
|
||||
<label for="lemon-sherbet" class="flex gap-2 items-center">
|
||||
<label
|
||||
for="lemon-sherbet"
|
||||
class="flex gap-2 items-center cursor-pointer"
|
||||
>
|
||||
<input
|
||||
type="radio"
|
||||
value="lemon-sherbet"
|
||||
@@ -32,7 +41,7 @@ export function FormSubmitDemo() {
|
||||
/>
|
||||
Lemon sherbet
|
||||
</label>
|
||||
<label for="lemon-bars" class="flex gap-2 items-center">
|
||||
<label for="lemon-bars" class="flex gap-2 items-center cursor-pointer">
|
||||
<input
|
||||
type="radio"
|
||||
value="lemon-bars"
|
||||
@@ -46,7 +55,7 @@ export function FormSubmitDemo() {
|
||||
<button
|
||||
type="submit"
|
||||
value="Submit"
|
||||
class="pt-2 pb-1 px-3 rounded-sm border-current border-[1.5px] font-semibold"
|
||||
class="pt-2 pb-1 px-3 rounded-sm border-current border-[1.5px] font-semibold cursor-pointer"
|
||||
>
|
||||
Submit
|
||||
</button>
|
||||
|
||||
Reference in New Issue
Block a user