diff --git a/components/Footer.tsx b/components/Footer.tsx index 605ad93..3f97bc9 100644 --- a/components/Footer.tsx +++ b/components/Footer.tsx @@ -1,87 +1,101 @@ import Image from "next/image"; -import { FaGithub, FaInstagram, FaLinkedin } from "react-icons/fa"; -import gpklogo from "@/public/gpk_logo_transparent.png"; +import { FaDiscord, FaGithub, FaInstagram, FaLinkedin, FaYoutube } from "react-icons/fa"; +import gpklogo from "@/public/gpk_logo_new.webp"; -const links = [ +const linkGroups = [ { title: "Club", - text: ["Home", "About us", "Challenges", "Team"], - links: ["#home", "#about", "#challenges", "#team"] + links: [ + { label: "Home", href: "#home" }, + { label: "About us", href: "#about" }, + { label: "Challenges", href: "#challenges" }, + { label: "Team", href: "#team" }, + ], }, { title: "Resources", - text: ["Workshop Slides", "Challenges Archive", "GitHub Repos", "LinkTree"], - links: ["https://github.com/GraphicsProgrammingKnights/Workshops", "#challenges", "https://github.com/orgs/GraphicsProgrammingKnights/repositories", "https://linktr.ee/GPKnights"] + links: [ + { label: "Workshop Slides", href: "https://github.com/GraphicsProgrammingKnights/Workshops" }, + { label: "GitHub Repos", href: "https://github.com/orgs/GraphicsProgrammingKnights/repositories" }, + { label: "Linktree", href: "https://linktr.ee/GPKnights" }, + ], }, - { - title: "Connect", - text: ["Discord", "Instagram", "Linkedin", "Youtube"], - links: ["https://discord.gg/h9VRpcQDV", "https://www.instagram.com/gpknights_", - "https://www.linkedin.com/company/graphics-programming-knights/", "https://www.youtube.com/@GraphicProgrammingKnights"] - } -] +]; -function FooterRow({ name, option, links }: { name: string; option: string[]; links: string[] }) { - return ( -
- {name} - {option.map((o, i) => ( - - {o} - - ))} -
- ) -} +const socialLinks = [ + { label: "Discord", href: "https://discord.gg/h9VRpcQDV", icon: FaDiscord }, + { label: "Instagram", href: "https://www.instagram.com/gpknights_", icon: FaInstagram }, + { label: "LinkedIn", href: "https://www.linkedin.com/company/graphics-programming-knights/", icon: FaLinkedin }, + { label: "YouTube", href: "https://www.youtube.com/@GraphicProgrammingKnights", icon: FaYoutube }, + { label: "GitHub", href: "https://github.com/GraphicsProgrammingKnights/gpkweb", icon: FaGithub }, +]; + +const focusStyles = "focus-visible:outline-2 focus-visible:outline-offset-4 focus-visible:outline-accent-light"; export default function Footer() { return ( -
-
-
-
- GPK Logo - Graphics Programming
Knights
-

- UCF's Computer Graphics RSO.
- Building the next generation of
- graphics engineers.
+

+
+
+
+ GPK logo +
+

+ Graphics Programming Knights +

+

+ UCF's computer graphics community. +

+
+
+ {linkGroups.map((group) => ( + + ))} +
+
+

+ © 2026 Graphics Programming Knights

+
    + {socialLinks.map(({ label, href, icon: Icon }) => ( +
  • + + +
  • + ))} +
- {links.map(s => )} -
-
-
-

- © 2026 Graphics Programming Knights · UCF RSO -

-
- ) + ); }