src/registry/blocks/radix/cta-06/components/cta.tsx
"use client";
import { NeuroNoise } from "@paper-design/shaders-react";
import { ArrowUpRight } from "lucide-react";
import { useTheme } from "next-themes";
import { Button } from "@/registry/bases/radix/ui/button";
const CTA = () => {
const { resolvedTheme } = useTheme();
return (
<div className="px-0 py-16 sm:px-6">
<div className="relative mx-auto max-w-5xl overflow-hidden border-y p-14 shadow-muted sm:rounded-xl sm:border-x sm:shadow-lg/5">
<NeuroNoise
brightness={0}
className="mask-l-from-30% sm:mask-l-from-10% absolute inset-0"
colorBack={
resolvedTheme === "light" ? "rgba(0, 0, 0, 0.08)" : undefined
}
colorFront={
resolvedTheme === "light" ? "rgba(0, 0, 0, 0.08)" : undefined
}
colorMid={
resolvedTheme === "light"
? "rgba(0, 0, 0, 0.5)"
: "rgba(255, 255, 255, 0.85)"
}
contrast={1}
height={720}
scale={0.55}
speed={1}
width={1280}
/>
<div className="relative isolate">
<h2 className="text-balance font-medium text-4xl text-foreground tracking-tighter md:leading-tight lg:text-[2.75rem]">
Experience the difference
</h2>
<p className="mt-4 text-balance text-muted-foreground text-xl/normal md:mt-2.5 lg:text-[1.4rem]/normal">
Join thousands of developers using our premium component library to
ship beautiful UIs in minutes, not hours.
</p>
<div className="mt-10 flex flex-col gap-3 sm:flex-row">
<Button size="lg">
Get Started <ArrowUpRight />
</Button>
<Button size="lg" variant="outline">
View Components
</Button>
</div>
</div>
</div>
</div>
);
};
export default CTA;





























