@@ -27,12 +27,12 @@ export function Hero() {
2727 return (
2828 < div className = "relative bg-hero-gradient " >
2929 < div className = "z-50 flex flex-col space-y-8 justify-center items-center text-center min-h-screen pt-28 sm:pt-24" >
30- < div className = "max-w-md space-y-5" >
31- < h1 className = "text-5xl font-medium uppercase heading-text" >
30+ < div className = "max-w-md space-y-5 px-4 " >
31+ < h1 className = "text-3xl sm:text-4xl md:text- 5xl font-medium uppercase heading-text" >
3232 Search your language
3333 </ h1 >
3434 < form
35- className = "items-center w-full max-w-xs mx-auto form-control outline-none "
35+ className = "items-center w-full max-w-xs mx-auto form-control outline-none"
3636 onSubmit = { handleSearch }
3737 >
3838 < div className = "flex w-full" >
@@ -41,29 +41,29 @@ export function Hero() {
4141 type = "text"
4242 placeholder = "Search for your language"
4343 className = "w-full max-w-xs bg-transparent rounded-tr-none rounded-br-none input input-bordered text-hacktoberfest-light border-hacktoberfest-light
44- focus:border-hacktoberfest-light focus:!outline-none focus-visible:!outline-none placeholder:text-hacktoberfest-light"
44+ focus:border-hacktoberfest-light focus:!outline-none focus-visible:!outline-none placeholder:text-hacktoberfest-light text-sm sm:text-base "
4545 name = "search"
4646 />
4747 </ div >
4848 < button
4949 type = "submit"
50- className = "bg-transparent rounded-tl-none rounded-bl-none group btn btn-square text-hacktoberfest-light border-hacktoberfest-light hover:!border-hacktoberfest-light hover:bg-primary-btn-hover-gradient"
50+ className = "bg-transparent rounded-tl-none rounded-bl-none group btn btn-square text-hacktoberfest-light border-hacktoberfest-light hover:!border-hacktoberfest-light hover:bg-primary-btn-hover-gradient flex-shrink-0 "
5151 >
52- < Search />
52+ < Search size = { 16 } className = "sm:w-5 sm:h-5" />
5353 </ button >
5454 </ div >
5555 </ form >
56- < p className = "font-medium uppercase text-hacktoberfest-light" >
56+ < p className = "font-medium uppercase text-hacktoberfest-light text-sm sm:text-base " >
5757 Or select the programming language you would like to find
5858 repositories for.
5959 </ p >
60- < div className = "flex flex-wrap gap-6 items-center justify-center " >
60+ < div className = "flex flex-wrap gap-4 sm:gap- 6 items-center justify-center" >
6161 { mainLanguages . map ( language => (
6262 < LanguageButton key = { language } language = { language } />
6363 ) ) }
6464 </ div >
6565 < div className = "dropdown dropdown-top" >
66- < Button tabIndex = { 0 } className = "umami--click--otherlangs-button" >
66+ < Button tabIndex = { 0 } className = "umami--click--otherlangs-button text-sm sm:text-base " >
6767 Other languages
6868 </ Button >
6969
@@ -75,7 +75,7 @@ export function Hero() {
7575 < li key = { language } >
7676 < Link
7777 href = { `/repos/${ language . toLowerCase ( ) } ` }
78- className = "text-gray-700 hover:text-white hover:bg-hacktoberfest-blue rounded-lg transition-colors duration-200 px-3 py-2"
78+ className = "text-gray-700 hover:text-white hover:bg-hacktoberfest-blue rounded-lg transition-colors duration-200 px-3 py-2 text-sm "
7979 >
8080 { language }
8181 </ Link >
0 commit comments