|
1 | 1 | "use client"; |
2 | 2 |
|
3 | 3 | import { useEffect } from "react"; |
4 | | -import Link from "next/link"; |
5 | 4 | import Image from "next/image"; |
6 | 5 | import { GridLines, StarField } from "./index"; |
7 | 6 | import { useTranslations } from "next-intl"; |
| 7 | +import { Link } from "@/i18n/navigation"; |
8 | 8 |
|
9 | 9 | export default function Footer() { |
10 | 10 | const t = useTranslations("footer"); |
@@ -80,13 +80,13 @@ export default function Footer() { |
80 | 80 | className="group relative w-12 h-12 rounded-lg flex items-center justify-center transition-all duration-300" |
81 | 81 | > |
82 | 82 | <svg |
83 | | - className="w-7 h-7 transition-all duration-300 group-hover:drop-shadow-[0_0_8px_rgba(29,161,242,0.8)]" |
| 83 | + className="w-7 h-7 transition-all duration-300 group-hover:drop-shadow-[0_0_8px_rgba(255,255,255,0.8)]" |
84 | 84 | fill="currentColor" |
85 | 85 | viewBox="0 0 24 24" |
86 | 86 | > |
87 | 87 | <path |
88 | | - className="transition-colors duration-300 text-gray-400 group-hover:text-[#1DA1F2]" |
89 | | - d="M23.953 4.57a10 10 0 01-2.825.775 4.958 4.958 0 002.163-2.723c-.951.555-2.005.959-3.127 1.184a4.92 4.92 0 00-8.384 4.482C7.69 8.095 4.067 6.13 1.64 3.162a4.822 4.822 0 00-.666 2.475c0 1.71.87 3.213 2.188 4.096a4.904 4.904 0 01-2.228-.616v.06a4.923 4.923 0 003.946 4.827 4.996 4.996 0 01-2.212.085 4.936 4.936 0 004.604 3.417 9.867 9.867 0 01-6.102 2.105c-.39 0-.779-.023-1.17-.067a13.995 13.995 0 007.557 2.209c9.053 0 13.998-7.496 13.998-13.985 0-.21 0-.42-.015-.63A9.935 9.935 0 0024 4.59z" |
| 88 | + className="transition-colors duration-300 text-gray-400 group-hover:text-white" |
| 89 | + d="M18.244 2.25h3.308l-7.227 8.26 8.502 11.24H16.17l-5.214-6.817L4.99 21.75H1.68l7.73-8.835L1.254 2.25H8.08l4.713 6.231zm-1.161 17.52h1.833L7.084 4.126H5.117z" |
90 | 90 | /> |
91 | 91 | </svg> |
92 | 92 | </a> |
@@ -138,124 +138,126 @@ export default function Footer() { |
138 | 138 | </div> |
139 | 139 | </div> |
140 | 140 |
|
141 | | - {/* Product Links */} |
| 141 | + {/* Docs Links */} |
142 | 142 | <div className="col-span-1 sm:col-span-4 lg:col-span-2 order-3 sm:order-3"> |
143 | 143 | <h3 className="text-lg font-semibold text-white mb-4"> |
144 | | - {t("product")} |
| 144 | + {t("docs")} |
145 | 145 | </h3> |
146 | 146 | <ul className="space-y-3"> |
147 | 147 | <li> |
148 | | - <a |
149 | | - href="#" |
| 148 | + <Link |
| 149 | + href="/docs" |
150 | 150 | className="text-gray-400 hover:text-white transition-colors duration-200 text-sm" |
151 | 151 | > |
152 | | - {t("features")} |
153 | | - </a> |
| 152 | + {t("overview")} |
| 153 | + </Link> |
154 | 154 | </li> |
155 | 155 | <li> |
156 | | - <a |
157 | | - href="#" |
| 156 | + <Link |
| 157 | + href="/docs" |
158 | 158 | className="text-gray-400 hover:text-white transition-colors duration-200 text-sm" |
159 | 159 | > |
160 | | - {t("useCases")} |
161 | | - </a> |
| 160 | + {t("userGuide")} |
| 161 | + </Link> |
162 | 162 | </li> |
163 | 163 | <li> |
164 | | - <a |
165 | | - href="#" |
| 164 | + <Link |
| 165 | + href="/docs" |
166 | 166 | className="text-gray-400 hover:text-white transition-colors duration-200 text-sm" |
167 | 167 | > |
168 | | - {t("pricing")} |
169 | | - </a> |
| 168 | + {t("onboarding")} |
| 169 | + </Link> |
170 | 170 | </li> |
171 | 171 | <li> |
172 | | - <a |
173 | | - href="#" |
| 172 | + <Link |
| 173 | + href="/docs" |
174 | 174 | className="text-gray-400 hover:text-white transition-colors duration-200 text-sm" |
175 | 175 | > |
176 | | - {t("roadmap")} |
177 | | - </a> |
| 176 | + {t("releasesNotes")} |
| 177 | + </Link> |
178 | 178 | </li> |
179 | 179 | </ul> |
180 | 180 | </div> |
181 | 181 |
|
182 | | - {/* Resources Links */} |
| 182 | + {/* Getting Started Links */} |
183 | 183 | <div className="col-span-1 sm:col-span-4 lg:col-span-2 order-4 sm:order-4"> |
184 | 184 | <h3 className="text-lg font-semibold text-white mb-4"> |
185 | | - {t("resources")} |
| 185 | + {t("gettingStarted")} |
186 | 186 | </h3> |
187 | 187 | <ul className="space-y-3"> |
188 | 188 | <li> |
189 | 189 | <Link |
190 | | - href="/docs" |
| 190 | + href="/quick-installation" |
191 | 191 | className="text-gray-400 hover:text-white transition-colors duration-200 text-sm" |
192 | 192 | > |
193 | | - {t("documentation")} |
| 193 | + {t("installationPage")} |
194 | 194 | </Link> |
195 | 195 | </li> |
196 | 196 | <li> |
197 | | - <a |
198 | | - href="#" |
| 197 | + <Link |
| 198 | + href="/ladder" |
199 | 199 | className="text-gray-400 hover:text-white transition-colors duration-200 text-sm" |
200 | 200 | > |
201 | | - {t("tutorials")} |
202 | | - </a> |
| 201 | + {t("ladder")} |
| 202 | + </Link> |
203 | 203 | </li> |
204 | 204 | <li> |
205 | | - <a |
206 | | - href="#" |
| 205 | + <Link |
| 206 | + href="/products" |
207 | 207 | className="text-gray-400 hover:text-white transition-colors duration-200 text-sm" |
208 | 208 | > |
209 | | - {t("blog")} |
210 | | - </a> |
| 209 | + {t("products")} |
| 210 | + </Link> |
211 | 211 | </li> |
212 | 212 | <li> |
213 | | - <a |
214 | | - href="#" |
| 213 | + <Link |
| 214 | + href="/contribute-handbook" |
215 | 215 | className="text-gray-400 hover:text-white transition-colors duration-200 text-sm" |
216 | 216 | > |
217 | | - {t("community")} |
218 | | - </a> |
| 217 | + {t("contributeHandbook")} |
| 218 | + </Link> |
219 | 219 | </li> |
220 | 220 | </ul> |
221 | 221 | </div> |
222 | 222 |
|
223 | | - {/* Company Links */} |
| 223 | + {/* Resources Links */} |
224 | 224 | <div className="col-span-1 sm:col-span-4 lg:col-span-2 order-5 sm:order-5"> |
225 | 225 | <h3 className="text-lg font-semibold text-white mb-4"> |
226 | | - {t("company")} |
| 226 | + {t("resources")} |
227 | 227 | </h3> |
228 | 228 | <ul className="space-y-3"> |
229 | 229 | <li> |
230 | | - <a |
231 | | - href="#" |
| 230 | + <Link |
| 231 | + href="/playground" |
232 | 232 | className="text-gray-400 hover:text-white transition-colors duration-200 text-sm" |
233 | 233 | > |
234 | | - {t("about")} |
235 | | - </a> |
| 234 | + {t("playground")} |
| 235 | + </Link> |
236 | 236 | </li> |
237 | 237 | <li> |
238 | | - <a |
239 | | - href="#" |
| 238 | + <Link |
| 239 | + href="/programs" |
240 | 240 | className="text-gray-400 hover:text-white transition-colors duration-200 text-sm" |
241 | 241 | > |
242 | | - {t("team")} |
243 | | - </a> |
| 242 | + {t("programs")} |
| 243 | + </Link> |
244 | 244 | </li> |
245 | 245 | <li> |
246 | | - <a |
247 | | - href="#" |
| 246 | + <Link |
| 247 | + href="/partners" |
248 | 248 | className="text-gray-400 hover:text-white transition-colors duration-200 text-sm" |
249 | 249 | > |
250 | | - {t("careers")} |
251 | | - </a> |
| 250 | + {t("partners")} |
| 251 | + </Link> |
252 | 252 | </li> |
253 | 253 | <li> |
254 | 254 | <a |
255 | | - href="#" |
| 255 | + href="https://blog.kubestellar.io" |
| 256 | + target="_blank" |
| 257 | + rel="noopener noreferrer" |
256 | 258 | className="text-gray-400 hover:text-white transition-colors duration-200 text-sm" |
257 | 259 | > |
258 | | - {t("contact")} |
| 260 | + {t("blog")} |
259 | 261 | </a> |
260 | 262 | </li> |
261 | 263 | </ul> |
|
0 commit comments