Files
sweet/www/components/homepage/DenoSection.tsx
T
Josh CollinsworthandMarvin Hagemeister e8d1a68b58 www: refresh home page (#2418)
Overhauls the Fresh homepage with a new design, new demos, and new
sections highlighting Fresh's capabilities.

---------

Co-authored-by: Marvin Hagemeister <marvin@deno.com>
2024-05-17 16:08:55 +02:00

35 lines
1.1 KiB
TypeScript

import { PageSection } from "$fresh/www/components/PageSection.tsx";
import { FancyLink } from "$fresh/www/components/FancyLink.tsx";
import { SideBySide } from "$fresh/www/components/SideBySide.tsx";
import { SectionHeading } from "$fresh/www/components/homepage/SectionHeading.tsx";
export function DenoSection() {
return (
<PageSection>
<SideBySide reverseOnDesktop={true}>
<img
src="/illustration/lemon-squash.svg"
class="w-full h-auto mx-auto max-w-[24rem] mt-8 mb-4"
alt="Deno is drinking Fresh lemon squash"
/>
<div class="flex flex-col gap-4">
<SectionHeading>
Built on Deno
</SectionHeading>
<p>
Deno is the next evolution of server-side JavaScript, with stronger
security, a robust built-in toolchain, and zero-config TypeScript
support. (It's faster than Node, too.)
</p>
<FancyLink
href="https://deno.com"
class="mt-4"
>
Learn more about Deno
</FancyLink>
</div>
</SideBySide>
</PageSection>
);
}