aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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>