@@ -12,15 +12,15 @@ export default function HomePage() {
12
12
return (
13
13
< main className = "flex flex-col items-center justify-center min-h-screen bg-fd-background text-fd-foreground" >
14
14
{ /* 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" >
16
16
{ /* Decorative background pattern */ }
17
17
< div className = "absolute inset-0 bg-[radial-gradient(ellipse_at_center,_var(--color-fd-accent)_0%,_transparent_70%)] opacity-50" />
18
18
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" >
21
21
{ t ( 'title' ) }
22
22
</ 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" >
24
24
{ t . rich ( 'subtitle' , {
25
25
strong : ( chunks ) => (
26
26
< strong className = "font-semibold text-fd-foreground" >
@@ -30,24 +30,24 @@ export default function HomePage() {
30
30
} ) }
31
31
</ div >
32
32
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 " >
34
34
< Link
35
35
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"
37
37
>
38
38
{ t ( 'getStarted' ) }
39
39
</ Link >
40
40
< Link
41
41
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"
43
43
>
44
44
{ t ( 'learn' ) }
45
45
</ Link >
46
46
</ div >
47
47
48
48
< button
49
49
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"
51
51
type = "button"
52
52
// onClick={() => navigator.clipboard.writeText('npx create-next-app@latest ')}
53
53
>
@@ -58,16 +58,16 @@ export default function HomePage() {
58
58
</ section >
59
59
60
60
{ /* 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" >
64
64
{ t ( 'featuresTitle' ) }
65
65
</ 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" >
67
67
{ t ( 'featuresSubtitle' ) }
68
68
</ p >
69
69
</ 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 " >
71
71
{ features . map (
72
72
(
73
73
feature : { title : string ; desc : string ; href : string } ,
@@ -77,21 +77,21 @@ export default function HomePage() {
77
77
key = { feature . title }
78
78
href = { feature . href }
79
79
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"
81
81
>
82
82
{ /* Hover effect background */ }
83
83
< div className = "absolute inset-0 bg-purple-50 dark:bg-purple-900/10 opacity-0 group-hover:opacity-100 transition-opacity duration-300" />
84
84
85
85
< 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" >
87
87
{ feature . title }
88
88
</ 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" >
90
90
{ feature . desc }
91
91
</ div >
92
92
93
93
{ /* 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" >
95
95
< span className = "text-sm font-semibold mr-2" >
96
96
{ feature . href . startsWith ( '/' ) ? 'Explore' : 'Visit' }
97
97
</ span >
0 commit comments