@@ -2,86 +2,135 @@ const Footer = () => {
2
2
const currentYear = new Date ( ) . getFullYear ( ) ;
3
3
4
4
return (
5
- < footer className = "bg-gray-50 border-t" >
6
- < div className = "max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-8" >
5
+ < footer className = "bg-gradient-to-r from-background via-card to-background border-t border-border relative theme-transition" >
6
+ { /* Background decoration */ }
7
+ < div className = "absolute inset-0 opacity-5 dark:opacity-10" >
8
+ < div className = "absolute bottom-0 left-1/4 w-48 h-48 bg-primary rounded-full blur-3xl" > </ div >
9
+ < div className = "absolute bottom-0 right-1/4 w-48 h-48 bg-accent rounded-full blur-3xl" > </ div >
10
+ </ div >
11
+
12
+ < div className = "max-w-7xl mx-auto px-4 sm:px-6 lg:px-8 py-12 relative z-10" >
7
13
< div className = "grid grid-cols-1 md:grid-cols-4 gap-8" >
8
14
< div className = "col-span-1 md:col-span-2" >
9
- < h3 className = "text-lg font-semibold text-gray-900 mb-4" >
10
- App Name
11
- </ h3 >
12
- < p className = "text-gray-600 text-sm" >
13
- A modern React application built with TypeScript, React Router,
14
- and Tailwind CSS.
15
+ < div className = "flex items-center gap-3 mb-4" >
16
+ < div className = "text-3xl animate-pulse" > ⚛️</ div >
17
+ < h3 className = "text-2xl font-bold bg-gradient-to-r from-foreground to-primary bg-clip-text text-transparent" >
18
+ React RBAC Template
19
+ </ h3 >
20
+ </ div >
21
+ < p className = "text-muted-foreground text-sm leading-relaxed mb-6" >
22
+ A production-ready React starter template with role-based
23
+ authentication, modern development tools, and everything you need
24
+ to build scalable applications.
15
25
</ p >
26
+ < div className = "flex gap-2" >
27
+ < span className = "px-3 py-1 bg-primary/20 text-primary-foreground rounded-full text-xs font-medium border border-primary/30" >
28
+ TypeScript
29
+ </ span >
30
+ < span className = "px-3 py-1 bg-accent/20 text-accent-foreground rounded-full text-xs font-medium border border-accent/30" >
31
+ Vite
32
+ </ span >
33
+ < span className = "px-3 py-1 bg-info/20 text-info-foreground rounded-full text-xs font-medium border border-info/30" >
34
+ Tailwind
35
+ </ span >
36
+ </ div >
16
37
</ div >
17
38
18
39
< div >
19
- < h4 className = "text-md font-medium text-gray-900 mb-3" >
40
+ < h4 className = "text-lg font-semibold text-foreground mb-4 flex items-center gap-2" >
41
+ < span className = "text-primary" > 🔗</ span >
20
42
Quick Links
21
43
</ h4 >
22
- < ul className = "space-y-2 " >
44
+ < ul className = "space-y-3 " >
23
45
< li >
24
46
< a
25
47
href = "/"
26
- className = "text-gray-600 hover:text-gray-900 text-sm"
48
+ className = "text-muted-foreground hover:text-primary text-sm theme-transition flex items-center gap-2 group "
27
49
>
50
+ < span className = "group-hover:translate-x-1 transition-transform" >
51
+ →
52
+ </ span >
28
53
Home
29
54
</ a >
30
55
</ li >
31
56
< li >
32
57
< a
33
58
href = "/create-post"
34
- className = "text-gray-600 hover:text-gray-900 text-sm"
59
+ className = "text-muted-foreground hover:text-primary text-sm theme-transition flex items-center gap-2 group "
35
60
>
61
+ < span className = "group-hover:translate-x-1 transition-transform" >
62
+ →
63
+ </ span >
36
64
Create Post
37
65
</ a >
38
66
</ li >
39
67
< li >
40
68
< a
41
69
href = "/admin"
42
- className = "text-gray-600 hover:text-gray-900 text-sm"
70
+ className = "text-muted-foreground hover:text-primary text-sm theme-transition flex items-center gap-2 group "
43
71
>
72
+ < span className = "group-hover:translate-x-1 transition-transform" >
73
+ →
74
+ </ span >
44
75
Admin
45
76
</ a >
46
77
</ li >
47
78
</ ul >
48
79
</ div >
49
80
50
81
< div >
51
- < h4 className = "text-md font-medium text-gray-900 mb-3" > Support</ h4 >
52
- < ul className = "space-y-2" >
82
+ < h4 className = "text-lg font-semibold text-foreground mb-4 flex items-center gap-2" >
83
+ < span className = "text-accent" > 📚</ span >
84
+ Resources
85
+ </ h4 >
86
+ < ul className = "space-y-3" >
53
87
< li >
54
88
< a
55
89
href = "#"
56
- className = "text-gray-600 hover:text-gray-900 text-sm"
90
+ className = "text-muted-foreground hover:text-accent text-sm theme-transition flex items-center gap-2 group "
57
91
>
92
+ < span className = "group-hover:translate-x-1 transition-transform" >
93
+ →
94
+ </ span >
58
95
Documentation
59
96
</ a >
60
97
</ li >
61
98
< li >
62
99
< a
63
100
href = "#"
64
- className = "text-gray-600 hover:text-gray-900 text-sm"
101
+ className = "text-muted-foreground hover:text-accent text-sm theme-transition flex items-center gap-2 group "
65
102
>
66
- Contact Us
103
+ < span className = "group-hover:translate-x-1 transition-transform" >
104
+ →
105
+ </ span >
106
+ GitHub Repository
67
107
</ a >
68
108
</ li >
69
109
< li >
70
110
< a
71
111
href = "#"
72
- className = "text-gray-600 hover:text-gray-900 text-sm"
112
+ className = "text-muted-foreground hover:text-accent text-sm theme-transition flex items-center gap-2 group "
73
113
>
74
- Privacy Policy
114
+ < span className = "group-hover:translate-x-1 transition-transform" >
115
+ →
116
+ </ span >
117
+ Contributing Guide
75
118
</ a >
76
119
</ li >
77
120
</ ul >
78
121
</ div >
79
122
</ div >
80
123
81
- < div className = "mt-8 pt-8 border-t border-gray-200" >
82
- < p className = "text-center text-gray-500 text-sm" >
83
- © { currentYear } App Name. All rights reserved.
84
- </ p >
124
+ < div className = "mt-12 pt-8 border-t border-border" >
125
+ < div className = "flex flex-col md:flex-row justify-between items-center gap-4" >
126
+ < p className = "text-center text-muted-foreground text-sm flex items-center gap-2" >
127
+ < span className = "text-destructive" > ♥</ span >
128
+ Made with love using modern React stack
129
+ </ p >
130
+ < p className = "text-center text-muted-foreground text-sm" >
131
+ © { currentYear } React RBAC Template. Open source starter kit.
132
+ </ p >
133
+ </ div >
85
134
</ div >
86
135
</ div >
87
136
</ footer >
0 commit comments