-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path404.html
More file actions
321 lines (270 loc) · 7.66 KB
/
Copy path404.html
File metadata and controls
321 lines (270 loc) · 7.66 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
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<!-- Google Analytics 4 -->
<script async src="https://www.googletagmanager.com/gtag/js?id=G-QZEHV2ZQS2"></script>
<script>
window.dataLayer = window.dataLayer || [];
function gtag(){dataLayer.push(arguments);}
gtag('js', new Date());
gtag('config', 'G-QZEHV2ZQS2');
</script>
<meta name="robots" content="noindex, nofollow" />
<title>404 — page not found | Archit Konde</title>
<link rel="icon"
href="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'><rect width='32' height='32' rx='4' fill='%231e1e1e'/><text x='5' y='25' font-family='monospace' font-size='22' font-weight='bold' fill='%23C9A84C'>%3E</text></svg>" />
<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:ital,wght@0,400;0,600;0,700;1,400&display=swap"
rel="stylesheet" />
<link rel="stylesheet" href="styles/main.min.css" />
<style>
/* ── Same palette as the main site ── */
:root {
--bg: #1e1e1e;
--surface: #252526;
--border: #3e3e42;
--text: #d4d4d4;
--muted: #858585;
--accent: #C9A84C;
--font: 'JetBrains Mono', 'Fira Code', monospace;
}
*,
*::before,
*::after {
box-sizing: border-box;
margin: 0;
padding: 0;
}
html,
body {
height: 100%;
font-family: var(--font);
background: var(--bg);
color: var(--text);
-webkit-font-smoothing: antialiased;
}
::selection {
background: var(--accent);
color: var(--bg);
}
/* Center the terminal window on the page */
.page {
min-height: 100vh;
display: flex;
align-items: center;
justify-content: center;
padding: 2rem;
}
/* Terminal window */
.term {
border: 1px solid var(--border);
border-radius: 8px;
overflow: hidden;
background: var(--surface);
width: 100%;
max-width: 580px;
}
/* Top bar with traffic light dots */
.term-bar {
display: flex;
align-items: center;
gap: 0.8rem;
padding: 0.6rem 1.2rem;
background: rgba(62, 62, 66, 0.25);
border-bottom: 1px solid var(--border);
}
.dots {
display: flex;
gap: 6px;
}
.dot {
width: 12px;
height: 12px;
border-radius: 50%;
}
.d-r {
background: #ff5f57;
}
.d-y {
background: #febc2e;
}
.d-g {
background: #28c840;
}
.bar-label {
font-size: 0.72rem;
color: var(--muted);
margin: 0 auto;
padding-right: 46px;
/* optical center */
}
/* Terminal body */
.term-body {
padding: 1.6rem 2rem 2rem;
display: flex;
flex-direction: column;
gap: 0.6rem;
line-height: 1.6;
}
.line {
font-size: 0.82rem;
}
.prompt {
color: var(--accent);
font-weight: 600;
}
.cmd {
color: var(--text);
}
.error-line {
color: #f14c4c;
font-size: 0.82rem;
}
.dim {
color: var(--muted);
font-size: 0.78rem;
}
/* The big 404 */
.code-block {
margin: 1.2rem 0 0.8rem 1rem;
}
.err-code {
font-size: 4rem;
font-weight: 700;
color: var(--accent);
letter-spacing: -0.04em;
line-height: 1;
}
.err-msg {
font-size: 0.88rem;
color: var(--muted);
margin-top: 0.3rem;
}
/* Suggestion list */
.suggestions {
margin: 0.8rem 0 0 1rem;
display: flex;
flex-direction: column;
gap: 0.3rem;
}
.suggestions li {
list-style: none;
font-size: 0.80rem;
color: var(--muted);
}
.suggestions li::before {
content: '→ ';
color: var(--accent);
}
/* Home button */
.home-btn {
display: inline-block;
margin: 1.4rem 0 0 1rem;
padding: 0.5rem 1.2rem;
border: 1px solid var(--accent);
color: var(--accent);
text-decoration: none;
font-family: var(--font);
font-size: 0.82rem;
transition: background 0.2s ease, color 0.2s ease;
}
.home-btn:hover {
background: var(--accent);
color: var(--bg);
}
/* Idle blinking cursor */
.cursor {
color: var(--text);
animation: blink 1s step-end infinite;
}
@keyframes blink {
0%,
100% {
opacity: 1;
}
50% {
opacity: 0;
}
}
/* Responsive */
@media (max-width: 480px) {
.err-code {
font-size: 3rem;
}
.term-body {
padding: 1.2rem;
}
}
</style>
</head>
<body oncontextmenu="return false;">
<div class="page">
<div class="term">
<!-- Terminal chrome -->
<div class="term-bar">
<div class="dots">
<span class="dot d-r"></span>
<span class="dot d-y"></span>
<span class="dot d-g"></span>
</div>
<span class="bar-label">archit@portfolio: ~/404</span>
</div>
<!-- Terminal body -->
<div class="term-body">
<p class="line">
<span class="prompt">archit@portfolio:~$</span>
<span class="cmd"> cd /the-page-you-were-looking-for</span>
</p>
<p class="error-line">
bash: cd: /the-page-you-were-looking-for: No such file or directory
</p>
<div class="code-block">
<p class="err-code">404</p>
<p class="err-msg">// page not found.</p>
</div>
<p class="dim">this path doesn't exist. here's where you can go instead:</p>
<ul class="suggestions">
<li>double-check the URL for typos</li>
<li>the page may have been moved or renamed</li>
<li>head back to the home page</li>
</ul>
<a href="/" class="home-btn">
<span style="color: var(--accent);">→</span> go home
</a>
<p class="line" style="margin-top: 1.4rem;">
<span class="prompt">archit@portfolio:~$</span><span class="cursor"> █</span>
</p>
</div>
</div>
</div>
<!-- ═══════════════════════════════════════════════════════════
COMMAND PALETTE (Ctrl+K / Cmd+K)
VS Code-style quick action overlay.
═══════════════════════════════════════════════════════════════ -->
<div id="cmd-palette" class="cmd-palette" role="dialog" aria-modal="true" aria-label="Command palette" hidden>
<div class="cmd-backdrop"></div>
<div class="cmd-modal">
<div class="cmd-input-row">
<span class="cmd-icon">></span>
<input id="cmd-input" class="cmd-search" type="text" placeholder="Type a command..." autocomplete="off"
spellcheck="false" />
<kbd class="cmd-kbd">ESC</kbd>
</div>
<ul id="cmd-list" class="cmd-list" role="listbox"></ul>
<div class="cmd-footer">
<span><kbd>↑↓</kbd> navigate</span>
<span><kbd>↵</kbd> select</span>
<span><kbd>esc</kbd> close</span>
</div>
</div>
</div>
<!-- Command Palette floating toggle (bottom-left) -->
<button id="cmd-pal-btn" class="cmd-pal-btn" aria-label="Open command palette">
<span class="accent">></span> ⌘K
</button>
<script src="scripts/app.min.js"></script>
</body>
</html>