34 lines
947 B
TypeScript
34 lines
947 B
TypeScript
import { PatternPlaceholder } from "@/components/shadcnblocks/pattern-placeholder";
|
|
import { cn } from "@/lib/utils";
|
|
|
|
interface BackgroundPattern30Props {
|
|
className?: string;
|
|
}
|
|
|
|
const BackgroundPattern30 = ({ className }: BackgroundPattern30Props) => {
|
|
return (
|
|
<section
|
|
className={cn(
|
|
"relative flex min-h-screen w-full items-center justify-center",
|
|
className,
|
|
)}
|
|
>
|
|
{/* Background Pattern */}
|
|
{/* Corner Background */}
|
|
<div
|
|
className="absolute inset-0 z-0"
|
|
style={{
|
|
backgroundImage: `
|
|
radial-gradient(circle 600px at 0% 200px, oklch(from var(--primary) calc(l * 0.7) calc(c * 0.6) h / 0.15), transparent),
|
|
radial-gradient(circle 600px at 100% 200px, oklch(from var(--primary) calc(l * 0.75) calc(c * 0.65) h / 0.12), transparent)
|
|
`,
|
|
}}
|
|
/>
|
|
|
|
<PatternPlaceholder />
|
|
</section>
|
|
);
|
|
};
|
|
|
|
export { BackgroundPattern30 };
|