diff --git a/src/components/nav/Footer.tsx b/src/components/nav/Footer.tsx index 7f9c1509..dc395ef6 100644 --- a/src/components/nav/Footer.tsx +++ b/src/components/nav/Footer.tsx @@ -1,20 +1,28 @@ import Image from 'next/image'; import Link from 'next/link'; +import { ReactNode } from 'react'; import { links } from '../../consts/links'; import { Discord } from '../icons/Discord'; import { Github } from '../icons/Github'; import { Twitter } from '../icons/Twitter'; -const footerLinks1 = [ - { title: 'Docs', url: links.docs, external: true }, - { title: 'Homepage', url: links.home, external: true }, - { title: 'Explorer', url: links.explorer, external: true }, -]; +type FooterLink = { + title: string; + url: string; + external: boolean; + icon?: ReactNode; +}; -const footerLinks3 = [ +const footerLinks: FooterLink[] = [ + { title: 'Docs', url: links.docs, external: true }, + { title: 'Terms', url: links.tos, external: true }, { title: 'Twitter', url: links.twitter, external: true, icon: }, + { title: 'Homepage', url: links.home, external: true }, + { title: 'Privacy', url: links.privacyPolicy, external: true }, { title: 'Discord', url: links.discord, external: true, icon: }, + { title: 'Explorer', url: links.explorer, external: true }, + { title: 'Bounty', url: links.bounty, external: true }, { title: 'Github', url: links.github, external: true, icon: }, ]; @@ -46,21 +54,8 @@ function FooterLogo() { function FooterNav() { return (