diff --git a/src/components/Banner.tsx b/src/components/Banner.tsx index 95d667c..515efb6 100644 --- a/src/components/Banner.tsx +++ b/src/components/Banner.tsx @@ -8,6 +8,7 @@ import bannerImg from "@/assets/banner.png"; const FULL_TEXT = "Xiaozhou's Website"; +// Full-screen hero banner with parallax background, typewriter title, and nav cards export default function Banner() { const text = useTypewriter(FULL_TEXT, 100); const parallaxRef = useParallax(0.25); @@ -21,11 +22,13 @@ export default function Banner() { backgroundSize: "cover", }} > + {/* Dark overlay for text readability */}