File tree 2 files changed +51
-51
lines changed
2 files changed +51
-51
lines changed Original file line number Diff line number Diff line change @@ -14,12 +14,63 @@ export default function RootLayout({
14
14
} : {
15
15
children : React . ReactNode ;
16
16
} ) {
17
+ const currentYear = new Date ( ) . getFullYear ( ) ;
17
18
return (
18
19
< html lang = 'en' suppressHydrationWarning >
19
20
< body className = { inter . className } >
20
21
< ThemeProvider attribute = 'class' defaultTheme = 'system' enableSystem >
21
22
< Navbar />
22
23
{ children }
24
+ < footer className = 'border-t border-slate-900' >
25
+ < div className = 'max-w-7xl mx-auto py-12 px-4 sm:px-6 md:flex md:items-center md:justify-between lg:px-8' >
26
+ < div className = 'flex justify-center space-x-6 md:order-2' >
27
+ < a
28
+ target = '__blank'
29
+ href = 'https://www.facebook.com/profile.php?id=100095239324549'
30
+ className = 'text-gray-400 hover:text-gray-500'
31
+ >
32
+ < span className = 'sr-only' > Facebook</ span >
33
+ < svg
34
+ className = 'h-6 w-6'
35
+ fill = 'currentColor'
36
+ viewBox = '0 0 24 24'
37
+ aria-hidden = 'true'
38
+ >
39
+ < path
40
+ fillRule = 'evenodd'
41
+ d = 'M22 12c0-5.523-4.477-10-10-10S2 6.477 2 12c0 4.991 3.657 9.128 8.438 9.878v-6.987h-2.54V12h2.54V9.797c0-2.506 1.492-3.89 3.777-3.89 1.094 0 2.238.195 2.238.195v2.46h-1.26c-1.243 0-1.63.771-1.63 1.562V12h2.773l-.443 2.89h-2.33v6.988C18.343 21.128 22 16.991 22 12z'
42
+ clipRule = 'evenodd'
43
+ />
44
+ </ svg >
45
+ </ a >
46
+
47
+ < a
48
+ target = '__blank'
49
+ href = 'https://github.com/thedevco'
50
+ className = 'text-gray-400 hover:text-gray-500'
51
+ >
52
+ < span className = 'sr-only' > GitHub</ span >
53
+ < svg
54
+ className = 'h-6 w-6'
55
+ fill = 'currentColor'
56
+ viewBox = '0 0 24 24'
57
+ aria-hidden = 'true'
58
+ >
59
+ < path
60
+ fillRule = 'evenodd'
61
+ d = 'M12 2C6.477 2 2 6.484 2 12.017c0 4.425 2.865 8.18 6.839 9.504.5.092.682-.217.682-.483 0-.237-.008-.868-.013-1.703-2.782.605-3.369-1.343-3.369-1.343-.454-1.158-1.11-1.466-1.11-1.466-.908-.62.069-.608.069-.608 1.003.07 1.531 1.032 1.531 1.032.892 1.53 2.341 1.088 2.91.832.092-.647.35-1.088.636-1.338-2.22-.253-4.555-1.113-4.555-4.951 0-1.093.39-1.988 1.029-2.688-.103-.253-.446-1.272.098-2.65 0 0 .84-.27 2.75 1.026A9.564 9.564 0 0112 6.844c.85.004 1.705.115 2.504.337 1.909-1.296 2.747-1.027 2.747-1.027.546 1.379.202 2.398.1 2.651.64.7 1.028 1.595 1.028 2.688 0 3.848-2.339 4.695-4.566 4.943.359.309.678.92.678 1.855 0 1.338-.012 2.419-.012 2.747 0 .268.18.58.688.482A10.019 10.019 0 0022 12.017C22 6.484 17.522 2 12 2z'
62
+ clipRule = 'evenodd'
63
+ />
64
+ </ svg >
65
+ </ a >
66
+ </ div >
67
+ < div className = 'mt-8 md:mt-0 md:order-1' >
68
+ < p className = 'text-center text-base text-gray-400' >
69
+ © { currentYear } TheDev. All rights reserved.
70
+ </ p >
71
+ </ div >
72
+ </ div >
73
+ </ footer >
23
74
</ ThemeProvider >
24
75
</ body >
25
76
</ html >
Original file line number Diff line number Diff line change @@ -17,7 +17,6 @@ import {
17
17
} from '@radix-ui/react-icons' ;
18
18
19
19
export default function Home ( ) {
20
- const currentYear = new Date ( ) . getFullYear ( ) ;
21
20
return (
22
21
< >
23
22
< main className = 'flex flex-col sm:items-center justify-center px-4 mt-6 sm:mt-16' >
@@ -197,56 +196,6 @@ export default function Home() {
197
196
</ div >
198
197
</ div >
199
198
</ div >
200
- < footer className = 'border-t border-slate-900' >
201
- < div className = 'max-w-7xl mx-auto py-12 px-4 sm:px-6 md:flex md:items-center md:justify-between lg:px-8' >
202
- < div className = 'flex justify-center space-x-6 md:order-2' >
203
- < a
204
- target = '__blank'
205
- href = 'https://www.facebook.com/profile.php?id=100095239324549'
206
- className = 'text-gray-400 hover:text-gray-500'
207
- >
208
- < span className = 'sr-only' > Facebook</ span >
209
- < svg
210
- className = 'h-6 w-6'
211
- fill = 'currentColor'
212
- viewBox = '0 0 24 24'
213
- aria-hidden = 'true'
214
- >
215
- < path
216
- fillRule = 'evenodd'
217
- d = 'M22 12c0-5.523-4.477-10-10-10S2 6.477 2 12c0 4.991 3.657 9.128 8.438 9.878v-6.987h-2.54V12h2.54V9.797c0-2.506 1.492-3.89 3.777-3.89 1.094 0 2.238.195 2.238.195v2.46h-1.26c-1.243 0-1.63.771-1.63 1.562V12h2.773l-.443 2.89h-2.33v6.988C18.343 21.128 22 16.991 22 12z'
218
- clipRule = 'evenodd'
219
- />
220
- </ svg >
221
- </ a >
222
-
223
- < a
224
- target = '__blank'
225
- href = 'https://github.com/thedevco'
226
- className = 'text-gray-400 hover:text-gray-500'
227
- >
228
- < span className = 'sr-only' > GitHub</ span >
229
- < svg
230
- className = 'h-6 w-6'
231
- fill = 'currentColor'
232
- viewBox = '0 0 24 24'
233
- aria-hidden = 'true'
234
- >
235
- < path
236
- fillRule = 'evenodd'
237
- d = 'M12 2C6.477 2 2 6.484 2 12.017c0 4.425 2.865 8.18 6.839 9.504.5.092.682-.217.682-.483 0-.237-.008-.868-.013-1.703-2.782.605-3.369-1.343-3.369-1.343-.454-1.158-1.11-1.466-1.11-1.466-.908-.62.069-.608.069-.608 1.003.07 1.531 1.032 1.531 1.032.892 1.53 2.341 1.088 2.91.832.092-.647.35-1.088.636-1.338-2.22-.253-4.555-1.113-4.555-4.951 0-1.093.39-1.988 1.029-2.688-.103-.253-.446-1.272.098-2.65 0 0 .84-.27 2.75 1.026A9.564 9.564 0 0112 6.844c.85.004 1.705.115 2.504.337 1.909-1.296 2.747-1.027 2.747-1.027.546 1.379.202 2.398.1 2.651.64.7 1.028 1.595 1.028 2.688 0 3.848-2.339 4.695-4.566 4.943.359.309.678.92.678 1.855 0 1.338-.012 2.419-.012 2.747 0 .268.18.58.688.482A10.019 10.019 0 0022 12.017C22 6.484 17.522 2 12 2z'
238
- clipRule = 'evenodd'
239
- />
240
- </ svg >
241
- </ a >
242
- </ div >
243
- < div className = 'mt-8 md:mt-0 md:order-1' >
244
- < p className = 'text-center text-base text-gray-400' >
245
- © { currentYear } TheDev. All rights reserved.
246
- </ p >
247
- </ div >
248
- </ div >
249
- </ footer >
250
199
</ >
251
200
) ;
252
201
}
You can’t perform that action at this time.
0 commit comments