28 lines
958 B
TypeScript
28 lines
958 B
TypeScript
import { PatternPlaceholder } from "@/components/shadcnblocks/pattern-placeholder";
|
|||
|
|
import { cn } from "@/lib/utils";
|
||
|
|
|
||
|
|
interface BackgroundPattern5Props {
|
||
|
|
className?: string;
|
||
|
|
}
|
||
|
|
|
||
|
|
const BackgroundPattern5 = ({ className }: BackgroundPattern5Props) => {
|
||
|
|
return (
|
||
|
|
<section className={cn("relative min-h-screen w-full", className)}>
|
||
|
|
<PatternPlaceholder />
|
||
|
|
{/* Background Pattern */}
|
||
|
|
{/* Diagonal Fade Grid Right Pattern*/}
|
||
|
|
<div
|
||
|
|
className="absolute inset-0 z-0 bg-[linear-gradient(to_right,_var(--muted)_1px,_transparent_1px),linear-gradient(to_bottom,_var(--muted)_1px,_transparent_1px)] bg-[length:32px_32px]"
|
||
|
|
style={{
|
||
|
|
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%)",
|
||
|
|
}}
|
||
|
|
/>
|
||
|
|
</section>
|
||
|
|
);
|
||
|
|
};
|
||
|
|
|
||
|
|
export { BackgroundPattern5 };
|