@@ -23,7 +23,7 @@ function zip(...arrays: (string[] | number[])[]): (string | number)[][] {
2323
2424function IntroCard ( ) {
2525 return (
26- < div className = "flex flex-col h-full align-middle justify-center m-5 " >
26+ < div className = "flex flex-col h-full align-middle justify-center m-2 translate-y-[-8px] " >
2727 < motion . div
2828 initial = { { opacity : 0 , translateY : 20 } }
2929 animate = { {
@@ -33,13 +33,22 @@ function IntroCard() {
3333 } }
3434 exit = { { opacity : 0 , translateY : 20 } }
3535 >
36- < div className = "bg-night-sky-950 text-dawn-pink-100 rounded-3xl px-5 py-2 w-fit mx-auto" >
36+ < div className = "dark: bg-night-sky-950 bg-dawn-pink-100 dark: text-dawn-pink-100 text-night-sky-950 rounded-3xl px-5 py-2 w-fit mx-auto" >
3737 < h1 className = "text-[clamp(2rem,6vw,4rem)] text-center font-serif " >
3838 Andrew Scherer
3939 </ h1 >
4040 < h2 className = "text-center text-[clamp(1rem,1vw,2rem)]" >
4141 Physical Oceanographer < br /> Software Developer
4242 </ h2 >
43+ < div className = "flex justify-center mt-2" >
44+ < Link to = "/about" className = "group" resetScroll >
45+ < div className = "rounded dark:bg-dawn-pink-100 bg-night-sky-950 px-4 dark:text-night-sky-950 text-dawn-pink-100" >
46+ < span className = "group-hover:font-bold after:content-[attr(title)] after:font-bold after:h-0 after:block after:invisible after:overflow-hidden after:bg-transparent bg-transparent" >
47+ Learn More
48+ </ span >
49+ </ div >
50+ </ Link >
51+ </ div >
4352 </ div >
4453 </ motion . div >
4554 </ div >
@@ -62,7 +71,7 @@ function Starfield({ configs }: { configs: StarfieldConfig[] }) {
6271
6372 const { width : widthInit } = useWidth ( ) ;
6473 const { height : heightInit } = useHeight ( ) ;
65- const width = widthInit || 1920 ; // Fallback to 1920 if width is not available
74+ const width = widthInit || 10000 ; // Fallback to 10000 if width is not available
6675 const height = heightInit || 400 ; // Fallback to 400 if height is not available
6776 const prefersReducedMotion = usePrefersReducedMotion ( ) ;
6877
@@ -370,7 +379,7 @@ function Waves({
370379 "10 0 10-10 20-10 2.34 0 4.25 1.9 4.25 4.25 0-1.03-.84-1.87-1.88-1.87-2.1 0-3.81 1.7-3.81 3.81 0 2.1 1.71 3.81 3.81 3.81 " ;
371380 const waveWidth = 125 ;
372381 const { width : widthInit } = useWidth ( ) ;
373- const width = widthInit || 600 ; // Fallback to 600 if width is not available
382+ const width = widthInit || 5000 ; // Fallback to 10000 if width is not available
374383 const waveRepeat = Math . max ( Math . ceil ( width / waveWidth ) , 10 ) ;
375384 const path = `M0 0C10 0 10-10 20-10c2.35 0 4.25 1.9 4.25 4.25 0-1.03-.84-1.87-1.87-1.87-2.11 0-3.81 1.7-3.81 3.81 0 2.1 1.7 3.81 3.81 3.81 ${ wavePath . repeat ( waveRepeat ) } ` ;
376385 const color = `${ backgroundColor || "" } ${ strokeColor || "" } ` ;
@@ -575,10 +584,10 @@ function Background() {
575584 < NightSky />
576585 </ div >
577586 < div className = "absolute top-90 left-0" >
578- < div className = "flex h-30 justify-start w-full absolute animate-waves-top motion-reduce:animate-none motion-reduce:-translate-20" >
587+ < div className = "flex h-30 justify-start w-full absolute animate-waves-top delay-1000 motion-reduce:animate-none motion-reduce:-translate-20" >
579588 < Waves backgroundColor = "fill-ocean-500" />
580589 </ div >
581- < div className = "flex h-30 justify-start w-full absolute animate-waves-middle motion-reduce:animate-none motion-reduce:-translate-10" >
590+ < div className = "flex h-30 justify-start w-full absolute animate-waves-middle delay-1000 motion-reduce:animate-none motion-reduce:-translate-10" >
582591 < Waves backgroundColor = "fill-ocean-600" />
583592 </ div >
584593 < div className = "flex h-30 justify-start w-full absolute animate-waves-bottom" >
0 commit comments