@@ -23,12 +23,14 @@ export function Hero() {
2323 return (
2424 < section className = "relative flex min-h-[calc(100svh-4rem)] flex-col items-center justify-center overflow-hidden px-4" >
2525 < div className = "pointer-events-none absolute inset-0 -z-10" >
26- < div className = "absolute inset-0 bg-[radial-gradient(ellipse_at_top,_var(--tw-gradient-stops))] from-muted/50 via-transparent to-transparent" />
26+ < div className = "absolute inset-0 bg-[radial-gradient(ellipse_at_top,_var(--tw-gradient-stops))] from-muted/50 via-transparent to-transparent dark:from-muted/50" />
27+ < div className = "absolute inset-0 bg-[radial-gradient(ellipse_at_top_left,_var(--tw-gradient-stops))] from-primary/[0.06] via-transparent to-transparent dark:from-primary/[0.03]" />
28+ < div className = "absolute inset-0 bg-[radial-gradient(ellipse_at_top_right,_var(--tw-gradient-stops))] from-violet-500/[0.04] via-transparent to-transparent dark:from-violet-500/[0.02]" />
2729
2830 { [ 600 , 400 , 200 ] . map ( ( size , index ) => (
2931 < motion . div
3032 key = { size }
31- className = "absolute top-1/4 left-1/2 rounded-full border border-border/20"
33+ className = "absolute top-1/4 left-1/2 rounded-full border border-primary/10 dark:border- border/20"
3234 style = { {
3335 width : size ,
3436 height : size ,
@@ -48,7 +50,7 @@ export function Hero() {
4850 ) ) }
4951
5052 < motion . div
51- className = "absolute top-1/6 left-1/2 h-[500px] w-[800px] -translate-x-1/2 rounded-full bg-primary/5 blur-[120px]"
53+ className = "absolute top-1/6 left-1/2 h-[500px] w-[800px] -translate-x-1/2 rounded-full bg-primary/8 blur-[120px] dark:bg-primary/5 "
5254 animate = { {
5355 scale : [ 1 , 1.2 , 1 ] ,
5456 opacity : [ 0.3 , 0.6 , 0.3 ] ,
@@ -63,7 +65,7 @@ export function Hero() {
6365 { floatingParticles . map ( ( particle ) => (
6466 < motion . div
6567 key = { particle . id }
66- className = "absolute rounded-full bg-foreground/20"
68+ className = "absolute rounded-full bg-primary/25 dark:bg- foreground/20"
6769 style = { {
6870 width : particle . size ,
6971 height : particle . size ,
@@ -86,7 +88,7 @@ export function Hero() {
8688
8789 < div className = "mx-auto flex max-w-4xl flex-col items-center text-center" >
8890 < motion . div
89- className = "mb-8 flex items-center gap-3 rounded-full border border-border/60 bg-muted/30 px-4 py-2"
91+ className = "mb-8 flex items-center gap-3 rounded-full border border-primary/15 bg-primary/[0.06] px-4 py-2 shadow-sm dark:border-border/60 dark:bg-muted/30 dark:shadow-none "
9092 initial = { { opacity : 0 , y : 20 , scale : 0.9 } }
9193 animate = { { opacity : 1 , y : 0 , scale : 1 } }
9294 transition = { { duration : 0.6 , ease : "easeOut" } }
@@ -112,7 +114,7 @@ export function Hero() {
112114 { t ( 'Edit videos,' ) }
113115 < br />
114116 < motion . span
115- className = "text- muted-foreground inline-block "
117+ className = "inline-block bg-gradient-to-r from-muted-foreground to-muted-foreground/70 bg-clip- text text-transparent dark:from- muted-foreground dark:to-muted-foreground "
116118 initial = { { opacity : 0 , y : 20 } }
117119 animate = { { opacity : 1 , y : 0 } }
118120 transition = { { duration : 0.7 , delay : 0.35 , ease : "easeOut" } }
0 commit comments