diff --git a/dashboard/src/components/Footer.tsx b/dashboard/src/components/Footer.tsx index d34eada..efca3c8 100644 --- a/dashboard/src/components/Footer.tsx +++ b/dashboard/src/components/Footer.tsx @@ -3,6 +3,7 @@ import { usePathname } from 'next/navigation' import { useLanguage } from '../i18n/LanguageProvider' import { translations } from '../i18n/translations' +import { useTheme } from './theme/useTheme' const HIDDEN_PATH_PREFIXES = ['/login', '/register'] @@ -16,55 +17,71 @@ export default function Footer() { const { language } = useLanguage() const t = translations[language].footerLinks const [privacy, terms, contact] = t + const { isDark, toggleTheme, theme } = useTheme() + + const socialLinks = [ + { label: 'GitHub', href: 'https://github.com/CloudNativeSuite', icon: 'GH' }, + { label: 'X', href: 'https://x.com', icon: 'X' }, + { label: 'LinkedIn', href: 'https://www.linkedin.com', icon: 'in' }, + { label: 'Mail', href: 'mailto:manbuzhe2008@gmail.com', icon: '✉' }, + ] return ( -