- 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>
39 lines
1.2 KiB
TypeScript
39 lines
1.2 KiB
TypeScript
import type { JSX } from "preact";
|
|
|
|
export function ExampleArrow(
|
|
props: JSX.HTMLAttributes<HTMLDivElement>,
|
|
) {
|
|
return (
|
|
<svg
|
|
aria-hidden="true"
|
|
width="100%"
|
|
height="100%"
|
|
viewBox="0 0 137 291"
|
|
version="1.1"
|
|
xmlns="http://www.w3.org/2000/svg"
|
|
xml:space="preserve"
|
|
style="fill-rule:evenodd;clip-rule:evenodd;stroke-linecap:round;stroke-linejoin:round;stroke-miterlimit:1.5;"
|
|
class={`w-8 -my-6 relative z-10 mx-auto ${props?.class ?? ""}`}
|
|
>
|
|
<path
|
|
d="M50.704,18c46.89,80.967 38.288,189.344 5.941,254.255"
|
|
style="fill:none;stroke:#fff;stroke-width:36px;"
|
|
/>
|
|
<path
|
|
d="M18,207.944c13.297,11.903 33.957,43.376 38.645,64.311c19.034,-17.758 43.173,-31.125 62.237,-36.621"
|
|
style="fill:none;stroke:#fff;stroke-width:36px;"
|
|
/>
|
|
<path
|
|
d="M50.704,18c47.238,81.059 38.288,189.344 5.941,254.255"
|
|
style="fill:none;stroke-width:18px;"
|
|
class="stroke-gray-600"
|
|
/>
|
|
<path
|
|
d="M18,207.944c13.044,11.646 33.957,43.376 38.645,64.311c19.034,-17.758 43.173,-31.125 62.237,-36.621"
|
|
style="fill:none;stroke-width:18px;"
|
|
class="stroke-gray-600"
|
|
/>
|
|
</svg>
|
|
);
|
|
}
|