@@ -4,21 +4,21 @@ import Link from "next/link";
44import Image from "next/image" ;
55import { useEffect , useState } from "react" ;
66
7- const Hero = ( ) => { https: //stackoverflow.com/questions/50968731/same-background-image-gets-displayed-multiple-times-on-the-webpage
7+ const Hero = ( ) => {
88 return (
99 < >
10- { /* xl:mt-[28rem] lg-[400px] md:mt-[250px] xs:mt-[200px] md:pb-[120px] md:pt-[150px] xl:pb-[160px] xl:pt-[180px] 2xl:pb-[200px] 2xl:pt-[210px]*/ }
11-
1210 < div className = "team-bg flex mt-10 md:mt-0 min-h-96" >
13- < section id = "home" className = " w-full md:h-screen flex items-end overflow-hidden bg-team xl:bg-fixed bg-contain xl:bg-cover bg-center bg-no-repeat" >
14- < div className = { "container" } >
15- < div className = "mx-auto max-w-[800px] text-center xl:mb-24" >
16- < h1 className = "mb-5 font-sans text-3xl font-bold leading-tight text-black dark:text-yellow sm:text-4xl sm:leading-tight md:text-5xl md:leading-tight" >
17- Golden Dragons (FTC 772)
18- </ h1 >
19- < p className = "mb-12 text-base !leading-relaxed text-body-color dark:text-yellow sm:text-lg md:text-xl" >
20- { `from the South Carolina Governor's School for Science and Mathematics` }
21- </ p >
11+ < section id = "home" className = "w-full md:h-screen flex items-end overflow-hidden bg-team xl:bg-fixed bg-cover bg-center bg-no-repeat" >
12+ < div className = "container px-4 sm:px-6 lg:px-8" >
13+ < div className = "mx-auto max-w-[800px] text-center mb-6 sm:mb-8 md:mb-12 xl:mb-16" >
14+ < div className = "backdrop-blur-md bg-white/30 dark:bg-black/30 rounded-xl p-4 sm:p-5 md:p-6 border border-white/20" >
15+ < h1 className = "mb-2 sm:mb-3 font-sans text-xl sm:text-2xl md:text-3xl lg:text-4xl font-bold leading-tight text-black dark:text-yellow" >
16+ Golden Dragons (FTC 772)
17+ </ h1 >
18+ < p className = "mb-0 text-xs sm:text-sm md:text-base lg:text-lg !leading-relaxed text-body-color dark:text-yellow px-2 sm:px-0" >
19+ { `from the South Carolina Governor's School for Science and Mathematics` }
20+ </ p >
21+ </ div >
2222 </ div >
2323 </ div >
2424 </ section >
0 commit comments