Initial import of 1407 block sources under blocks/
Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -0,0 +1,37 @@
|
||||
import { PatternPlaceholder } from "@/components/shadcnblocks/pattern-placeholder";
|
||||
import { cn } from "@/lib/utils";
|
||||
|
||||
interface BackgroundPattern28Props {
|
||||
className?: string;
|
||||
}
|
||||
|
||||
const BackgroundPattern28 = ({ className }: BackgroundPattern28Props) => {
|
||||
return (
|
||||
<section
|
||||
className={cn(
|
||||
"relative flex min-h-screen w-full items-center justify-center",
|
||||
className,
|
||||
)}
|
||||
>
|
||||
{/* Background Pattern */}
|
||||
{/* Center Spotlight Background */}
|
||||
<div
|
||||
className="pointer-events-none absolute inset-0 z-0"
|
||||
style={{
|
||||
background: `
|
||||
radial-gradient(
|
||||
circle at center,
|
||||
oklch(from var(--primary) calc(l * 0.85) calc(c * 0.8) h / 0.12) 0%,
|
||||
oklch(from var(--primary) calc(l * 0.8) calc(c * 0.75) h / 0.08) 30%,
|
||||
oklch(from var(--primary) calc(l * 0.75) calc(c * 0.7) h / 0.04) 60%,
|
||||
transparent 80%
|
||||
)
|
||||
`,
|
||||
}}
|
||||
/>
|
||||
<PatternPlaceholder />
|
||||
</section>
|
||||
);
|
||||
};
|
||||
|
||||
export { BackgroundPattern28 };
|
||||
Reference in New Issue
Block a user