Created
August 3, 2024 07:15
-
-
Save mattiapomelli/a1cc7ce6447e6613d997b2aa54e5a8ce to your computer and use it in GitHub Desktop.
Reweb's Hero Section
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { ArrowRight } from "lucide-react"; | |
import Link from "next/link"; | |
import Image from "next/image"; | |
import { Button } from "@/components/ui/button"; | |
export function HeroCentered() { | |
return ( | |
<section className="container flex flex-col items-center gap-8 pb-28 pt-20 sm:gap-10"> | |
<div className="flex cursor-pointer items-center gap-1 rounded-full border bg-secondary px-3 py-0.5 hover:bg-secondary/60"> | |
<span className="text-sm text-secondary-foreground">Announcing our seed round</span> | |
<ArrowRight className="w-4" /> | |
</div> | |
<h1 className="max-w-2xl text-center font-heading text-4xl font-semibold sm:text-5xl sm:leading-tight"> | |
Build beautiful landing pages in minutes with Reweb | |
</h1> | |
<p className="max-w-lg text-center text-lg text-muted-foreground sm:text-xl"> | |
Build at the speed of no-code and then export to Next.js & Tailwind code for full | |
customization. | |
</p> | |
<div className="grid grid-cols-2 gap-3"> | |
<Button | |
size="lg" | |
variant="outline" | |
asChild | |
className="h-12 border-border text-base sm:h-14 sm:px-10" | |
> | |
<Link href="#">Learn More</Link> | |
</Button> | |
<Button size="lg" asChild className="h-12 text-base sm:h-14 sm:px-10"> | |
<Link href="#">Get Started</Link> | |
</Button> | |
</div> | |
<div className="relative sm:mt-8"> | |
<Image | |
src="/images/hero-saas-dashboard.png" | |
alt="SaaS Dashboard" | |
className="rounded-xl border border-border shadow-lg" | |
width={1000} | |
height={698} | |
/> | |
<div className="absolute inset-0 -z-10 bg-primary/20 [filter:blur(180px)]" /> | |
</div> | |
</section> | |
); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment