From ec742b15dbdbf42a8a84dd3636b6c389603b40ee Mon Sep 17 00:00:00 2001 From: Ludoviko Date: Fri, 23 Jul 2021 17:28:40 +0100 Subject: [PATCH] Added redirect and blank index --- next-env.d.ts | 1 + next.config.js | 10 +++++++++ pages/index.tsx | 55 +++++-------------------------------------------- 3 files changed, 16 insertions(+), 50 deletions(-) diff --git a/next-env.d.ts b/next-env.d.ts index 7b7aa2c..c6643fd 100644 --- a/next-env.d.ts +++ b/next-env.d.ts @@ -1,2 +1,3 @@ /// /// +/// diff --git a/next.config.js b/next.config.js index 0d60710..c824bb9 100644 --- a/next.config.js +++ b/next.config.js @@ -1,3 +1,13 @@ + module.exports = { reactStrictMode: true, + async redirects() { + return [ + { + source: '/discord', + destination: 'https://discord.gg/ugxv4ZrVjC', + permanent: true + } + ] + } } diff --git a/pages/index.tsx b/pages/index.tsx index 08145bb..21c89c9 100644 --- a/pages/index.tsx +++ b/pages/index.tsx @@ -6,64 +6,19 @@ export default function Home() { return (
- Create Next App + Vanner Bast | Friends Best

- Welcome to Next.js! + Welcome to Vanner Bast.

- -

- Get started by editing{' '} - pages/index.js -

- - +

+ This website is currently WIP. +

- -
) }