diff --git a/app/components/ui/glow.tsx b/app/components/ui/glow.tsx new file mode 100644 index 0000000..5860008 --- /dev/null +++ b/app/components/ui/glow.tsx @@ -0,0 +1,17 @@ +import { cva, type VariantProps } from 'class-variance-authority'; +import { cn } from '~/lib/utils'; + +const glowVariants = cva('pointer-events-none absolute rounded-full', { + variants: { + intensity: { + soft: 'bg-primary/5 blur-[120px]', + strong: 'bg-primary/10 blur-[140px]', + }, + }, + defaultVariants: { intensity: 'soft' }, +}); + +// Decorative brand glow; position and size come from className +export function Glow({ intensity, className }: VariantProps & { className?: string }) { + return