import { ArrowUpRight, CirclePlay } from "lucide-react";
import Link from "next/link";
import { cn } from "@/lib/utils";
import AnimatedGridPattern from "@/registry/blocks/radix/hero-07/components/ui/animated-grid-pattern";
import { Badge } from "@/registry/bases/radix/ui/badge";
import { Button } from "@/registry/bases/radix/ui/button";
export default function Hero() {
return (
<div className="relative flex min-h-screen items-center justify-center overflow-hidden px-6">
<AnimatedGridPattern
className={cn(
"mask-[radial-gradient(500px_circle_at_center,white,transparent)]",
"inset-x-0 h-full skew-y-12"
)}
duration={3}
maxOpacity={0.1}
numSquares={30}
/>
<div className="relative z-10 max-w-3xl text-center">
<Badge
asChild
className="rounded-full border-border py-1"
variant="secondary"
>
<Link href="#">
Just released v1.0.0 <ArrowUpRight className="ml-1 size-4" />
</Link>
</Badge>
<h1 className="mx-auto mt-6 max-w-xl font-medium text-4xl tracking-tight sm:text-[2.75rem] md:text-6xl/[1.2]">
Ship better UI without the hassle
</h1>
<p className="mx-auto mt-6 max-w-2xl text-muted-foreground text-xl md:text-2xl/normal">
Instead of starting from scratch every time, use thoughtfully designed
blocks that give you a solid foundation for any UI.
</p>
<div className="mt-12 flex items-center justify-center gap-4">
<Button className="rounded-full" size="lg">
Get Started <ArrowUpRight className="h-5! w-5!" />
</Button>
<Button
className="rounded-full shadow-none"
size="lg"
variant="outline"
>
<CirclePlay className="h-5! w-5!" /> Watch Demo
</Button>
</div>
</div>
</div>
);
}