forked from SquiggleTools/SquiggleConf.com
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path404.astro
More file actions
83 lines (74 loc) · 1.9 KB
/
404.astro
File metadata and controls
83 lines (74 loc) · 1.9 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
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>