aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Lee <andrew@alee14.me>2026-10-07 11:29:41 -0400
committerAndrew Lee <andrew@alee14.me>2026-10-07 11:29:41 -0400
commit780a4a04339764fd1044d0e6f60a57319efe84c9 (patch)
treea74e8078df41469d3fdc46b564d3b30e45780755
parent9eba00c68715e104bb3af3884e508728169aa493 (diff)
downloadshiftos-archive-website-780a4a04339764fd1044d0e6f60a57319efe84c9.tar.gz
shiftos-archive-website-780a4a04339764fd1044d0e6f60a57319efe84c9.tar.bz2
shiftos-archive-website-780a4a04339764fd1044d0e6f60a57319efe84c9.zip
added redirects
-rw-r--r--astro.config.mjs6
-rw-r--r--public/discord/index.json4
-rw-r--r--src/pages/index.astro4
3 files changed, 9 insertions, 5 deletions
diff --git a/astro.config.mjs b/astro.config.mjs
index 53e49de..9fa31c5 100644
--- a/astro.config.mjs
+++ b/astro.config.mjs
@@ -5,5 +5,9 @@ import react from '@astrojs/react';
// https://astro.build/config
export default defineConfig({
+ redirects: {
+ "/wiki": "https://wiki.shiftos.dev",
+ "/videos": "https://www.youtube.com/@ShiftOS"
+ },
integrations: [react()]
-}); \ No newline at end of file
+});
diff --git a/public/discord/index.json b/public/discord/index.json
index 8b6418d..91afe16 100644
--- a/public/discord/index.json
+++ b/public/discord/index.json
@@ -26,8 +26,8 @@
"components": [
{ "type": 2, "style": 5, "url": "https://shiftos.dev/history", "label": "History" },
{ "type": 2, "style": 5, "url": "https://shiftos.dev/downloads", "label": "Downlaods" },
- { "type": 2, "style": 5, "url": "https://wiki.shiftos.dev", "label": "Wiki" },
- { "type": 2, "style": 5, "url": "https://www.youtube.com/@ShiftOS", "label": "Videos" }
+ { "type": 2, "style": 5, "url": "https://shiftos.dev/wiki", "label": "Wiki" },
+ { "type": 2, "style": 5, "url": "https://shiftos.dev/videos", "label": "Videos" }
]
}
],
diff --git a/src/pages/index.astro b/src/pages/index.astro
index dfab327..0c2b843 100644
--- a/src/pages/index.astro
+++ b/src/pages/index.astro
@@ -25,8 +25,8 @@ import Slideshow from '../components/Slideshow.tsx';
<div class="nav">
<a class="button" href="history">History</a>
<a class="button" href="downloads">Downloads</a>
- <a class="button" href="https://wiki.shiftos.dev">Wiki</a>
- <a class="button" href="https://www.youtube.com/c/ShiftOS">Videos</a>
+ <a class="button" href="wiki">Wiki</a>
+ <a class="button" href="videos">Videos</a>
</div>
</div>
</div>