diff --git a/website/src/components/Footer.astro b/website/src/components/Footer.astro index bbb668c2..618101d1 100644 --- a/website/src/components/Footer.astro +++ b/website/src/components/Footer.astro @@ -1,13 +1,19 @@ --- -import { GITHUB_REPO_URL } from '@/consts'; +import { DISCORD_INVITE_URL, GITHUB_REPO_URL } from '@/consts'; import { ArrowUpRight } from 'lucide-react'; +import GitHub from './icons/GitHub'; +import Discord from './icons/Discord'; -const navLinks = [ +type NavLink = { + href: string; + label: string; + external?: boolean; +}; +const navLinks: NavLink[] = [ { href: '/', label: 'Home' }, { href: '/docs', label: 'Docs' }, { href: '/blog', label: 'Blog' }, { href: '/privacy', label: 'Privacy' }, - { href: GITHUB_REPO_URL, label: 'GitHub', external: true }, ]; type Props = { @@ -17,14 +23,36 @@ const { class: className } = Astro.props; --- diff --git a/website/src/components/NavBar/MobileNav.tsx b/website/src/components/NavBar/MobileNav.tsx index e62c3393..f738a232 100644 --- a/website/src/components/NavBar/MobileNav.tsx +++ b/website/src/components/NavBar/MobileNav.tsx @@ -22,7 +22,7 @@ export default function MobileNav({ navLinks, currentPath, dark = false, childre {/* Trigger button - hamburger menu */} diff --git a/website/src/components/NavBar/NavBar.astro b/website/src/components/NavBar/NavBar.astro index d52b41bb..07e7916e 100644 --- a/website/src/components/NavBar/NavBar.astro +++ b/website/src/components/NavBar/NavBar.astro @@ -37,7 +37,7 @@ const { class: className, dark = false } = Astro.props; Video.js -