@@ -12,15 +12,15 @@ export default function HomePage() {
1212 return (
1313 < main className = "flex flex-col items-center justify-center min-h-screen bg-fd-background text-fd-foreground" >
1414 { /* Hero Section */ }
15- < section className = "w-full flex flex-col items-center pt-20 pb-16 text-center relative overflow-hidden bg-gradient-to-b from-fd-background to-fd-muted" >
15+ < section className = "w-full flex flex-col items-center pt-12 pb-10 text-center relative overflow-hidden bg-gradient-to-b from-fd-background to-fd-muted" >
1616 { /* Decorative background pattern */ }
1717 < div className = "absolute inset-0 bg-[radial-gradient(ellipse_at_center,_var(--color-fd-accent)_0%,_transparent_70%)] opacity-50" />
1818
19- < div className = "relative z-10 max-w-6xl px-4" >
20- < h1 className = "text-5xl md:text-7xl font-extrabold mb-6 text-fd-foreground leading-tight" >
19+ < div className = "relative z-10 max-w-5xl px-4" >
20+ < h1 className = "text-4xl md:text-6xl font-extrabold mb-4 text-fd-foreground leading-tight" >
2121 { t ( 'title' ) }
2222 </ h1 >
23- < div className = "text-xl md:text-2xl text-fd-muted-foreground max-w-4xl mb-10 leading-relaxed" >
23+ < div className = "text-lg md:text-xl text-fd-muted-foreground max-w-3xl mb-8 leading-relaxed" >
2424 { t . rich ( 'subtitle' , {
2525 strong : ( chunks ) => (
2626 < strong className = "font-semibold text-fd-foreground" >
@@ -30,24 +30,24 @@ export default function HomePage() {
3030 } ) }
3131 </ div >
3232
33- < div className = "flex flex-col sm:flex-row gap-6 justify-center mb-8 " >
33+ < div className = "flex flex-col sm:flex-row gap-4 justify-center mb-6 " >
3434 < Link
3535 href = "/docs"
36- className = "px-8 py-4 rounded-xl bg-fd-primary text-fd-primary-foreground font-semibold text-lg shadow-lg hover:shadow-xl transition-all duration-300 hover:scale-105"
36+ className = "px-6 py-3 rounded-xl bg-fd-primary text-fd-primary-foreground font-semibold text-base shadow-lg hover:shadow-xl transition-all duration-300 hover:scale-105"
3737 >
3838 { t ( 'getStarted' ) }
3939 </ Link >
4040 < Link
4141 href = "/learn"
42- className = "px-8 py-4 rounded-xl bg-fd-card border-2 border-fd-border text-fd-foreground font-semibold text-lg shadow-lg hover:shadow-xl transition-all duration-300 hover:scale-105 hover:border-purple-400"
42+ className = "px-6 py-3 rounded-xl bg-fd-card border-2 border-fd-border text-fd-foreground font-semibold text-base shadow-lg hover:shadow-xl transition-all duration-300 hover:scale-105 hover:border-purple-400"
4343 >
4444 { t ( 'learn' ) }
4545 </ Link >
4646 </ div >
4747
4848 < button
4949 aria-label = "Copy npx command for creating a new Next.js app"
50- className = "group mt-4 px-6 py-3 bg-fd-secondary rounded-lg text-sm font-mono text-fd-muted-foreground border border-fd-border hover:border-purple-400 hover:bg-fd-accent transition-all duration-300 hover:scale-105 relative overflow-hidden"
50+ className = "group mt-3 px-5 py-2 bg-fd-secondary rounded-lg text-xs font-mono text-fd-muted-foreground border border-fd-border hover:border-purple-400 hover:bg-fd-accent transition-all duration-300 hover:scale-105 relative overflow-hidden"
5151 type = "button"
5252 // onClick={() => navigator.clipboard.writeText('npx create-next-app@latest ')}
5353 >
@@ -58,16 +58,16 @@ export default function HomePage() {
5858 </ section >
5959
6060 { /* Features Section */ }
61- < section className = "w-full max-w-6xl px-6 py-16 " >
62- < div className = "flex flex-col md:flex-row md:items-end md:justify-between mb-12 gap-4" >
63- < h2 className = "text-4xl md:text-5xl font-bold text-fd-foreground" >
61+ < section className = "w-full max-w-5xl px-6 py-12 " >
62+ < div className = "flex flex-col md:flex-row md:items-end md:justify-between mb-8 gap-4" >
63+ < h2 className = "text-3xl md:text-4xl font-bold text-fd-foreground" >
6464 { t ( 'featuresTitle' ) }
6565 </ h2 >
66- < p className = "text-xl text-fd-muted-foreground max-w-md" >
66+ < p className = "text-lg text-fd-muted-foreground max-w-md" >
6767 { t ( 'featuresSubtitle' ) }
6868 </ p >
6969 </ div >
70- < div className = "grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-8 " >
70+ < div className = "grid grid-cols-1 md:grid-cols-2 lg:grid-cols-3 gap-6 " >
7171 { features . map (
7272 (
7373 feature : { title : string ; desc : string ; href : string } ,
@@ -77,21 +77,21 @@ export default function HomePage() {
7777 key = { feature . title }
7878 href = { feature . href }
7979 target = { feature . href . startsWith ( '/' ) ? '_self' : '_blank' }
80- className = "group block p-8 rounded-2xl border border-fd-border bg-fd-card shadow-lg hover:shadow-2xl transition-all duration-300 hover:scale-105 hover:border-purple-400 relative overflow-hidden"
80+ className = "group block p-6 rounded-2xl border border-fd-border bg-fd-card shadow-lg hover:shadow-2xl transition-all duration-300 hover:scale-105 hover:border-purple-400 relative overflow-hidden"
8181 >
8282 { /* Hover effect background */ }
8383 < div className = "absolute inset-0 bg-purple-50 dark:bg-purple-900/10 opacity-0 group-hover:opacity-100 transition-opacity duration-300" />
8484
8585 < div className = "relative z-10" >
86- < div className = "text-2xl font-bold mb-4 text-fd-foreground group-hover:text-purple-600 transition-colors duration-300" >
86+ < div className = "text-xl font-bold mb-3 text-fd-foreground group-hover:text-purple-600 transition-colors duration-300" >
8787 { feature . title }
8888 </ div >
89- < div className = "text-fd-muted-foreground text-lg leading-relaxed group-hover:text-fd-foreground transition-colors duration-300" >
89+ < div className = "text-fd-muted-foreground text-base leading-relaxed group-hover:text-fd-foreground transition-colors duration-300" >
9090 { feature . desc }
9191 </ div >
9292
9393 { /* Link arrow indicator */ }
94- < div className = "mt-6 flex items-center text-purple-600 opacity-0 group-hover:opacity-100 transition-all duration-300 transform translate-x-0 group-hover:translate-x-2" >
94+ < div className = "mt-4 flex items-center text-purple-600 opacity-0 group-hover:opacity-100 transition-all duration-300 transform translate-x-0 group-hover:translate-x-2" >
9595 < span className = "text-sm font-semibold mr-2" >
9696 { feature . href . startsWith ( '/' ) ? 'Explore' : 'Visit' }
9797 </ span >
0 commit comments