From e699f7ac9691e814a84bcdeb582950c8069e326a Mon Sep 17 00:00:00 2001 From: End Date: Sun, 25 Jan 2026 13:33:52 -0700 Subject: [PATCH] Feat: workflows --- astro/src/pages/404.astro | 38 ++++++++++++++++++++++++++++++++- astro/src/pages/[...slug].astro | 5 ----- astro/src/pages/index.astro | 3 +++ 3 files changed, 40 insertions(+), 6 deletions(-) create mode 100644 astro/src/pages/index.astro diff --git a/astro/src/pages/404.astro b/astro/src/pages/404.astro index 958d8bb..10732c5 100644 --- a/astro/src/pages/404.astro +++ b/astro/src/pages/404.astro @@ -1,3 +1,39 @@ --- -return Astro.redirect("/phoenix"); +import "../styles/global.css"; --- + + + + + + + + 404 - Page Not Found | Campfire + + +
+

+ 404 +

+

+ Page not found +

+ + + Go to Phoenix + + +
+ + diff --git a/astro/src/pages/[...slug].astro b/astro/src/pages/[...slug].astro index d10c878..0c7d3a8 100644 --- a/astro/src/pages/[...slug].astro +++ b/astro/src/pages/[...slug].astro @@ -12,12 +12,7 @@ export async function getStaticPaths() { } const { slug } = Astro.params; - const satelliteData = await getSatelliteData(slug as string); - -if (!satelliteData) { - return Astro.redirect("/404"); -} --- diff --git a/astro/src/pages/index.astro b/astro/src/pages/index.astro new file mode 100644 index 0000000..958d8bb --- /dev/null +++ b/astro/src/pages/index.astro @@ -0,0 +1,3 @@ +--- +return Astro.redirect("/phoenix"); +---