Skip to content

Commit 9d514f1

Browse files
authored
Implement IA and docsFooter (#232)
* Implement IA and docsFooter * change icon
1 parent 100733c commit 9d514f1

File tree

4 files changed

+171
-186
lines changed

4 files changed

+171
-186
lines changed

messages/en.json

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,15 +25,28 @@
2525
},
2626
"footer": {
2727
"description": "Multi-Cluster Kubernetes orchestration platform that simplifies distributed workload management across diverse infrastructure.",
28+
"docs": "Docs",
29+
"overview": "Overview",
30+
"userGuide": "User Guide",
31+
"onboarding": "Onboarding",
32+
"releasesNotes": "Releases Notes",
33+
"gettingStarted": "Getting Started",
34+
"installationPage": "Installation Page",
35+
"ladder": "Ladder",
36+
"products": "Products",
37+
"contributeHandbook": "Contribute Handbook",
38+
"resources": "Resources",
39+
"playground": "Playground",
40+
"programs": "Programs",
41+
"partners": "Partners",
42+
"blog": "Blog",
2843
"product": "Product",
2944
"features": "Features",
3045
"useCases": "Use Cases",
3146
"pricing": "Pricing",
3247
"roadmap": "Roadmap",
33-
"resources": "Resources",
3448
"documentation": "Documentation",
3549
"tutorials": "Tutorials",
36-
"blog": "Blog",
3750
"community": "Community",
3851
"company": "Company",
3952
"about": "About",

messages/hi.json

Lines changed: 15 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,15 +25,28 @@
2525
},
2626
"footer": {
2727
"description": "मल्टी-क्लस्टर क्यूबेरनेटिस ऑर्केस्ट्रेशन प्लेटफ़ॉर्म जो विविध इंफ्रास्ट्रक्चर में वितरित वर्कलोड प्रबंधन को सरल बनाता है।",
28+
"docs": "डॉक्स",
29+
"overview": "ओवरव्यू",
30+
"userGuide": "उपयोगकर्ता गाइड",
31+
"onboarding": "ऑनबोर्डिंग",
32+
"releasesNotes": "रिलीज नोट्स",
33+
"gettingStarted": "शुरू करें",
34+
"installationPage": "इंस्टॉलेशन पेज",
35+
"ladder": "स्टेप-अप",
36+
"products": "उत्पाद",
37+
"contributeHandbook": "योगदान हैंडबुक",
38+
"resources": "संसाधन",
39+
"playground": "प्लेग्राउंड",
40+
"programs": "प्रोग्राम",
41+
"partners": "भागीदार",
42+
"blog": "ब्लॉग",
2843
"product": "उत्पाद",
2944
"features": "विशेषताएँ",
3045
"useCases": "उपयोग के मामले",
3146
"pricing": "मूल्य निर्धारण",
3247
"roadmap": "रोडमैप",
33-
"resources": "संसाधन",
3448
"documentation": "डॉक्यूमेंटेशन",
3549
"tutorials": "ट्यूटोरियल",
36-
"blog": "ब्लॉग",
3750
"community": "समुदाय",
3851
"company": "कंपनी",
3952
"about": "हमारे बारे में",

src/components/Footer.tsx

Lines changed: 56 additions & 54 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
"use client";
22

33
import { useEffect } from "react";
4-
import Link from "next/link";
54
import Image from "next/image";
65
import { GridLines, StarField } from "./index";
76
import { useTranslations } from "next-intl";
7+
import { Link } from "@/i18n/navigation";
88

99
export default function Footer() {
1010
const t = useTranslations("footer");
@@ -80,13 +80,13 @@ export default function Footer() {
8080
className="group relative w-12 h-12 rounded-lg flex items-center justify-center transition-all duration-300"
8181
>
8282
<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)]"
8484
fill="currentColor"
8585
viewBox="0 0 24 24"
8686
>
8787
<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"
9090
/>
9191
</svg>
9292
</a>
@@ -138,124 +138,126 @@ export default function Footer() {
138138
</div>
139139
</div>
140140

141-
{/* Product Links */}
141+
{/* Docs Links */}
142142
<div className="col-span-1 sm:col-span-4 lg:col-span-2 order-3 sm:order-3">
143143
<h3 className="text-lg font-semibold text-white mb-4">
144-
{t("product")}
144+
{t("docs")}
145145
</h3>
146146
<ul className="space-y-3">
147147
<li>
148-
<a
149-
href="#"
148+
<Link
149+
href="/docs"
150150
className="text-gray-400 hover:text-white transition-colors duration-200 text-sm"
151151
>
152-
{t("features")}
153-
</a>
152+
{t("overview")}
153+
</Link>
154154
</li>
155155
<li>
156-
<a
157-
href="#"
156+
<Link
157+
href="/docs"
158158
className="text-gray-400 hover:text-white transition-colors duration-200 text-sm"
159159
>
160-
{t("useCases")}
161-
</a>
160+
{t("userGuide")}
161+
</Link>
162162
</li>
163163
<li>
164-
<a
165-
href="#"
164+
<Link
165+
href="/docs"
166166
className="text-gray-400 hover:text-white transition-colors duration-200 text-sm"
167167
>
168-
{t("pricing")}
169-
</a>
168+
{t("onboarding")}
169+
</Link>
170170
</li>
171171
<li>
172-
<a
173-
href="#"
172+
<Link
173+
href="/docs"
174174
className="text-gray-400 hover:text-white transition-colors duration-200 text-sm"
175175
>
176-
{t("roadmap")}
177-
</a>
176+
{t("releasesNotes")}
177+
</Link>
178178
</li>
179179
</ul>
180180
</div>
181181

182-
{/* Resources Links */}
182+
{/* Getting Started Links */}
183183
<div className="col-span-1 sm:col-span-4 lg:col-span-2 order-4 sm:order-4">
184184
<h3 className="text-lg font-semibold text-white mb-4">
185-
{t("resources")}
185+
{t("gettingStarted")}
186186
</h3>
187187
<ul className="space-y-3">
188188
<li>
189189
<Link
190-
href="/docs"
190+
href="/quick-installation"
191191
className="text-gray-400 hover:text-white transition-colors duration-200 text-sm"
192192
>
193-
{t("documentation")}
193+
{t("installationPage")}
194194
</Link>
195195
</li>
196196
<li>
197-
<a
198-
href="#"
197+
<Link
198+
href="/ladder"
199199
className="text-gray-400 hover:text-white transition-colors duration-200 text-sm"
200200
>
201-
{t("tutorials")}
202-
</a>
201+
{t("ladder")}
202+
</Link>
203203
</li>
204204
<li>
205-
<a
206-
href="#"
205+
<Link
206+
href="/products"
207207
className="text-gray-400 hover:text-white transition-colors duration-200 text-sm"
208208
>
209-
{t("blog")}
210-
</a>
209+
{t("products")}
210+
</Link>
211211
</li>
212212
<li>
213-
<a
214-
href="#"
213+
<Link
214+
href="/contribute-handbook"
215215
className="text-gray-400 hover:text-white transition-colors duration-200 text-sm"
216216
>
217-
{t("community")}
218-
</a>
217+
{t("contributeHandbook")}
218+
</Link>
219219
</li>
220220
</ul>
221221
</div>
222222

223-
{/* Company Links */}
223+
{/* Resources Links */}
224224
<div className="col-span-1 sm:col-span-4 lg:col-span-2 order-5 sm:order-5">
225225
<h3 className="text-lg font-semibold text-white mb-4">
226-
{t("company")}
226+
{t("resources")}
227227
</h3>
228228
<ul className="space-y-3">
229229
<li>
230-
<a
231-
href="#"
230+
<Link
231+
href="/playground"
232232
className="text-gray-400 hover:text-white transition-colors duration-200 text-sm"
233233
>
234-
{t("about")}
235-
</a>
234+
{t("playground")}
235+
</Link>
236236
</li>
237237
<li>
238-
<a
239-
href="#"
238+
<Link
239+
href="/programs"
240240
className="text-gray-400 hover:text-white transition-colors duration-200 text-sm"
241241
>
242-
{t("team")}
243-
</a>
242+
{t("programs")}
243+
</Link>
244244
</li>
245245
<li>
246-
<a
247-
href="#"
246+
<Link
247+
href="/partners"
248248
className="text-gray-400 hover:text-white transition-colors duration-200 text-sm"
249249
>
250-
{t("careers")}
251-
</a>
250+
{t("partners")}
251+
</Link>
252252
</li>
253253
<li>
254254
<a
255-
href="#"
255+
href="https://blog.kubestellar.io"
256+
target="_blank"
257+
rel="noopener noreferrer"
256258
className="text-gray-400 hover:text-white transition-colors duration-200 text-sm"
257259
>
258-
{t("contact")}
260+
{t("blog")}
259261
</a>
260262
</li>
261263
</ul>

0 commit comments

Comments
 (0)