From 85c0cead01f35a5c61ff261cb90c35e77453ca13 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 28 Oct 2025 21:50:31 +0000 Subject: [PATCH 1/4] Initial plan From ea054998ebd4de6b16d2c6968f97587c8e217af6 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 28 Oct 2025 21:53:29 +0000 Subject: [PATCH 2/4] Initial exploration complete Co-authored-by: Keyyard <84187238+Keyyard@users.noreply.github.com> --- package-lock.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package-lock.json b/package-lock.json index 3dfb910..80e59bf 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,5 +1,5 @@ { - "name": "mainweb", + "name": "keyyard.github.io", "version": "0.0.0", "lockfileVersion": 3, "requires": true, From c573f86ee4a12f765fe8f5d363e9b3d99bdf96a2 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Tue, 28 Oct 2025 21:58:14 +0000 Subject: [PATCH 3/4] Add Discord redirect page and configuration Co-authored-by: Keyyard <84187238+Keyyard@users.noreply.github.com> --- next.config.js | 12 +++++++++++- src/pages/discord.tsx | 27 +++++++++++++++++++++++++++ 2 files changed, 38 insertions(+), 1 deletion(-) create mode 100644 src/pages/discord.tsx diff --git a/next.config.js b/next.config.js index 7d09a11..13a7ff4 100644 --- a/next.config.js +++ b/next.config.js @@ -6,4 +6,14 @@ const withBundleAnalyzer = createBundleAnalyzer({ enabled: process.env.ANALYZE === 'true', }); -export default withBundleAnalyzer({}); \ No newline at end of file +export default withBundleAnalyzer({ + async redirects() { + return [ + { + source: '/discord', + destination: 'https://discord.gg/s2VfQr69uz', + permanent: false, + }, + ]; + }, +}); \ No newline at end of file diff --git a/src/pages/discord.tsx b/src/pages/discord.tsx new file mode 100644 index 0000000..202eb26 --- /dev/null +++ b/src/pages/discord.tsx @@ -0,0 +1,27 @@ +import { useEffect } from 'react'; +import Head from 'next/head'; + +export default function Discord() { + useEffect(() => { + // Redirect to Discord server + window.location.replace('https://discord.gg/s2VfQr69uz'); + }, []); + + return ( + <> +
+Redirecting to Discord...
+Redirecting to Discord...