Initial import of 1407 block sources under blocks/
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -0,0 +1,40 @@
|
||||
import { PatternPlaceholder } from "@/components/shadcnblocks/pattern-placeholder";
|
||||
import { cn } from "@/lib/utils";
|
||||
|
||||
interface BackgroundPattern38Props {
|
||||
className?: string;
|
||||
}
|
||||
|
||||
const BackgroundPattern38 = ({ className }: BackgroundPattern38Props) => {
|
||||
return (
|
||||
<section
|
||||
className={cn(
|
||||
"relative flex min-h-screen w-full items-center justify-center",
|
||||
className,
|
||||
)}
|
||||
>
|
||||
{/* Background Pattern */}
|
||||
{/* Center 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 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 { BackgroundPattern38 };
|
||||
Reference in New Issue
Block a user