mirror of
https://github.com/System-End/campfire.git
synced 2026-04-19 16:28:22 +00:00
Feat: workflows
This commit is contained in:
parent
a450a6c941
commit
e699f7ac96
3 changed files with 40 additions and 6 deletions
|
|
@ -1,3 +1,39 @@
|
||||||
---
|
---
|
||||||
return Astro.redirect("/phoenix");
|
import "../styles/global.css";
|
||||||
---
|
---
|
||||||
|
|
||||||
|
<!doctype html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8" />
|
||||||
|
<link rel="icon" type="image/png" href="/favicon.png" />
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
||||||
|
<title>404 - Page Not Found | Campfire</title>
|
||||||
|
</head>
|
||||||
|
<body class="bg-[#45b4f4] min-h-screen flex items-center justify-center">
|
||||||
|
<div class="text-center px-8">
|
||||||
|
<h1
|
||||||
|
class="text-[#fcf5ed] text-[120px] md:text-[180px] font-dream-planner leading-none"
|
||||||
|
style="text-shadow: 5px 8px 0px rgba(0,0,0,0.25);"
|
||||||
|
>
|
||||||
|
404
|
||||||
|
</h1>
|
||||||
|
<p
|
||||||
|
class="text-white text-2xl md:text-4xl font-bold font-ember-and-fire mb-8"
|
||||||
|
style="text-shadow: 0px 4px 4px rgba(0,0,0,0.25);"
|
||||||
|
>
|
||||||
|
Page not found
|
||||||
|
</p>
|
||||||
|
<a
|
||||||
|
href="/phoenix"
|
||||||
|
class="inline-block bg-[#fca147] border-[5px] border-[rgba(0,0,0,0.2)] rounded-[20px] px-8 py-4 hover:scale-105 transition-transform shadow-[0_8px_20px_rgba(0,0,0,0.25)]"
|
||||||
|
>
|
||||||
|
<span
|
||||||
|
class="text-[#8d3f34] text-2xl md:text-3xl font-dream-planner"
|
||||||
|
>
|
||||||
|
Go to Phoenix
|
||||||
|
</span>
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
|
|
|
||||||
|
|
@ -12,12 +12,7 @@ export async function getStaticPaths() {
|
||||||
}
|
}
|
||||||
|
|
||||||
const { slug } = Astro.params;
|
const { slug } = Astro.params;
|
||||||
|
|
||||||
const satelliteData = await getSatelliteData(slug as string);
|
const satelliteData = await getSatelliteData(slug as string);
|
||||||
|
|
||||||
if (!satelliteData) {
|
|
||||||
return Astro.redirect("/404");
|
|
||||||
}
|
|
||||||
---
|
---
|
||||||
|
|
||||||
<!doctype html>
|
<!doctype html>
|
||||||
|
|
|
||||||
3
astro/src/pages/index.astro
Normal file
3
astro/src/pages/index.astro
Normal file
|
|
@ -0,0 +1,3 @@
|
||||||
|
---
|
||||||
|
return Astro.redirect("/phoenix");
|
||||||
|
---
|
||||||
Loading…
Add table
Reference in a new issue