From 6b613a3f848a4efa1f0503403619513c664ed1b4 Mon Sep 17 00:00:00 2001 From: Dorian Niemiec Date: Sat, 7 Sep 2024 12:14:24 +0200 Subject: [PATCH] fix: remove the placeholder forum page, and change the link to forum to point to actual SVR.JS forum --- app/(root)/forum/page.tsx | 13 ------------- constants/index.tsx | 4 ++-- 2 files changed, 2 insertions(+), 15 deletions(-) delete mode 100644 app/(root)/forum/page.tsx diff --git a/app/(root)/forum/page.tsx b/app/(root)/forum/page.tsx deleted file mode 100644 index 1db46da..0000000 --- a/app/(root)/forum/page.tsx +++ /dev/null @@ -1,13 +0,0 @@ -import React from "react"; - -import { Metadata } from "next"; - -export const metadata: Metadata = { - title: "Forum - SVR.JS" -}; - -const Forum = () => { - return
Forum
; -}; - -export default Forum; diff --git a/constants/index.tsx b/constants/index.tsx index 62604e7..59e1546 100644 --- a/constants/index.tsx +++ b/constants/index.tsx @@ -31,7 +31,7 @@ export const NAVBAR = { label: "Blog" }, { - href: "/forum", + href: "https://forum.svrjs.org", target: "_self", label: "Forum" } @@ -140,7 +140,7 @@ export const FOOTERLINKS = { { href: "/", label: "Home" }, { href: "/contact", label: "Contact" }, { href: "/blog", label: "Blog" }, - { href: "/forum", label: "Forum" } + { href: "https://forum.svrjs.org", label: "Forum" } ], plans: [ { href: "/docs", label: "Docs" },