diff options
| author | Andrew Lee <andrew@alee14.me> | 2026-10-07 11:29:41 -0400 |
|---|---|---|
| committer | Andrew Lee <andrew@alee14.me> | 2026-10-07 11:29:41 -0400 |
| commit | 780a4a04339764fd1044d0e6f60a57319efe84c9 (patch) | |
| tree | a74e8078df41469d3fdc46b564d3b30e45780755 | |
| parent | 9eba00c68715e104bb3af3884e508728169aa493 (diff) | |
| download | shiftos-archive-website-780a4a04339764fd1044d0e6f60a57319efe84c9.tar.gz shiftos-archive-website-780a4a04339764fd1044d0e6f60a57319efe84c9.tar.bz2 shiftos-archive-website-780a4a04339764fd1044d0e6f60a57319efe84c9.zip | |
added redirects
| -rw-r--r-- | astro.config.mjs | 6 | ||||
| -rw-r--r-- | public/discord/index.json | 4 | ||||
| -rw-r--r-- | src/pages/index.astro | 4 |
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> |
