37 lines
1.0 KiB
TypeScript
37 lines
1.0 KiB
TypeScript
import { PatternPlaceholder } from "@/components/shadcnblocks/pattern-placeholder";
|
|
import { cn } from "@/lib/utils";
|
|
|
|
interface BackgroundPattern31Props {
|
|
className?: string;
|
|
}
|
|
|
|
const BackgroundPattern31 = ({ className }: BackgroundPattern31Props) => {
|
|
return (
|
|
<section
|
|
className={cn(
|
|
"relative flex min-h-screen w-full items-center justify-center",
|
|
className,
|
|
)}
|
|
>
|
|
{/* Background Pattern */}
|
|
{/* Circuit Board Background */}
|
|
<div
|
|
className="pointer-events-none absolute inset-0 z-0"
|
|
style={{
|
|
backgroundImage: `
|
|
linear-gradient(90deg, var(--muted) 1px, transparent 1px),
|
|
linear-gradient(180deg, var(--muted) 1px, transparent 1px),
|
|
linear-gradient(90deg, var(--muted) 1px, transparent 1px),
|
|
linear-gradient(180deg, var(--muted) 1px, transparent 1px)
|
|
`,
|
|
backgroundSize: "50px 50px, 50px 50px, 10px 10px, 10px 10px",
|
|
}}
|
|
/>
|
|
|
|
<PatternPlaceholder />
|
|
</section>
|
|
);
|
|
};
|
|
|
|
export { BackgroundPattern31 };
|