@@ -4,130 +4,82 @@ import React from "react";
4
4
import { Container } from "@/components/Container" ;
5
5
6
6
export function Footer ( ) {
7
- const navigation = [ "Product" , "Features" , "Pricing" , "Company" , "Blog" ] ;
8
- const legal = [ "Terms" , "Privacy" , "Legal" ] ;
7
+ const followUsLinks = [
8
+ {
9
+ href : "https://twitter.com/CodeChefs" ,
10
+ label : "Twitter" ,
11
+ icon : < Twitter /> ,
12
+ } ,
13
+ {
14
+ href : "https://facebook.com/CodeChefs" ,
15
+ label : "Facebook" ,
16
+ icon : < Facebook /> ,
17
+ } ,
18
+ {
19
+ href : "https://instagram.com/CodeChefs" ,
20
+ label : "Instagram" ,
21
+ icon : < Instagram /> ,
22
+ } ,
23
+ {
24
+ href : "https://linkedin.com/company/codechefs" ,
25
+ label : "LinkedIn" ,
26
+ icon : < Linkedin /> ,
27
+ } ,
28
+ ] ;
29
+
9
30
return (
10
31
< div className = "relative" >
11
32
< Container >
12
- < div className = "grid max-w-screen-xl grid-cols-1 gap-10 pt-10 mx-auto mt-5 border-t border-gray-100 dark:border-trueGray-700 lg:grid-cols-5 " >
33
+ < div className = "grid max-w-screen-xl grid-cols-1 gap-10 pt-10 mx-auto mt-5 border-t border-gray-100 dark:border-trueGray-700 lg:grid-cols-3 " >
13
34
< div className = "lg:col-span-2" >
14
35
< div >
15
- { " " }
16
36
< Link
17
37
href = "/"
18
38
className = "flex items-center space-x-2 text-2xl font-medium text-indigo-500 dark:text-gray-100"
19
39
>
20
40
< Image
21
41
src = "/img/logo.svg"
22
- alt = "N "
42
+ alt = "CodeChefs Logo "
23
43
width = "32"
24
44
height = "32"
25
45
className = "w-8"
26
46
/>
27
- < span > Nextly </ span >
47
+ < span > CodeChefs </ span >
28
48
</ Link >
29
49
</ div >
30
50
31
51
< div className = "max-w-md mt-4 text-gray-500 dark:text-gray-400" >
32
- Nextly is a free landing page & marketing website template for
33
- startups and indie projects . Its built with Next . js & TailwindCSS .
34
- And its completely open - source .
35
- </ div >
36
-
37
- < div className = "mt-5" >
38
- < a
39
- href = "https://vercel.com/?utm_source=web3templates& utm_campaign = oss "
40
- target = "_blank"
41
- rel = "noopener"
42
- className = "relative block w-44"
43
- >
44
- < Image
45
- src = "/img/vercel.svg"
46
- alt = "Powered by Vercel"
47
- width = "212"
48
- height = "44"
49
- />
50
- </ a >
52
+ CodeChefs is a platform dedicated to supporting coding enthusiasts
53
+ with resources, challenges, and community-driven events. Join us
54
+ to enhance your coding skills and collaborate with peers.
51
55
</ div >
52
56
</ div >
53
57
54
- < div >
55
- < div className = "flex flex-wrap w-full -mt-2 -ml-3 lg:ml-0" >
56
- { navigation . map ( ( item , index ) => (
57
- < Link
58
- key = { index }
59
- href = "/"
60
- className = "w-full px-4 py-2 text-gray-500 rounded-md dark:text-gray-300 hover:text-indigo-500 focus:text-indigo-500 focus:bg-indigo-100 focus:outline-none dark:focus:bg-trueGray-700"
61
- >
62
- { item }
63
- </ Link >
64
- ) ) }
65
- </ div >
66
- </ div >
67
- < div >
68
- < div className = "flex flex-wrap w-full -mt-2 -ml-3 lg:ml-0" >
69
- { legal . map ( ( item , index ) => (
70
- < Link
71
- key = { index }
72
- href = "/"
73
- className = "w-full px-4 py-2 text-gray-500 rounded-md dark:text-gray-300 hover:text-indigo-500 focus:text-indigo-500 focus:bg-indigo-100 focus:outline-none dark:focus:bg-trueGray-700"
74
- >
75
- { item }
76
- </ Link >
77
- ) ) }
78
- </ div >
79
- </ div >
80
- < div className = "" >
81
- < div > Follow us</ div >
58
+ < div className = "flex flex-col items-start lg:items-end" >
59
+ < div className = "text-lg font-semibold" > Follow Us</ div >
82
60
< div className = "flex mt-5 space-x-5 text-gray-400 dark:text-gray-500" >
83
- < a
84
- href = "https://twitter.com/web3templates"
85
- target = "_blank"
86
- rel = "noopener"
87
- >
88
- < span className = "sr-only" > Twitter</ span >
89
- < Twitter />
90
- </ a >
91
- < a
92
- href = "https://facebook.com/web3templates"
93
- target = "_blank"
94
- rel = "noopener"
95
- >
96
- < span className = "sr-only" > Facebook</ span >
97
- < Facebook />
98
- </ a >
99
- < a
100
- href = "https://instagram.com/web3templates"
101
- target = "_blank"
102
- rel = "noopener"
103
- >
104
- < span className = "sr-only" > Instagram</ span >
105
- < Instagram />
106
- </ a >
107
- < a href = "https://linkedin.com/" target = "_blank" rel = "noopener" >
108
- < span className = "sr-only" > Linkedin</ span >
109
- < Linkedin />
110
- </ a >
61
+ { followUsLinks . map ( ( { href, label, icon } ) => (
62
+ < a key = { label } href = { href } target = "_blank" rel = "noopener" >
63
+ < span className = "sr-only" > { label } </ span >
64
+ { icon }
65
+ </ a >
66
+ ) ) }
111
67
</ div >
112
68
</ div >
113
69
</ div >
114
70
115
71
< div className = "my-10 text-sm text-center text-gray-600 dark:text-gray-400" >
116
- Copyright © { new Date ( ) . getFullYear ( ) } . Made with ♥ by { " " }
72
+ Copyright © { new Date ( ) . getFullYear ( ) } { " " }
117
73
< a href = "https://web3templates.com/" target = "_blank" rel = "noopener" >
118
- Web3Templates.
74
+ CodeChefs
119
75
</ a > { " " }
120
- Illustrations from{ " " }
121
- < a href = "https://www.glazestock.com/" target = "_blank" rel = "noopener " >
122
- Glazestock
123
- </ a >
124
76
</ div >
125
77
</ Container >
126
78
</ div >
127
79
) ;
128
80
}
129
81
130
- const Twitter = ( { size = 24 } ) => (
82
+ const Twitter = ( { size = 32 } ) => (
131
83
< svg
132
84
xmlns = "http://www.w3.org/2000/svg"
133
85
width = { size }
@@ -139,7 +91,7 @@ const Twitter = ({ size = 24 }) => (
139
91
</ svg >
140
92
) ;
141
93
142
- const Facebook = ( { size = 24 } ) => (
94
+ const Facebook = ( { size = 32 } ) => (
143
95
< svg
144
96
xmlns = "http://www.w3.org/2000/svg"
145
97
width = { size }
@@ -150,7 +102,8 @@ const Facebook = ({ size = 24 }) => (
150
102
< path d = "M24 12.07C24 5.41 18.63 0 12 0S0 5.4 0 12.07C0 18.1 4.39 23.1 10.13 24v-8.44H7.08v-3.49h3.04V9.41c0-3.02 1.8-4.7 4.54-4.7 1.31 0 2.68.24 2.68.24v2.97h-1.5c-1.5 0-1.96.93-1.96 1.89v2.26h3.32l-.53 3.5h-2.8V24C19.62 23.1 24 18.1 24 12.07" />
151
103
</ svg >
152
104
) ;
153
- const Instagram = ( { size = 24 } ) => (
105
+
106
+ const Instagram = ( { size = 32 } ) => (
154
107
< svg
155
108
xmlns = "http://www.w3.org/2000/svg"
156
109
width = { size }
@@ -162,42 +115,14 @@ const Instagram = ({ size = 24 }) => (
162
115
</ svg >
163
116
) ;
164
117
165
- const Linkedin = ( { size = 24 } ) => (
118
+ const Linkedin = ( { size = 32 } ) => (
166
119
< svg
167
120
xmlns = "http://www.w3.org/2000/svg"
168
121
width = { size }
169
122
height = { size }
170
123
viewBox = "0 0 24 24"
171
124
fill = "currentColor"
172
125
>
173
- < path d = "M22.23 0H1.77C.8 0 0 .77 0 1.72v20.56C0 23.23.8 24 1.77 24h20.46c.98 0 1.77-.77 1.77-1.72V1.72C24 .77 23.2 0 22.23 0zM7.27 20.1H3.65V9.24h3.62V20.1zM5.47 7.76h-.03c-1.22 0-2-.83-2-1.87 0-1.06.8-1.87 2.05-1.87 1.24 0 2 .8 2.02 1.87 0 1.04-.78 1.87-2.05 1.87zM20.34 20.1h-3.63v-5.8c0-1.45-.52-2.45-1.83-2.45-1 0-1.6.67-1.87 1.32-.1.23-.11.55-.11.88v6.05H9.28s.05-9.82 0-10.84h3.63v1.54a3.6 3.6 0 0 1 3.26-1.8c2.39 0 4.18 1.56 4.18 4.89v6.21z " />
126
+ < path d = "M4.98 3.5C4.98 2.12 6.1 1 7.48 1s2.5 1.12 2.5 2.5-1.12 2.5-2.5 2.5-2.5-1.12-2.5-2.5zM4.23 8h6.5V21H4.23V8zm12.28 0H13.9v6.18h-.06c-.82-1.51-2.82-3.1-5.07-3.1-5.7 0-6.97 3.43-6.97 6.53v7.38h6.5V12.83c0-1.71.04-3.13 2.49-3.13 2.43 0 2.83 1.9 2.83 3.83v6.87h6.5V11.83c0-4.77-2.16-8.56-6.97-8.56-2.57 0-4.73 1.09-6.12 3.12z " />
174
127
</ svg >
175
128
) ;
176
-
177
- const Backlink = ( ) => {
178
- return (
179
- < a
180
- href = "https://web3templates.com"
181
- target = "_blank"
182
- rel = "noopener"
183
- className = "absolute flex px-3 py-1 space-x-2 text-sm font-semibold text-gray-900 bg-white border border-gray-300 rounded shadow-sm place-items-center left-5 bottom-5 dark:bg-trueGray-900 dark:border-trueGray-700 dark:text-trueGray-300"
184
- >
185
- < svg
186
- width = "20"
187
- height = "20"
188
- viewBox = "0 0 30 30"
189
- fill = "none"
190
- className = "w-4 h-4"
191
- xmlns = "http://www.w3.org/2000/svg"
192
- >
193
- < rect width = "30" height = "29.5385" rx = "2.76923" fill = "#362F78" />
194
- < path
195
- d = "M10.14 21.94H12.24L15.44 12.18L18.64 21.94H20.74L24.88 8H22.64L19.58 18.68L16.36 8.78H14.52L11.32 18.68L8.24 8H6L10.14 21.94Z"
196
- fill = "#F7FAFC"
197
- />
198
- </ svg >
199
-
200
- < span > Web3Templates</ span >
201
- </ a >
202
- ) ;
203
- } ;
0 commit comments