Fix CTA graphic (#2446)

This commit is contained in:
Josh Collinsworth
2024-05-22 14:30:45 -05:00
committed by GitHub
parent 8ef3e89a8c
commit 120d867d2d
+4 -5
View File
@@ -1,21 +1,20 @@
import { PageSection } from "$fresh/www/components/PageSection.tsx";
import { FancyLink } from "$fresh/www/components/FancyLink.tsx";
export function CTA() {
return (
<div class="relative mt-16">
<PageSection class="text-center bg-gradient-to-br from-blue-100 via-green-200 to-yellow-100 pb-32 md:pb-48 before:w-full before:bg-white before:h-16 md:before:h-32 xl:before:h-48 before:[clip-path:polygon(0%_0%,_100%_0%,_0%_100%)] z-0 before:absolute before:top-0 before:left-0">
<div class="text-center bg-gradient-to-br from-blue-100 via-green-200 to-yellow-100 pb-32 md:pb-48 xl:pb-56 !my-0 before:w-full before:bg-white before:h-16 md:before:h-32 xl:before:h-48 before:[clip-path:polygon(0%_0%,_100%_0%,_0%_100%)] z-0 before:absolute before:top-0 before:left-0">
<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-48 sm:max-w-64 -mt-24 mx-auto mb-8 relative z-0"
class="w-full max-w-48 sm:max-w-64 -mt-24 mx-auto mb-12 relative z-0"
/>
<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">
<p class="text-xl text-balance max-w-prose">
Jump right in and build your website with Fresh. Learn everything
you need to know in seconds.
</p>
@@ -27,7 +26,7 @@ export function CTA() {
</FancyLink>
</div>
</div>
</PageSection>
</div>
</div>
);
}