37 lines
1.1 KiB
TypeScript
37 lines
1.1 KiB
TypeScript
import { PatternPlaceholder } from "@/components/shadcnblocks/pattern-placeholder";
|
|
import { cn } from "@/lib/utils";
|
|
|
|
interface BackgroundPattern117Props {
|
|
className?: string;
|
|
}
|
|
|
|
const BackgroundPattern117 = ({ className }: BackgroundPattern117Props) => {
|
|
return (
|
|
<section
|
|
className={cn(
|
|
"relative flex min-h-screen w-full items-center justify-center",
|
|
className,
|
|
)}
|
|
>
|
|
{/* Background Pattern */}
|
|
{/* radial gradient with Bottom center fade dot Pattern */}
|
|
|
|
<div
|
|
className="absolute inset-0 z-0"
|
|
style={{
|
|
background:
|
|
"radial-gradient(oklch(from var(--primary) calc(l * 0.8) calc(c * 1.5) h / 1) 1px, transparent 1px)",
|
|
backgroundSize: "3px 3px",
|
|
maskImage:
|
|
"radial-gradient(ellipse 95% 54% at 50% 100%, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.4) 34%, transparent 74%)",
|
|
WebkitMaskImage:
|
|
"radial-gradient(ellipse 95% 54% at 50% 100%, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.4) 34%, transparent 74%)",
|
|
}}
|
|
/>
|
|
<PatternPlaceholder />
|
|
</section>
|
|
);
|
|
};
|
|
|
|
export { BackgroundPattern117 };
|