@@ -3,37 +3,36 @@ import Link from "next/link";
3
3
4
4
const Footer = ( ) => {
5
5
return (
6
- < footer className = "relative w-full border-border border-t " >
7
- < div className = "mx-auto px-4 py-12 sm:px-6" >
8
- < div className = "mb-12 grid gap-8 md: grid-cols-3 " >
9
- < div >
10
- < h3 className = "mb-4 flex items-center gap-2 font-semibold text-base text-foreground" >
6
+ < footer className = "relative w-full border-border border-t" >
7
+ < div className = "container mx-auto px-4 py-8 sm:px-6 sm:py-12 lg:px-8 " >
8
+ < div className = "mb-8 grid gap-8 sm:mb-12 sm: grid-cols-2 lg:grid-cols-3 lg:gap-12 " >
9
+ < div className = "sm:col-span-2 lg:col-span-1" >
10
+ < h3 className = "mb-3 flex items-center gap-2 font-semibold text-base text-foreground sm:mb-4 " >
11
11
< span > Better-T Stack</ span >
12
12
</ h3 >
13
- < p className = "text-muted-foreground leading-relaxed" >
13
+ < p className = "mb-4 text-muted-foreground text-sm leading-relaxed sm:mb-6 sm:text-base lg:pr-4 " >
14
14
Type-safe, modern TypeScript scaffolding for full-stack web
15
15
development
16
16
</ p >
17
-
18
- < div className = "mt-4 flex space-x-3" >
17
+ < div className = "flex space-x-4" >
19
18
< Link
20
19
href = "https://github.com/better-t-stack/create-better-t-stack"
21
20
target = "_blank"
22
- className = "text-muted-foreground transition-colors hover:text-foreground"
23
- aria-label = "GitHub"
21
+ className = "inline-flex items-center justify-center rounded-md p-2 text-muted-foreground transition-colors hover:bg-muted hover: text-foreground focus:outline-none focus:ring-2 focus:ring-primary focus:ring-offset-2 "
22
+ aria-label = "GitHub Repository "
24
23
>
25
- < Github size = { 18 } />
24
+ < Github size = { 20 } />
26
25
</ Link >
27
26
< Link
28
27
href = "https://www.npmjs.com/package/create-better-t-stack"
29
28
target = "_blank"
30
- className = "text-muted-foreground transition-colors hover:text-foreground"
31
- aria-label = "NPM"
29
+ className = "inline-flex items-center justify-center rounded-md p-2 text-muted-foreground transition-colors hover:bg-muted hover: text-foreground focus:outline-none focus:ring-2 focus:ring-primary focus:ring-offset-2 "
30
+ aria-label = "NPM Package "
32
31
>
33
32
< svg
34
33
viewBox = "0 0 24 24"
35
- width = "18 "
36
- height = "18 "
34
+ width = "20 "
35
+ height = "20 "
37
36
fill = "currentColor"
38
37
>
39
38
< title > NPM</ title >
@@ -44,15 +43,15 @@ const Footer = () => {
44
43
</ div >
45
44
46
45
< div >
47
- < h3 className = "mb-4 font-semibold text-base text-foreground" >
46
+ < h3 className = "mb-3 font-semibold text-base text-foreground sm:mb-4 " >
48
47
Resources
49
48
</ h3 >
50
- < ul className = "space-y-2.5 text-muted-foreground" >
49
+ < ul className = "space-y-2 text-muted-foreground text-sm sm:space-y-3 sm:text-base " >
51
50
< li >
52
51
< Link
53
52
target = "_blank"
54
53
href = "https://github.com/better-t-stack/create-better-t-stack"
55
- className = "transition-colors hover:text-primary"
54
+ className = "inline-block transition-colors hover:text-primary focus:text-primary focus:outline-none "
56
55
>
57
56
GitHub Repository
58
57
</ Link >
@@ -61,7 +60,7 @@ const Footer = () => {
61
60
< Link
62
61
target = "_blank"
63
62
href = "https://www.npmjs.com/package/create-better-t-stack"
64
- className = "transition-colors hover:text-primary"
63
+ className = "inline-block transition-colors hover:text-primary focus:text-primary focus:outline-none "
65
64
>
66
65
NPM Package
67
66
</ Link >
@@ -70,49 +69,40 @@ const Footer = () => {
70
69
< Link
71
70
target = "_blank"
72
71
href = "https://my-better-t-app-client.pages.dev/"
73
- className = "transition-colors hover:text-primary"
72
+ className = "inline-block transition-colors hover:text-primary focus:text-primary focus:outline-none "
74
73
>
75
74
Demo Application
76
75
</ Link >
77
76
</ li >
78
- { /*
79
- <li>
80
- <Link
81
- target="_blank"
82
- href="https://github.com/better-t-stack/create-better-t-stack#readme"
83
- className="hover:text-primary transition-colors"
84
- >
85
- Documentation
86
- </Link>
87
- </li>
88
- */ }
89
77
</ ul >
90
78
</ div >
91
79
92
80
< div >
93
- < h3 className = "mb-4 font-semibold text-base text-foreground" >
81
+ < h3 className = "mb-3 font-semibold text-base text-foreground sm:mb-4 " >
94
82
Contact
95
83
</ h3 >
96
- < div className = "space-y-2.5 text-muted-foreground" >
97
- < p className = "flex items-center" >
98
- < span className = "mr-2 rounded bg-muted px-2 py-1 text-sm" >
84
+ < div className = "space-y-3 text-muted-foreground text-sm sm:space-y-4 sm:text-base " >
85
+ < div className = "flex flex-col gap-2 sm:flex-row sm: items-center" >
86
+ < span className = "inline-flex w-fit rounded bg-muted px-2 py-1 font-mono text-xs sm: text-sm" >
99
87
$
100
88
</ span >
101
-
102
- </ p >
103
- < p className = "mt-3" >
89
+ < span className = "break-all sm:break-normal" >
90
+
91
+ </ span >
92
+ </ div >
93
+ < p className = "text-sm leading-relaxed sm:text-base" >
104
94
Have questions or feedback? Feel free to reach out or open an
105
95
issue on GitHub.
106
96
</ p >
107
97
</ div >
108
98
</ div >
109
99
</ div >
110
100
111
- < div className = "mt-12 flex flex-col items-center justify-between gap-4 border-border border-t pt-6 sm:flex-row" >
112
- < p className = "text-muted-foreground text-sm" >
101
+ < div className = "flex flex-col items-center justify-between gap-4 border-border border-t pt-6 sm:flex-row sm:gap-6 sm:pt-8 " >
102
+ < p className = "text-center text- muted-foreground text-xs sm:text-left sm: text-sm" >
113
103
© { new Date ( ) . getFullYear ( ) } Better-T Stack. All rights reserved.
114
104
</ p >
115
- < p className = "flex items-center gap-1.5 text-muted-foreground text-sm" >
105
+ < p className = "flex items-center gap-1.5 text-muted-foreground text-xs sm:text- sm" >
116
106
Built with
117
107
< span className = "bg-gradient-to-r from-primary to-primary/80 bg-clip-text font-medium text-transparent" >
118
108
TypeScript
0 commit comments