-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path404.html
More file actions
345 lines (315 loc) · 17.1 KB
/
404.html
File metadata and controls
345 lines (315 loc) · 17.1 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>404 — Page Not Found · UP2CLOUD</title>
<meta name="robots" content="noindex" />
<link rel="icon" type="image/svg+xml" href="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Crect width='24' height='24' rx='5' fill='%230F172A'/%3E%3Cpath d='M3 15a4 4 0 004 4h9a5 5 0 10-.1-9.999 5.002 5.002 0 10-9.78 2.096A4.001 4.001 0 003 15z' stroke='%230EA5E9' stroke-width='2' stroke-linejoin='round' fill='none'/%3E%3C/svg%3E" />
<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=Space+Grotesk:wght@400;500;600;700&family=DM+Sans:wght@300;400;500;700&family=JetBrains+Mono:wght@400;500&display=swap" rel="stylesheet" />
<style>
*,*::before,*::after{box-sizing:border-box;margin:0;padding:0}
html{overscroll-behavior:none}
body{
font-family:'DM Sans',sans-serif;
background:#020617;
color:#fff;
min-height:100vh;
display:flex;flex-direction:column;align-items:center;justify-content:center;
position:relative;
overflow-x:hidden;
padding:5rem 0 2rem;
}
h1,h2,h3{font-family:'Space Grotesk',sans-serif}
canvas{position:fixed;inset:0;pointer-events:none;z-index:0}
/* ── Background gradient orbs ── */
.orb{position:fixed;border-radius:50%;filter:blur(80px);pointer-events:none;animation:orbFloat 8s ease-in-out infinite}
.orb1{width:500px;height:500px;background:rgba(14,165,233,.12);top:-10%;left:-10%;animation-delay:0s}
.orb2{width:400px;height:400px;background:rgba(124,58,237,.10);bottom:-5%;right:-5%;animation-delay:3s}
.orb3{width:300px;height:300px;background:rgba(249,115,22,.08);top:50%;left:50%;animation-delay:5s}
@keyframes orbFloat{0%,100%{transform:translate(0,0)}50%{transform:translate(20px,-20px)}}
/* ── 404 giant text ── */
.num-404{
font-family:'Space Grotesk',sans-serif;
font-weight:700;
font-size:clamp(8rem,22vw,18rem);
line-height:1;
background:linear-gradient(135deg,#0F172A 0%,#0369A1 35%,#0EA5E9 60%,#38BDF8 80%,#7C3AED 100%);
background-size:200% 200%;
-webkit-background-clip:text;-webkit-text-fill-color:transparent;background-clip:text;
animation:gradientShift 4s ease-in-out infinite, glitch 6s infinite;
position:relative;z-index:1;
letter-spacing:-0.04em;
user-select:none;
}
@keyframes gradientShift{0%,100%{background-position:0% 50%}50%{background-position:100% 50%}}
/* Glitch effect */
@keyframes glitch{
0%,90%,100%{transform:translate(0)}
91%{transform:translate(-3px,1px);filter:hue-rotate(90deg)}
93%{transform:translate(3px,-1px);filter:hue-rotate(-90deg)}
95%{transform:translate(0);filter:none}
97%{transform:translate(2px,2px);filter:hue-rotate(45deg)}
99%{transform:translate(-2px,-1px);filter:none}
}
/* ── Content card ── */
.card{
position:relative;z-index:1;
text-align:center;
max-width:680px;
padding:0 1.5rem;
}
/* ── Badge ── */
.badge{
display:inline-flex;align-items:center;gap:.5rem;
background:rgba(239,68,68,.15);border:1px solid rgba(239,68,68,.3);
color:#FCA5A5;font-size:.72rem;font-weight:600;padding:.35rem 1rem;
border-radius:999px;letter-spacing:.06em;text-transform:uppercase;
margin-bottom:1.5rem;
animation:pulseBadge 2s ease-in-out infinite;
}
.badge-dot{width:7px;height:7px;border-radius:50%;background:#EF4444;animation:pulse 1.5s ease-in-out infinite}
@keyframes pulseBadge{0%,100%{box-shadow:0 0 0 0 rgba(239,68,68,.3)}50%{box-shadow:0 0 0 6px rgba(239,68,68,.0)}}
/* ── Subtitle ── */
.subtitle{
font-size:clamp(1.1rem,3vw,1.4rem);
font-weight:600;color:#fff;margin-bottom:.75rem;
}
.desc{color:#64748B;font-size:.95rem;line-height:1.7;margin-bottom:2rem;max-width:480px;margin-left:auto;margin-right:auto}
.desc strong{color:#94A3B8}
/* ── Fake terminal ── */
.terminal{
background:rgba(2,6,23,.9);border:1px solid rgba(14,165,233,.2);
border-radius:14px;overflow:hidden;margin:0 auto 2.5rem;
max-width:520px;text-align:left;
box-shadow:0 20px 60px rgba(0,0,0,.4),0 0 0 1px rgba(14,165,233,.05) inset;
animation:termReveal .8s ease both;animation-delay:.3s;opacity:0;
}
@keyframes termReveal{from{opacity:0;transform:translateY(16px)}to{opacity:1;transform:none}}
.term-bar{
background:rgba(255,255,255,.04);padding:.6rem 1rem;
display:flex;align-items:center;gap:.5rem;
border-bottom:1px solid rgba(255,255,255,.06)
}
.dot{width:10px;height:10px;border-radius:50%}
.term-title{font-size:.72rem;color:#475569;margin-left:.5rem;font-family:'DM Sans',sans-serif}
.term-body{padding:1rem 1.25rem;font-family:'JetBrains Mono','Courier New',monospace;font-size:.78rem;line-height:1.9}
.t-prompt{color:#475569}
.t-cmd{color:#38BDF8}
.t-out{color:#64748B}
.t-err{color:#F87171}
.t-ok{color:#4ADE80}
.t-warn{color:#FB923C}
.t-cursor{
display:inline-block;width:8px;height:1em;background:#38BDF8;
vertical-align:text-bottom;animation:blink .7s step-end infinite;
margin-left:2px;
}
@keyframes blink{0%,100%{opacity:1}50%{opacity:0}}
/* Lines animate in one by one */
.term-line{opacity:0;animation:lineIn .2s ease forwards}
.l1{animation-delay:.6s} .l2{animation-delay:1.0s}
.l3{animation-delay:1.5s} .l4{animation-delay:2.0s}
.l5{animation-delay:2.5s} .l6{animation-delay:3.0s}
.l7{animation-delay:3.5s} .l8{animation-delay:4.0s}
@keyframes lineIn{from{opacity:0}to{opacity:1}}
/* ── Buttons ── */
.actions{display:flex;flex-wrap:wrap;gap:.85rem;justify-content:center;margin-bottom:2rem}
.btn-home{
display:inline-flex;align-items:center;gap:.5rem;
background:linear-gradient(135deg,#0369A1,#0EA5E9);
color:#fff;font-family:'Space Grotesk',sans-serif;font-weight:600;
padding:.85rem 1.75rem;border-radius:10px;border:none;cursor:pointer;
font-size:.9rem;text-decoration:none;transition:transform .2s,box-shadow .2s;
box-shadow:0 4px 20px rgba(14,165,233,.3);
position:relative;overflow:hidden;
}
.btn-home:hover{transform:translateY(-2px);box-shadow:0 8px 28px rgba(14,165,233,.45)}
.btn-home::after{
content:'';position:absolute;top:-50%;left:-60%;width:40%;height:200%;
background:linear-gradient(90deg,transparent,rgba(255,255,255,.18),transparent);
transform:rotate(20deg);animation:btnShine 4s ease-in-out infinite;
}
@keyframes btnShine{0%,70%{left:-60%}80%{left:130%}100%{left:130%}}
.btn-ghost{
display:inline-flex;align-items:center;gap:.5rem;
background:rgba(255,255,255,.06);border:1px solid rgba(255,255,255,.15);
color:#94A3B8;font-family:'Space Grotesk',sans-serif;font-weight:600;
padding:.85rem 1.75rem;border-radius:10px;cursor:pointer;
font-size:.9rem;text-decoration:none;transition:all .2s;
}
.btn-ghost:hover{background:rgba(255,255,255,.1);color:#fff;border-color:rgba(255,255,255,.3)}
.btn-wa{
display:inline-flex;align-items:center;gap:.5rem;
background:#25D366;color:#fff;font-family:'Space Grotesk',sans-serif;font-weight:600;
padding:.85rem 1.75rem;border-radius:10px;border:none;cursor:pointer;
font-size:.9rem;text-decoration:none;transition:all .2s;
}
.btn-wa:hover{background:#1ebe5d;transform:translateY(-2px)}
/* ── Floating clouds around 404 ── */
.cloud-float{
position:fixed;pointer-events:none;z-index:0;opacity:.08;
filter:blur(1px);
animation:cloudDrift 20s ease-in-out infinite;
}
@keyframes cloudDrift{0%,100%{transform:translateX(0) translateY(0)}50%{transform:translateX(30px) translateY(-20px)}}
/* ── Error code chips ── */
.chips{display:flex;flex-wrap:wrap;justify-content:center;gap:.5rem;margin-bottom:2rem}
.chip{
background:rgba(255,255,255,.05);border:1px solid rgba(255,255,255,.1);
color:#475569;font-size:.7rem;font-family:'JetBrains Mono',monospace;
padding:.3rem .75rem;border-radius:6px;
animation:chipPop .4s cubic-bezier(.34,1.56,.64,1) both;
}
.chip:nth-child(1){animation-delay:.8s}
.chip:nth-child(2){animation-delay:.95s}
.chip:nth-child(3){animation-delay:1.1s}
.chip:nth-child(4){animation-delay:1.25s}
.chip:nth-child(5){animation-delay:1.4s}
@keyframes chipPop{from{opacity:0;transform:scale(.7)}to{opacity:1;transform:scale(1)}}
/* ── Counter ── */
.redirect-notice{color:#334155;font-size:.78rem;margin-top:.5rem;font-family:'JetBrains Mono',monospace}
#countdown{color:#0EA5E9;font-weight:600}
@media(prefers-reduced-motion:reduce){
*{animation:none!important;transition:none!important}
.num-404{-webkit-text-fill-color:#0EA5E9}
}
</style>
</head>
<body>
<!-- Particle canvas -->
<canvas id="canvas"></canvas>
<!-- Background orbs -->
<div class="orb orb1"></div>
<div class="orb orb2"></div>
<div class="orb orb3"></div>
<!-- Floating cloud SVGs -->
<svg class="cloud-float" style="left:2%;top:15%;width:280px" viewBox="0 0 280 120" fill="white"><ellipse cx="140" cy="90" rx="132" ry="32"/><ellipse cx="88" cy="72" rx="78" ry="58"/><ellipse cx="162" cy="64" rx="96" ry="64"/><ellipse cx="224" cy="80" rx="60" ry="42"/></svg>
<svg class="cloud-float" style="right:3%;bottom:20%;width:220px;animation-delay:-8s" viewBox="0 0 220 100" fill="white"><ellipse cx="110" cy="78" rx="104" ry="26"/><ellipse cx="68" cy="62" rx="60" ry="46"/><ellipse cx="128" cy="56" rx="76" ry="50"/><ellipse cx="178" cy="70" rx="46" ry="32"/></svg>
<svg class="cloud-float" style="left:35%;top:5%;width:160px;animation-delay:-3s;opacity:.05" viewBox="0 0 160 70" fill="white"><ellipse cx="80" cy="55" rx="76" ry="20"/><ellipse cx="50" cy="44" rx="44" ry="32"/><ellipse cx="94" cy="38" rx="54" ry="36"/><ellipse cx="130" cy="50" rx="34" ry="24"/></svg>
<!-- Main content -->
<div class="card">
<span class="badge">
<span class="badge-dot"></span>
INCIDENT · P1 · UNRESOLVED
</span>
<div class="num-404">404</div>
<h2 class="subtitle" style="margin-top:.5rem">Page evaporated into the cloud ☁️</h2>
<p class="desc">
Our AI agents searched across <strong>3 cloud providers</strong>,
ran <strong>42 kubectl describe</strong> commands, and checked
<strong>all Terraform state files</strong> — this page simply does not exist.
<br/><br/>
Either you followed a broken link, or someone deleted this pod without a rollback plan.
<em>(We're looking at you, Deploy Agent.)</em>
</p>
<!-- Fake terminal -->
<div class="terminal">
<div class="term-bar">
<span class="dot" style="background:#FF5F57"></span>
<span class="dot" style="background:#FFBD2E"></span>
<span class="dot" style="background:#28C840"></span>
<span class="term-title">up2cloud-ai-agent — incident triage</span>
</div>
<div class="term-body">
<div class="term-line l1"><span class="t-prompt">$</span> <span class="t-cmd">kubectl get page "/<span id="path-display">not-found</span>" -n production</span></div>
<div class="term-line l2"><span class="t-err">Error from server (NotFound): pages "/<span class="t-path"></span>" not found</span></div>
<div class="term-line l3"><span class="t-prompt">$</span> <span class="t-cmd">terraform state list | grep missing_page</span></div>
<div class="term-line l4"><span class="t-out"># No resources found. Someone forgot to <span class="t-warn">terraform apply</span> 👀</span></div>
<div class="term-line l5"><span class="t-prompt">$</span> <span class="t-cmd">gcloud sql databases list --filter="name=this_page"</span></div>
<div class="term-line l6"><span class="t-out">Listed 0 items. The data was probably in the <span class="t-warn">$200k/mo</span> Lambda that got shut down.</span></div>
<div class="term-line l7"><span class="t-prompt">$</span> <span class="t-cmd">curl -I https://up2cloud.tech/<span class="t-path-2"></span></span></div>
<div class="term-line l8"><span class="t-err">HTTP/2 <strong style="color:#EF4444">404</strong></span> <span class="t-ok">→ Routing to safety... ✓</span> <span class="t-cursor"></span></div>
</div>
</div>
<!-- Error chips -->
<div class="chips">
<span class="chip">exit_code: 404</span>
<span class="chip">pod: crashed</span>
<span class="chip">replicas: 0/1</span>
<span class="chip">budget: $0.00</span>
<span class="chip">ai_agents: investigating</span>
</div>
<!-- Actions -->
<div class="actions">
<a href="https://up2cloud.tech/" class="btn-home">
<svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M3 12l2-2m0 0l7-7 7 7M5 10v10a1 1 0 001 1h3m10-11l2 2m-2-2v10a1 1 0 01-1 1h-3m-6 0a1 1 0 001-1v-4a1 1 0 011-1h2a1 1 0 011 1v4a1 1 0 001 1m-6 0h6" stroke-linecap="round" stroke-linejoin="round"/></svg>
Back to Home
</a>
<a href="https://up2cloud.tech/#contact" class="btn-ghost">
<svg width="16" height="16" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2"><path d="M8 7V3m8 4V3m-9 8h10M5 21h14a2 2 0 002-2V7a2 2 0 00-2-2H5a2 2 0 00-2 2v12a2 2 0 002 2z" stroke-linecap="round" stroke-linejoin="round"/></svg>
Book Free Audit
</a>
<a href="https://wa.me/351937471554" target="_blank" rel="noopener" class="btn-wa">
<svg width="16" height="16" fill="currentColor" viewBox="0 0 24 24"><path d="M17.472 14.382c-.297-.149-1.758-.867-2.03-.967-.273-.099-.471-.148-.67.15-.197.297-.767.966-.94 1.164-.173.199-.347.223-.644.075-.297-.15-1.255-.463-2.39-1.475-.883-.788-1.48-1.761-1.653-2.059-.173-.297-.018-.458.13-.606.134-.133.298-.347.446-.52.149-.174.198-.298.298-.497.099-.198.05-.371-.025-.52-.075-.149-.669-1.612-.916-2.207-.242-.579-.487-.5-.669-.51-.173-.008-.371-.01-.57-.01-.198 0-.52.074-.792.372-.272.297-1.04 1.016-1.04 2.479 0 1.462 1.065 2.875 1.213 3.074.149.198 2.096 3.2 5.077 4.487.709.306 1.262.489 1.694.625.712.227 1.36.195 1.871.118.571-.085 1.758-.719 2.006-1.413.248-.694.248-1.289.173-1.413-.074-.124-.272-.198-.57-.347m-5.421 7.403h-.004a9.87 9.87 0 01-5.031-1.378l-.361-.214-3.741.982.998-3.648-.235-.374a9.86 9.86 0 01-1.51-5.26c.001-5.45 4.436-9.884 9.888-9.884 2.64 0 5.122 1.03 6.988 2.898a9.825 9.825 0 012.893 6.994c-.003 5.45-4.437 9.884-9.885 9.884m8.413-18.297A11.815 11.815 0 0012.05 0C5.495 0 .16 5.335.157 11.892c0 2.096.547 4.142 1.588 5.945L.057 24l6.305-1.654a11.882 11.882 0 005.683 1.448h.005c6.554 0 11.89-5.335 11.893-11.893a11.821 11.821 0 00-3.48-8.413z"/></svg>
WhatsApp Cesar
</a>
</div>
<p class="redirect-notice">Auto-redirecting in <span id="countdown">15</span>s — or click above to escape sooner</p>
</div>
<script>
/* ── Show current path in terminal ── */
const p = window.location.pathname.replace(/^\//, '') || 'not-found';
document.getElementById('path-display').textContent = p;
document.querySelectorAll('.t-path, .t-path-2').forEach(el => el.textContent = p);
/* ── Smart redirect: known paths get trailing-slash redirect first ── */
(function() {
const path = window.location.pathname.replace(/\/+$/, '');
const known = ['/blog', '/about', '/privacy'];
const isBlogArticle = path.startsWith('/blog/');
if (known.includes(path) || isBlogArticle) {
window.location.replace(path + '/');
return;
}
})();
/* ── Countdown redirect ── */
let t = 15;
const cd = document.getElementById('countdown');
const timer = setInterval(() => {
t--;
if (cd) cd.textContent = t;
if (t <= 0) { clearInterval(timer); window.location.href = '/'; }
}, 1000);
/* ── Particle canvas ── */
(function() {
const canvas = document.getElementById('canvas');
const ctx = canvas.getContext('2d');
let W, H, particles = [];
function resize() { W = canvas.width = innerWidth; H = canvas.height = innerHeight; }
resize();
window.addEventListener('resize', resize, { passive: true });
const COLORS = ['#0EA5E9','#7C3AED','#F97316','#38BDF8','#C084FC'];
function Particle() {
this.reset = function() {
this.x = Math.random() * W;
this.y = Math.random() * H;
this.r = Math.random() * 1.5 + .3;
this.vx = (Math.random() - .5) * .4;
this.vy = (Math.random() - .5) * .4;
this.alpha = Math.random() * .45 + .1;
this.color = COLORS[Math.floor(Math.random() * COLORS.length)];
};
this.reset();
}
for (let i = 0; i < 70; i++) particles.push(new Particle());
function draw() {
ctx.clearRect(0, 0, W, H);
particles.forEach(p => {
p.x += p.vx; p.y += p.vy;
if (p.x < 0 || p.x > W || p.y < 0 || p.y > H) p.reset();
ctx.beginPath();
ctx.arc(p.x, p.y, p.r, 0, Math.PI * 2);
ctx.fillStyle = p.color;
ctx.globalAlpha = p.alpha;
ctx.fill();
});
ctx.globalAlpha = 1;
requestAnimationFrame(draw);
}
draw();
})();
</script>
</body>
</html>