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>
This commit is contained in:
co-authored by
Marvin Hagemeister
parent
3b68a5d455
commit
e8d1a68b58
@@ -0,0 +1,36 @@
|
||||
import { PageSection } from "$fresh/www/components/PageSection.tsx";
|
||||
import { FancyLink } from "$fresh/www/components/FancyLink.tsx";
|
||||
|
||||
export function CTA() {
|
||||
return (
|
||||
<div
|
||||
class="bg-gradient-to-br from-blue-100 via-green-200 to-yellow-100 pb-32"
|
||||
style="clip-path: polygon(0% 10%, 0% 100%, 100% 100%, 100% 0%)"
|
||||
>
|
||||
<PageSection class="text-center">
|
||||
<div class="flex flex-col gap-4">
|
||||
<img
|
||||
src="/lemon.svg"
|
||||
alt="Illustration of a lemon sliced cleanly in half, suspended in midair as though frozen in time the instant after the cut, the juice flung from the edges"
|
||||
class="w-full max-w-64 mx-auto mb-8"
|
||||
/>
|
||||
<h2 class="text-3xl sm:text-4xl md:text-5xl lg:text-6xl text-gray-600 font-extrabold">
|
||||
Time for a Fresh Start
|
||||
</h2>
|
||||
<div class="flex flex-col justify-start items-center gap-4">
|
||||
<p class="text-xl">
|
||||
Jump right in and build your website with Fresh. Learn everything
|
||||
you need to know in seconds.
|
||||
</p>
|
||||
<FancyLink
|
||||
href="/docs/getting-started"
|
||||
class="mx-auto mt-4"
|
||||
>
|
||||
Get started
|
||||
</FancyLink>
|
||||
</div>
|
||||
</div>
|
||||
</PageSection>
|
||||
</div>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user