1+ 'use client' ;
2+
13import Link from "next/link" ;
24import Image from "next/image" ;
35import OpenDevSocietyBranding from "./OpenDevSocietyBranding" ;
6+ import { useDictionary } from "@/hooks/useDictionary" ;
47
58const Footer = ( ) => {
9+ const dict = useDictionary ( ) ;
10+
611 return (
712 < footer className = "bg-gray-900 text-white border-t border-gray-800" >
813 < div className = "container mx-auto px-4 py-12" >
@@ -19,11 +24,11 @@ const Footer = () => {
1924 />
2025 </ Link >
2126 < p className = "text-gray-400 mb-6 max-w-md" >
22- OpenStock is an open-source alternative to expensive market platforms. Track real-time prices, set personalized alerts, and explore detailed company insights — built openly, for everyone, forever free.
27+ { dict . footer . description }
2328 </ p >
2429 < div className = "mb-8" >
2530 < Link href = "/about" className = "text-teal-400 hover:text-teal-300 font-medium inline-flex items-center gap-1 group" >
26- Learn about our mission
31+ { dict . footer . learnMore }
2732 < span className = "group-hover:translate-x-1 transition-transform" > →</ span >
2833 </ Link >
2934 </ div >
@@ -35,7 +40,7 @@ const Footer = () => {
3540 className = "text-gray-400 hover:text-white transition-colors duration-200 relative group"
3641 >
3742 < span className = "relative" >
38- GitHub
43+ { dict . footer . github }
3944 < span className = "absolute left-0 bottom-0 w-0 h-0.5 bg-white transition-all duration-300 group-hover:w-full" > </ span >
4045 </ span >
4146 </ Link >
@@ -46,7 +51,7 @@ const Footer = () => {
4651 className = "text-gray-400 hover:text-blue-400 transition-colors duration-200 relative group"
4752 >
4853 < span className = "relative" >
49- LinkedIn
54+ { dict . footer . linkedin }
5055 < span className = "absolute left-0 bottom-0 w-0 h-0.5 bg-blue-400 transition-all duration-300 group-hover:w-full" > </ span >
5156 </ span >
5257 </ Link >
@@ -57,7 +62,7 @@ const Footer = () => {
5762 className = "text-gray-400 hover:text-blue-600 transition-colors duration-200 relative group"
5863 >
5964 < span className = "relative" >
60- Discord
65+ { dict . footer . discord }
6166 < span className = "absolute left-0 bottom-0 w-0 h-0.5 bg-blue-600 transition-all duration-300 group-hover:w-full" > </ span >
6267 </ span >
6368 </ Link >
@@ -66,28 +71,28 @@ const Footer = () => {
6671
6772 { /* Resources */ }
6873 < div >
69- < h3 className = "text-lg font-semibold mb-4" > Resources </ h3 >
74+ < h3 className = "text-lg font-semibold mb-4" > { dict . footer . resources } </ h3 >
7075 < ul className = "space-y-2" >
7176 < li >
7277 < Link href = "/api-docs" className = "text-gray-400 hover:text-white transition-colors duration-200 relative group" >
7378 < span className = "relative" >
74- API Documentation
79+ { dict . footer . apiDocumentation }
7580 < span className = "absolute left-0 bottom-0 w-0 h-0.5 bg-white transition-all duration-300 group-hover:w-full" > </ span >
7681 </ span >
7782 </ Link >
7883 </ li >
7984 < li >
8085 < Link href = "/help" className = "text-gray-400 hover:text-white transition-colors duration-200 relative group" >
8186 < span className = "relative" >
82- Help Center
87+ { dict . footer . helpCenter }
8388 < span className = "absolute left-0 bottom-0 w-0 h-0.5 bg-white transition-all duration-300 group-hover:w-full" > </ span >
8489 </ span >
8590 </ Link >
8691 </ li >
8792 < li >
8893 < Link href = "/terms" className = "text-gray-400 hover:text-white transition-colors duration-200 relative group" >
8994 < span className = "relative" >
90- Terms of Service
95+ { dict . footer . termsOfService }
9196 < span className = "absolute left-0 bottom-0 w-0 h-0.5 bg-white transition-all duration-300 group-hover:w-full" > </ span >
9297 </ span >
9398 </ Link >
@@ -101,7 +106,7 @@ const Footer = () => {
101106 < div className = "flex flex-col md:flex-row justify-between items-center" >
102107 { /* Copyright */ }
103108 < div className = "text-gray-400 text-sm mb-4 md:mb-0" >
104- © { new Date ( ) . getFullYear ( ) } Open Dev Society. All rights reserved.
109+ © { new Date ( ) . getFullYear ( ) } { dict . footer . copyright }
105110 </ div >
106111
107112 { /* Open Dev Society Branding */ }
0 commit comments