Repository navigation
Expand file tree
/
Copy path404.html
More file actions
417 lines (372 loc) · 12.2 KB
/
Copy path404.html
File metadata and controls
417 lines (372 loc) · 12.2 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
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
<!DOCTYPE html>
<html lang="en" class="dark">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>404: Not Found — ColtaneDB Cluster Route</title>
<meta name="description" content="The requested route or entity was not found in the ColtaneDB cluster. Return to home or explore the interactive Colt query studio.">
<meta name="theme-color" content="#08090c">
<!-- Open Graph -->
<meta property="og:type" content="website">
<meta property="og:url" content="https://coltanedb.vercel.app/404">
<meta property="og:title" content="404: Route Not Found — ColtaneDB">
<meta property="og:description" content="The requested path could not be resolved by the ColtaneDB cluster router.">
<meta property="og:image" content="https://coltanedb.vercel.app/og-image.png">
<!-- Favicons -->
<link rel="icon" type="image/x-icon" href="/favicon.ico">
<link rel="icon" type="image/png" sizes="32x32" href="/favicon-32x32.png">
<link rel="icon" type="image/svg+xml" href="/coltanedb-logo.svg">
<link rel="apple-touch-icon" href="/apple-touch-icon.png">
<link rel="manifest" href="/site.webmanifest">
<!-- Fonts -->
<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=Geist:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500;600;700&family=Space+Grotesk:wght@500;600;700&display=swap" rel="stylesheet">
<style>
:root {
--bg: #08090c;
--surface: #0e1117;
--card-bg: rgba(18, 22, 31, 0.75);
--border: rgba(255, 255, 255, 0.08);
--border-glow: rgba(56, 189, 248, 0.3);
--text: #f1f5f9;
--text-muted: #94a3b8;
--text-dim: #64748b;
--accent: #38bdf8;
--accent-soft: rgba(56, 189, 248, 0.12);
--emerald: #34d399;
--rose: #f43f5e;
--rose-soft: rgba(244, 63, 94, 0.12);
--code-bg: #07090e;
}
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}
body {
background-color: var(--bg);
color: var(--text);
font-family: 'Geist', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
min-height: 100vh;
display: flex;
flex-direction: column;
background-image:
radial-gradient(circle at 50% 20%, rgba(244, 63, 94, 0.08), transparent 45%),
radial-gradient(circle at 80% 80%, rgba(56, 189, 248, 0.08), transparent 50%);
background-attachment: fixed;
}
a {
color: var(--accent);
text-decoration: none;
transition: color 0.15s ease;
}
a:hover {
color: #7dd3fc;
text-decoration: underline;
}
/* Top Nav */
.top-nav {
backdrop-filter: blur(16px);
-webkit-backdrop-filter: blur(16px);
background: rgba(8, 9, 12, 0.85);
border-bottom: 1px solid var(--border);
padding: 0.75rem 1.5rem;
display: flex;
align-items: center;
justify-content: space-between;
}
.brand {
display: flex;
align-items: center;
gap: 0.75rem;
color: var(--text);
text-decoration: none;
}
.brand strong {
font-family: 'Space Grotesk', sans-serif;
font-size: 18px;
font-weight: 700;
letter-spacing: -0.02em;
}
.nav-links {
display: flex;
align-items: center;
gap: 1.25rem;
}
.nav-link {
font-size: 13.5px;
color: var(--text-muted);
font-weight: 500;
text-decoration: none;
transition: color 0.15s ease;
}
.nav-link:hover {
color: var(--text);
text-decoration: none;
}
.btn {
display: inline-flex;
align-items: center;
gap: 0.5rem;
padding: 0.6rem 1.15rem;
border-radius: 8px;
font-size: 13px;
font-weight: 600;
cursor: pointer;
border: 1px solid var(--border);
background: rgba(255, 255, 255, 0.05);
color: var(--text);
transition: all 0.2s ease;
text-decoration: none;
}
.btn:hover {
background: rgba(255, 255, 255, 0.1);
border-color: rgba(255, 255, 255, 0.25);
text-decoration: none;
transform: translateY(-1px);
}
.btn-primary {
background: linear-gradient(135deg, #0284c7, #0ea5e9);
border-color: #38bdf8;
color: #ffffff;
box-shadow: 0 0 15px rgba(14, 165, 233, 0.35);
}
.btn-primary:hover {
background: linear-gradient(135deg, #0369a1, #0284c7);
box-shadow: 0 0 20px rgba(14, 165, 233, 0.55);
}
/* Main Error Container */
.error-wrapper {
max-width: 760px;
margin: auto;
padding: 3rem 1.5rem;
text-align: center;
display: flex;
flex-direction: column;
align-items: center;
}
.error-badge {
display: inline-flex;
align-items: center;
gap: 0.4rem;
padding: 0.25rem 0.75rem;
border-radius: 9999px;
font-size: 12px;
font-weight: 700;
text-transform: uppercase;
letter-spacing: 0.06em;
background: var(--rose-soft);
border: 1px solid rgba(244, 63, 94, 0.3);
color: var(--rose);
margin-bottom: 1.5rem;
}
.giant-code {
font-family: 'Space Grotesk', sans-serif;
font-size: clamp(72px, 14vw, 130px);
font-weight: 800;
letter-spacing: -0.05em;
line-height: 1;
background: linear-gradient(135deg, #ffffff 30%, #94a3b8 70%, #38bdf8 100%);
-webkit-background-clip: text;
background-clip: text;
-webkit-text-fill-color: transparent;
text-shadow: 0 0 40px rgba(56, 189, 248, 0.2);
margin-bottom: 0.75rem;
}
.error-title {
font-family: 'Space Grotesk', sans-serif;
font-size: clamp(20px, 4vw, 28px);
font-weight: 700;
letter-spacing: -0.02em;
margin-bottom: 0.75rem;
}
.error-desc {
font-size: 15px;
color: var(--text-muted);
max-width: 520px;
margin-bottom: 2rem;
line-height: 1.6;
}
/* Interactive Terminal Simulator */
.terminal-card {
width: 100%;
background: var(--code-bg);
border: 1px solid var(--border);
border-radius: 12px;
overflow: hidden;
text-align: left;
margin-bottom: 2rem;
box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}
.terminal-header {
background: rgba(255, 255, 255, 0.03);
border-bottom: 1px solid var(--border);
padding: 0.6rem 1rem;
display: flex;
align-items: center;
justify-content: space-between;
font-size: 11.5px;
color: var(--text-dim);
font-family: 'JetBrains Mono', monospace;
}
.terminal-dots {
display: flex;
gap: 6px;
}
.terminal-dot {
width: 10px;
height: 10px;
border-radius: 50%;
}
.terminal-body {
padding: 1.25rem;
font-family: 'JetBrains Mono', monospace;
font-size: 13px;
line-height: 1.7;
color: #94a3b8;
}
.terminal-prompt {
color: var(--accent);
}
.terminal-err {
color: var(--rose);
font-weight: 600;
}
.terminal-hint {
color: var(--emerald);
}
.btn-group {
display: flex;
flex-wrap: wrap;
justify-content: center;
gap: 0.75rem;
}
/* Footer */
footer {
border-top: 1px solid var(--border);
background: rgba(8, 9, 12, 0.95);
padding: 2rem 1.5rem;
margin-top: auto;
}
.footer-inner {
max-width: 860px;
margin: 0 auto;
display: flex;
flex-wrap: wrap;
justify-content: space-between;
align-items: center;
gap: 1.5rem;
font-size: 13px;
color: var(--text-dim);
}
.footer-links {
display: flex;
gap: 1.25rem;
flex-wrap: wrap;
}
@media (max-width: 640px) {
.nav-links {
display: none;
}
.error-wrapper {
padding: 2rem 1rem;
}
}
</style>
</head>
<body>
<!-- Top Nav -->
<header class="top-nav">
<a href="/" class="brand" aria-label="ColtaneDB Homepage">
<svg style="width:26px; height:26px;" viewBox="0 0 100 100" fill="none">
<polygon points="50,15 82,33 50,51 18,33" fill="#38bdf8"/>
<polygon points="18,33 50,51 50,85 18,67" fill="#131c2e" stroke="#38bdf8" stroke-width="2"/>
<polygon points="50,51 82,33 82,67 50,85" fill="#0d1420" stroke="#3ecf8e" stroke-width="2"/>
</svg>
<strong>ColtaneDB</strong>
</a>
<nav class="nav-links" aria-label="Main Navigation">
<a href="/" class="nav-link">Home</a>
<a href="/studio" class="nav-link">Colt Studio</a>
<a href="/builder" class="nav-link">Schema Designer</a>
<a href="/table" class="nav-link">Table Explorer</a>
<a href="/docs" class="nav-link">Docs</a>
<a href="/privacy" class="nav-link">Privacy</a>
</nav>
<div style="display:flex; align-items:center; gap:0.75rem;">
<a href="/" class="btn btn-primary">⚡ Return Home</a>
</div>
</header>
<!-- Error Presentation -->
<main class="error-wrapper">
<div class="error-badge">HTTP 404 • ROUTE UNRESOLVED</div>
<div class="giant-code">404</div>
<h1 class="error-title">Cluster Route Not Found</h1>
<p class="error-desc">
The requested entity, table endpoint, or workspace path could not be resolved by the ColtaneDB multi-model cluster router.
</p>
<!-- Simulated Terminal Output -->
<div class="terminal-card">
<div class="terminal-header">
<div class="terminal-dots">
<div class="terminal-dot" style="background:#ef4444;"></div>
<div class="terminal-dot" style="background:#f59e0b;"></div>
<div class="terminal-dot" style="background:#10b981;"></div>
</div>
<span>colt-router-diagnostics</span>
</div>
<div class="terminal-body">
<div><span class="terminal-prompt">> colt cluster resolve</span> <span id="dyn-route-path">/unknown</span></div>
<div class="terminal-err">✖ Error [E404_ROUTE_NOT_FOUND]: Target path does not exist in cluster index.</div>
<div style="color:var(--text-dim); margin-top:0.35rem;">
at ColtaneRouter.lookupRoute (server.ts:397)<br>
at TenantGuard.evaluateBoundary (packages/tenant/guard.ts:42)<br>
at MultiModelDispatcher.route (packages/compiler/dispatcher.ts:89)
</div>
<div style="margin-top:0.75rem;" class="terminal-hint">
✔ Suggestion: Return to the dashboard or jump to an active workspace below.
</div>
</div>
</div>
<!-- Quick Navigation Buttons -->
<div class="btn-group">
<a href="/" class="btn btn-primary">⚡ Return to Home</a>
<a href="/studio" class="btn">🛠️ Launch Colt Studio</a>
<a href="/table" class="btn">📊 Table Explorer</a>
<a href="/builder" class="btn">📐 Schema Designer</a>
<a href="/privacy" class="btn">📜 Privacy Policy</a>
</div>
</main>
<!-- Global Footer -->
<footer>
<div class="footer-inner">
<div style="display:flex; align-items:center; gap:0.6rem;">
<svg style="width:20px; height:20px;" viewBox="0 0 100 100" fill="none">
<polygon points="50,15 82,33 50,51 18,33" fill="#38bdf8"/>
<polygon points="18,33 50,51 50,85 18,67" fill="#131c2e" stroke="#38bdf8" stroke-width="2"/>
<polygon points="50,51 82,33 82,67 50,85" fill="#0d1420" stroke="#3ecf8e" stroke-width="2"/>
</svg>
<span>© 2026 ColtaneDB. Created by <strong>Ayush Bhattacharya</strong>.</span>
</div>
<nav class="footer-links" aria-label="Footer Navigation">
<a href="/">Home</a>
<a href="/studio">Colt Studio</a>
<a href="/builder">Schema Designer</a>
<a href="/table">Table Explorer</a>
<a href="/docs">Docs</a>
<a href="/privacy">Privacy Policy</a>
<a href="https://github.com/itsjustayush/ColtaneDB" target="_blank" rel="noopener">GitHub</a>
</nav>
</div>
</footer>
<script>
// Dynamically display the attempted path
const currentPath = window.location.pathname || '/unknown';
const dynElem = document.getElementById('dyn-route-path');
if (dynElem) {
dynElem.textContent = currentPath;
}
</script>
</body>
</html>