-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path404.html
More file actions
155 lines (131 loc) · 3.56 KB
/
404.html
File metadata and controls
155 lines (131 loc) · 3.56 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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width,initial-scale=1" />
<title>RIGNITC | Page Not Found</title>
<link rel="canonical" href="https://rignitc.com/404" />
<link rel="icon" type="image/png" href="/assets/images/logog.webp" />
<!-- Global styles -->
<link rel="stylesheet" href="/src/styles/fonts.css" />
<link rel="stylesheet" href="/src/styles/navbar.css" />
<link rel="stylesheet" href="/src/styles/footer.css" />
<link rel="stylesheet" href="/src/styles/cursor.css" />
<!-- Fonts -->
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@300;600;800&family=Sora:wght@400;600&family=Orbitron:wght@400;700&display=swap" rel="stylesheet" />
<style>
:root {
--bg:#000;
--fg:#fff;
--radius:14px;
}
* {
box-sizing:border-box;
margin:0;
padding:0;
}
html, body {
min-height:100%;
}
body {
display: flex;
flex-direction: column;
min-height: 100vh;
margin: 0;
background: var(--bg);
color: var(--fg);
font-family: "Inter", system-ui, -apple-system, "Segoe UI", Roboto;
}
/* main should take remaining space */
main {
flex: 1;
display: flex;
flex-direction: column;
align-items: center;
text-align: center;
padding: 120px 22px;
width: 100%;
}
/* footer should stretch full width */
#footer-placeholder {
width: 100%;
}
.error-art {
display:flex;
flex-direction:column;
align-items:center;
gap:14px;
margin:40px 0 20px;
}
.error-art img {
filter: grayscale(100%) contrast(100%);
width: min(680px, 92vw);
border-radius: 16px;
box-shadow: 0 8px 30px rgba(0,0,0,0.55);
border: 1px solid rgba(255,255,255,0.08);
}
.tagline {
font-weight:600;
color:rgba(255,255,255,0.85);
margin-top:10px;
}
.error-message {
font-size:1.2rem;
color:rgba(255,255,255,.8);
margin-bottom:24px;
}
.home-link {
background:var(--fg);
color:var(--bg);
padding:12px 28px;
border-radius:var(--radius);
text-decoration:none;
font-weight:700;
transition:.3s ease;
}
.home-link:hover {
background:rgba(255,255,255,.85);
}
.sr-only {
position:absolute;
width:1px;
height:1px;
overflow:hidden;
clip:rect(0,0,0,0);
}
</style>
</head>
<body>
<!-- Navbar -->
<div id="navbar-placeholder"></div>
<!-- Main content -->
<main>
<h1 class="sr-only">404 — Page Not Found</h1>
<figure class="error-art">
<img
src="https://rignitc.com/assets/images/main/404.webp"
alt="Page not found illustration"
loading="eager"
/>
</figure>
<div class="tagline">Oops! The page you are looking for does not exist.</div>
<p class="error-message">
It might have been moved or never existed.
</p>
<a href="https://rignitc.com" class="home-link">Go Back Home</a>
</main>
<!-- Footer -->
<div id="footer-placeholder"></div>
<!-- Cursor -->
<div class="cursor"></div>
<div class="cursor-ring"></div>
<!-- Scripts -->
<script src="/src/scripts/cursor.js"></script>
<script src="/src/scripts/mobile-navbar.js"></script>
<script src="/src/scripts/componentLoader.js"></script>
<script>
loadComponent("navbar-placeholder", "/src/components/navbar.html");
loadComponent("footer-placeholder", "/src/components/footer.html");
</script>
</body>
</html>