import { Link } from "react-router-dom"; import { PAGE_LINKS, NAV_ACTIONS } from "../navConfig.ts"; import { useNavSections } from "../lib/navSections.ts"; import siteLogo from "../assets/logos/NGU_Logo.svg"; import PlatformIcon from "./PlatformIcon.tsx"; import { ORGANIZATION_DETAILS as Organization_Details } from "../data/organizationDetails.ts"; import { SOCIAL_LINKS } from "../data/socialLinks.ts"; // Give's destination lives in navConfig so the footer and the nav can't drift. // Only the label differs down here. const giveAction = NAV_ACTIONS.find((a) => a.variant === "fancy"); /* An internal route, or an off-site address opened in a new tab. */ type TouchLink = { label: string } & ( | { external?: false; to: string } | { external: true; href: string } ); const Get_In_Touch: TouchLink[] = [ { label: "Feedback", to: "/feedback"}, { label: "Request", to: "/request" }, { label: "Contact Us", to: "/organization#contact" }, ]; const Footer_Links = [ { label: "Privacy Policy", to: "/privacy" }, { label: "Terms of Service", to: "/terms" }, ]; const footerLinkClass = "text-white/65 hover:text-[var(--pal-green-2)] text-sm transition-colors"; // inline-block with a little height of its own, so a finger can hit it. const pageLinkClass = "inline-block py-1 text-white/80 hover:text-[var(--pal-green-2)] text-sm font-semibold transition-colors"; const sectionLinkClass = "inline-block py-1 text-white/65 hover:text-[var(--pal-green-2)] text-sm transition-colors"; const headingClass = "text-white/90 text-sm font-semibold mb-4"; export default function Footer() { const sectionsOf = useNavSections(); return ( ); }