41 lines
1.3 KiB
TypeScript
41 lines
1.3 KiB
TypeScript
import { PatternPlaceholder } from "@/components/shadcnblocks/pattern-placeholder";
|
|||
|
|
import { cn } from "@/lib/utils";
|
||
|
|
|
||
|
|
interface BackgroundPattern33Props {
|
||
|
|
className?: string;
|
||
|
|
}
|
||
|
|
|
||
|
|
const BackgroundPattern33 = ({ className }: BackgroundPattern33Props) => {
|
||
|
|
return (
|
||
|
|
<section
|
||
|
|
className={cn(
|
||
|
|
"relative flex min-h-screen w-full items-center justify-center",
|
||
|
|
className,
|
||
|
|
)}
|
||
|
|
>
|
||
|
|
{/* Background Pattern */}
|
||
|
|
{/* Left Fade 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",
|
||
|
|
WebkitMaskImage:
|
||
|
|
"radial-gradient(ellipse 80% 80% at 100% 0%, #000 50%, transparent 90%)",
|
||
|
|
maskImage:
|
||
|
|
"radial-gradient(ellipse 80% 80% at 100% 0%, #000 50%, transparent 90%)",
|
||
|
|
}}
|
||
|
|
/>
|
||
|
|
|
||
|
|
<PatternPlaceholder />
|
||
|
|
</section>
|
||
|
|
);
|
||
|
|
};
|
||
|
|
|
||
|
|
export { BackgroundPattern33 };
|