33 lines
1.0 KiB
TypeScript
33 lines
1.0 KiB
TypeScript
import { PatternPlaceholder } from "@/components/shadcnblocks/pattern-placeholder";
|
|
import { cn } from "@/lib/utils";
|
|
|
|
interface BackgroundPattern10Props {
|
|
className?: string;
|
|
}
|
|
|
|
const BackgroundPattern10 = ({ className }: BackgroundPattern10Props) => {
|
|
return (
|
|
<section
|
|
className={cn(
|
|
"relative flex min-h-screen w-full items-center justify-center",
|
|
className,
|
|
)}
|
|
>
|
|
{/* Background Pattern */}
|
|
{/* Basic Center Grid (corner hide) Background */}
|
|
<div
|
|
className="absolute inset-0 z-0 bg-[linear-gradient(to_right,_var(--muted)_1px,_transparent_1px),linear-gradient(to_bottom,_var(--muted)_1px,_transparent_1px)] bg-[length:40px_40px]"
|
|
style={{
|
|
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 { BackgroundPattern10 };
|