41 lines
1.2 KiB
TypeScript
41 lines
1.2 KiB
TypeScript
import { PatternPlaceholder } from "@/components/shadcnblocks/pattern-placeholder";
|
|
import { cn } from "@/lib/utils";
|
|
|
|
interface BackgroundPattern40Props {
|
|
className?: string;
|
|
}
|
|
|
|
const BackgroundPattern40 = ({ className }: BackgroundPattern40Props) => {
|
|
return (
|
|
<section
|
|
className={cn(
|
|
"relative flex min-h-screen w-full items-center justify-center",
|
|
className,
|
|
)}
|
|
>
|
|
{/* Background Pattern */}
|
|
{/* Right Fade White Grid with Dots Background */}
|
|
<div
|
|
className="absolute inset-0 z-0"
|
|
style={{
|
|
backgroundImage: `
|
|
linear-gradient(to right, var(--muted) 1px, transparent 1px),
|
|
linear-gradient(to bottom, var(--muted) 1px, transparent 1px),
|
|
radial-gradient(circle, oklch(from var(--foreground) l c h / 0.1) 1px, transparent 1px)
|
|
`,
|
|
backgroundSize: "20px 20px, 20px 20px, 20px 20px",
|
|
backgroundPosition: "0 0, 0 0, 0 0",
|
|
WebkitMaskImage:
|
|
"radial-gradient(ellipse 80% 80% at 0% 0%, #000 50%, transparent 90%)",
|
|
maskImage:
|
|
"radial-gradient(ellipse 80% 80% at 0% 0%, #000 50%, transparent 90%)",
|
|
}}
|
|
/>
|
|
|
|
<PatternPlaceholder />
|
|
</section>
|
|
);
|
|
};
|
|
|
|
export { BackgroundPattern40 };
|