-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path404.html
More file actions
143 lines (132 loc) · 4.07 KB
/
404.html
File metadata and controls
143 lines (132 loc) · 4.07 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
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>404 — Roving Robotics</title>
<link rel="icon" type="image/png" href="/assets/rovro.jpeg">
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@400;500;600;700&display=swap" rel="stylesheet">
<link rel="stylesheet" href="/style.css">
<style>
.not-found-wrap {
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
min-height: 70vh;
gap: 28px;
text-align: center;
padding: 0 12px;
}
.error-code {
font-size: clamp(72px, 16vw, 140px);
font-weight: 700;
letter-spacing: -0.02em;
color: var(--accent);
text-shadow:
0 0 40px rgba(77, 166, 255, 0.45),
0 0 80px rgba(77, 166, 255, 0.2);
line-height: 1;
margin: 0;
}
.error-label {
color: var(--muted);
font-size: 14px;
letter-spacing: 0.12em;
text-transform: uppercase;
margin: 0;
}
.terminal-404 {
background: var(--terminal);
border: 1px solid #1a2d40;
border-radius: 14px;
padding: 16px 20px;
font-size: 14px;
text-align: left;
width: 100%;
max-width: 480px;
box-shadow: inset 0 0 0 1px #060a10;
}
.terminal-404 .prompt { color: var(--gold); margin-bottom: 10px; }
.terminal-404 .t-line { color: #9cc9ff; margin: 4px 0; }
.terminal-404 .t-err { color: #ff5f56; margin: 4px 0; }
.terminal-404 .t-ok { color: #27c93f; margin: 4px 0; }
.terminal-404 .cursor {
display: inline-block;
width: 9px;
height: 1.1em;
background: var(--accent);
vertical-align: text-bottom;
animation: blink 1.1s step-end infinite;
opacity: 0.85;
}
@keyframes blink {
0%, 100% { opacity: 0.85; }
50% { opacity: 0; }
}
.home-btn {
display: inline-flex;
align-items: center;
gap: 8px;
background: #0c1828;
border: 1px solid var(--accent);
color: var(--accent);
text-decoration: none;
padding: 10px 22px;
border-radius: 12px;
font-family: inherit;
font-size: 14px;
font-weight: 600;
letter-spacing: 0.05em;
transition: box-shadow 0.2s ease, background 0.2s ease, transform 0.15s ease;
box-shadow:
0 0 14px rgba(77, 166, 255, 0.2),
0 0 0 1px rgba(77, 166, 255, 0.15);
}
.home-btn:hover {
background: #0f1f36;
transform: translateY(-1px);
box-shadow:
0 0 24px rgba(77, 166, 255, 0.35),
0 0 0 1px rgba(77, 166, 255, 0.3);
}
</style>
</head>
<body>
<div class="viewport-chrome">
<div class="window-dots">
<span class="dot dot-red"></span>
<span class="dot dot-yellow"></span>
<span class="dot dot-green"></span>
</div>
</div>
<main class="frame">
<div class="not-found-wrap">
<p class="error-code">404</p>
<p class="error-label">// route not found</p>
<div class="terminal-404">
<div class="prompt">$ GET https://rovingrobotics.com<span id="path-display"></span></div>
<div class="t-err">✖ 404 Not Found — mission aborted</div>
<div class="t-line">📡 Pinging known waypoints...</div>
<div class="t-line">🛰️ No route to host</div>
<div class="t-ok">↩ Returning to base<span class="cursor"></span></div>
</div>
<a class="home-btn" href="/">
<svg viewBox="0 0 24 24" width="16" height="16" fill="currentColor" aria-hidden="true">
<path d="M10 20v-6h4v6h5v-8h3L12 3 2 12h3v8z"/>
</svg>
Return to base
</a>
</div>
</main>
<script>
// Show the path that 404'd so the error feels specific
const p = window.location.pathname;
if (p && p !== '/404.html') {
document.getElementById('path-display').textContent = p;
}
</script>
</body>
</html>