@@ -24,18 +24,18 @@ type Props = { locale: Locale; dict: Dictionary };
2424
2525export function HomeHero ( { locale, dict } : Props ) {
2626 return (
27- < section className = "relative overflow-hidden px-4 pb-20 pt-12 sm:px-6 md:pb-28 md:pt-16 lg:px-8" >
27+ < section className = "relative overflow-hidden px-4 pb-16 pt-10 sm:px-6 sm:pb-20 sm:pt-12 md:pb-28 md:pt-16 lg:px-8" >
2828 < div className = "mx-auto max-w-5xl" >
29- < div className = "mb-6 flex items-center justify-center" >
29+ < div className = "mb-5 flex items-center justify-center sm:mb-6 " >
3030 < span className = "chip-accent" >
3131 < SparkleIcon size = { 12 } />
3232 { dict . home . heroEyebrow }
3333 </ span >
3434 </ div >
3535
36- < h1 className = "display-title text-balance text-center text-ink" >
36+ < h1 className = "display-title mx-auto max-w-[13em] text-balance text-center text-ink sm:max-w-none " >
3737 { dict . home . heroTitleLine1 }
38- < span className = "mx-2 inline-block align-baseline text-ink/90" >
38+ < span className = "mx-1 inline-block align-baseline text-ink/90 sm:mx-2 " >
3939 { dict . home . heroTitleHighlight }
4040 </ span >
4141 < br />
@@ -44,16 +44,16 @@ export function HomeHero({ locale, dict }: Props) {
4444 </ span >
4545 </ h1 >
4646
47- < p className = "mx-auto mt-6 max-w-2xl text-balance text-center text-[16px ] leading-relaxed text-ink-soft md:text-[17px]" >
47+ < p className = "mx-auto mt-5 max-w-2xl text-balance text-center text-[15px ] leading-relaxed text-ink-soft sm:mt-6 md:text-[17px]" >
4848 { dict . home . heroSubtitle }
4949 </ p >
5050
51- < div className = "mt-8 flex flex-wrap items-center justify-center gap-3" >
52- < LinkButton href = { localePath ( locale , 'generator' ) } variant = "primary" size = "lg" >
51+ < div className = "mt-7 flex flex-col items-center justify-center gap-3 min-[430px]:flex-row sm:mt-8 " >
52+ < LinkButton href = { localePath ( locale , 'generator' ) } variant = "primary" size = "lg" className = "w-full max-w-[280px] min-[430px]:w-auto" >
5353 { dict . home . heroCtaPrimary }
5454 < ArrowRightIcon size = { 16 } />
5555 </ LinkButton >
56- < LinkButton href = { localePath ( locale , 'guide' ) } variant = "glass" size = "lg" >
56+ < LinkButton href = { localePath ( locale , 'guide' ) } variant = "glass" size = "lg" className = "w-full max-w-[280px] min-[430px]:w-auto" >
5757 { dict . home . heroCtaSecondary }
5858 </ LinkButton >
5959 </ div >
@@ -69,11 +69,11 @@ export function HomeHero({ locale, dict }: Props) {
6969 </ span >
7070 </ div >
7171
72- < div className = "relative mt-16 md:mt-20" >
72+ < div className = "relative mt-10 sm:mt- 16 md:mt-20" >
7373 < HeroVisual locale = { locale } />
7474 </ div >
7575
76- < div className = "mt-12 grid grid-cols-1 gap-3 sm:grid-cols-3" >
76+ < div className = "mt-10 grid grid-cols-1 gap-3 sm:mt-12 sm:grid-cols-3" >
7777 < StatCard value = { dict . home . heroStatsValue1 } label = { dict . home . heroStatsLabel1 } />
7878 < StatCard value = { dict . home . heroStatsValue2 } label = { dict . home . heroStatsLabel2 } />
7979 < StatCard value = { dict . home . heroStatsValue3 } label = { dict . home . heroStatsLabel3 } />
@@ -86,7 +86,7 @@ export function HomeHero({ locale, dict }: Props) {
8686function StatCard ( { value, label } : { value : string ; label : string } ) {
8787 return (
8888 < div className = "rounded-[22px] border border-[color:var(--line)] bg-white/70 px-6 py-5 text-center backdrop-blur-xl" >
89- < div className = "text-[28px] font-semibold tracking-tight text-ink md:text-[32px]" style = { { letterSpacing : '-0.02em' } } >
89+ < div className = "text-[28px] font-semibold text-ink md:text-[32px]" >
9090 { value }
9191 </ div >
9292 < div className = "mt-1 text-[12px] uppercase tracking-wider text-ink-mute" > { label } </ div >
0 commit comments