diff --git a/src/components/Footer.tsx b/src/components/Footer.tsx index 44ef6b23..8f51965c 100644 --- a/src/components/Footer.tsx +++ b/src/components/Footer.tsx @@ -1,6 +1,15 @@ -import React from 'react'; -import { useLanguage } from '../contexts/LanguageContext'; -import { Instagram, Linkedin, X, Mail, Heart, Youtube, Newspaper } from 'lucide-react'; +import React from "react"; +import { Link } from "react-router-dom"; +import { useLanguage } from "../contexts/LanguageContext"; +import { + Instagram, + Linkedin, + X, + Mail, + Heart, + Youtube, + Newspaper, +} from "lucide-react"; // Discord SVG Icon Component const DiscordIcon = ({ className }: { className?: string }) => ( @@ -41,119 +50,174 @@ const Footer = () => { const socialLinks = [ { - name: 'Discord', + name: "Discord", icon: DiscordIcon, - url: 'https://unog.dev/discord', - color: 'hover:text-indigo-500' + url: "https://unog.dev/discord", + color: "hover:text-indigo-500", }, { - name: 'Instagram', + name: "Instagram", icon: Instagram, - url: 'https://instagram.com/unoghub', - color: 'hover:text-pink-500' + url: "https://instagram.com/unoghub", + color: "hover:text-pink-500", }, { - name: 'LinkedIn', + name: "LinkedIn", icon: Linkedin, - url: 'https://linkedin.com/company/unoghub', - color: 'hover:text-blue-600' + url: "https://linkedin.com/company/unoghub", + color: "hover:text-blue-600", }, { - name: 'X', + name: "X", icon: X, - url: 'https://x.com/unoghub', - color: 'hover:text-blue-400' + url: "https://x.com/unoghub", + color: "hover:text-blue-400", }, { - name: 'YouTube', + name: "YouTube", icon: Youtube, - url: 'https://youtube.com/@unoghub', - color: 'hover:text-red-500' + url: "https://youtube.com/@unoghub", + color: "hover:text-red-500", }, { - name: 'Spotify', + name: "Spotify", icon: SpotifyIcon, - url: 'https://unog.dev/podcast', - color: 'hover:text-green-500' - } + url: "https://unog.dev/podcast", + color: "hover:text-green-500", + }, + ]; + + const quickLinks: Array<{ + label: string; + href: string; + type: "anchor" | "route"; + }> = [ + { label: t.nav.home, href: "#home", type: "anchor" }, + { label: t.nav.events, href: "#events", type: "anchor" }, + { label: t.nav.contact, href: "#contact", type: "anchor" }, + { label: t.nav.support, href: "#patreon", type: "anchor" }, + { label: t.nav.merch, href: "/merch", type: "route" }, + { label: t.nav.volunteers, href: "/gonullu", type: "route" }, ]; + const quickLinkClass = + "text-sm font-semibold tracking-tight text-slate-600 px-4 py-2 rounded-tl-xl rounded-br-xl border border-transparent bg-white/60 shadow-sm transition-all duration-200 hover:text-unog-blue hover:border-unog-blue/30 hover:-translate-y-0.5"; + return ( -