Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
83 changes: 83 additions & 0 deletions src/pages/404.astro
Original file line number Diff line number Diff line change
@@ -0,0 +1,83 @@
---
import PageLayout from "~/layouts/PageLayout.astro";
---

<PageLayout description="Page not found - SquiggleConf" title="404">
<div class="error-container">
<div class="error-box">
<div class="error-title">404: NOT_FOUND</div>
<div class="error-code">Code: `NOT_FOUND`</div>
<div class="error-message">
You've drifted into uncharted waters. Navigate back to the surface?
</div>
</div>

<a href="/" class="home-link"> Home Page </a>
</div>
</PageLayout>

<style>
.error-container {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
min-height: 60vh;
padding: 2rem;
height: 100vh;
background: var(--colorSandBackground);
}

.error-box {
background: var(--colorSandBackground);
border: 1px solid var(--colorSandLight);
border-radius: 8px;
padding: 2rem;
margin-bottom: 2rem;
text-align: left;
box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
max-width: 500px;
width: 100%;
}

.error-title {
font-family: var(--fontFamilyHeading);
font-size: var(--fontSizeLarge);
font-weight: var(--fontWeightBold);
color: var(--colorSandForeground);
margin-bottom: 0.5rem;
}

.error-code {
font-family: var(--fontFamilyBody);
font-size: var(--fontSizeSmall);
color: var(--colorSandForeground);
margin-bottom: 1rem;
}

.error-message {
font-family: var(--fontFamilyBody);
font-size: var(--fontSizeSmall);
color: var(--colorSandForeground);
line-height: 1.5;
}

.home-link {
background: var(--colorSandBackground);
border: 1px solid var(--colorSandForeground);
border-radius: 4px;
color: var(--colorSandForeground);
text-decoration: none;
padding: 0.75rem 1.5rem;
font-family: var(--fontFamilyBody);
font-size: var(--fontSizeSmall);
text-align: center;
transition: all var(--colorBlue3);
display: inline-block;
}

.home-link:hover {
background: var(--colorBlue3);
color: var(--colorForegroundAccent);
}
</style>