37 lines
1.1 KiB
TypeScript
37 lines
1.1 KiB
TypeScript
import { PatternPlaceholder } from "@/components/shadcnblocks/pattern-placeholder";
|
|
import { cn } from "@/lib/utils";
|
|
|
|
interface BackgroundPattern18Props {
|
|
className?: string;
|
|
}
|
|
|
|
const BackgroundPattern18 = ({ className }: BackgroundPattern18Props) => {
|
|
return (
|
|
<section
|
|
className={cn(
|
|
"relative flex min-h-screen w-full items-center justify-center",
|
|
className,
|
|
)}
|
|
>
|
|
{/* Background Pattern */}
|
|
{/* Center Fade Diagonal Cross Grid */}
|
|
<div
|
|
className="absolute inset-0 z-0"
|
|
style={{
|
|
backgroundImage: `
|
|
repeating-linear-gradient(45deg, transparent, transparent 32px, var(--muted) 32px, var(--muted) 33px),
|
|
repeating-linear-gradient(135deg, transparent, transparent 32px, var(--muted) 32px, var(--muted) 33px)
|
|
`,
|
|
WebkitMaskImage:
|
|
"radial-gradient(ellipse 60% 60% at 50% 50%, #000 30%, transparent 70%)",
|
|
maskImage:
|
|
"radial-gradient(ellipse 60% 60% at 50% 50%, #000 30%, transparent 70%)",
|
|
}}
|
|
/>
|
|
<PatternPlaceholder />
|
|
</section>
|
|
);
|
|
};
|
|
|
|
export { BackgroundPattern18 };
|