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 BackgroundPattern113Props {
|
|
className?: string;
|
|
}
|
|
|
|
const BackgroundPattern113 = ({ className }: BackgroundPattern113Props) => {
|
|
return (
|
|
<section
|
|
className={cn(
|
|
"relative flex min-h-screen w-full items-center justify-center",
|
|
className,
|
|
)}
|
|
>
|
|
{/* Background Pattern */}
|
|
{/* radial gradient with bottom right 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 at 100% 100%, rgba(0, 0, 0, 1), transparent 40%)",
|
|
WebkitMaskImage:
|
|
"radial-gradient(ellipse at 100% 100%, rgba(0, 0, 0, 1), transparent 40%)",
|
|
}}
|
|
/>
|
|
<PatternPlaceholder />
|
|
</section>
|
|
);
|
|
};
|
|
|
|
export { BackgroundPattern113 };
|