Files
reui-blocks/blocks/background-pattern39.tsx
T

37 lines
1.0 KiB
TypeScript

import { PatternPlaceholder } from "@/components/shadcnblocks/pattern-placeholder";
import { cn } from "@/lib/utils";
interface BackgroundPattern39Props {
className?: string;
}
const BackgroundPattern39 = ({ className }: BackgroundPattern39Props) => {
return (
<section
className={cn(
"relative flex min-h-screen w-full items-center justify-center",
className,
)}
>
{/* Background Pattern */}
{/* 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",
}}
/>
<PatternPlaceholder />
</section>
);
};
export { BackgroundPattern39 };