diff --git a/app/join/page.tsx b/app/join/page.tsx new file mode 100644 index 0000000..4756061 --- /dev/null +++ b/app/join/page.tsx @@ -0,0 +1,5 @@ +import { redirect } from "next/navigation"; + +export default function JoinPage() { + redirect("https://discord.gg/yrezWw4r9r"); +} diff --git a/components/site-header.tsx b/components/site-header.tsx index 08a7f09..dd70972 100644 --- a/components/site-header.tsx +++ b/components/site-header.tsx @@ -4,6 +4,9 @@ import { useState } from "react" import Image from "next/image" import Link from "next/link" +import { urlPrefix } from "../next.config" +const BASE_PATH = urlPrefix + const navLinks = [ { label: "About", href: "/#about" }, { label: "Activity", href: "/#activity" }, @@ -23,9 +26,9 @@ export function Header() { return (
- +