-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcodeerror.html
More file actions
470 lines (410 loc) Β· 13.3 KB
/
codeerror.html
File metadata and controls
470 lines (410 loc) Β· 13.3 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
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>CodexCart - Code Unavailable</title>
<style>
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body {
font-family: 'Arial', sans-serif;
background: #000000;
color: #ffffff;
overflow-x: hidden;
min-height: 100vh;
display: flex;
align-items: center;
justify-content: center;
}
/* Main Content */
.error-container {
background: linear-gradient(135deg, #000000 0%, #1a1a1a 50%, #2a2a2a 100%);
position: relative;
width: 100%;
min-height: 100vh;
display: flex;
align-items: center;
justify-content: center;
}
.error-container::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grid" width="10" height="10" patternUnits="userSpaceOnUse"><path d="M 10 0 L 0 0 0 10" fill="none" stroke="%23333" stroke-width="0.5"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>');
opacity: 0.3;
animation: gridMove 20s linear infinite;
}
@keyframes gridMove {
0% { transform: translate(0, 0); }
100% { transform: translate(10px, 10px); }
}
.error-content {
max-width: 800px;
margin: 0 auto;
padding: 0 2rem;
position: relative;
z-index: 2;
text-align: center;
}
/* Error Icon */
.error-icon {
font-size: 8rem;
margin-bottom: 2rem;
color: #ffa500;
text-shadow: 0 0 30px rgba(255, 165, 0, 0.5);
animation: pulse 2s ease-in-out infinite;
}
@keyframes pulse {
0%, 100% { transform: scale(1); }
50% { transform: scale(1.05); }
}
/* Error Title */
.error-title {
font-size: 4rem;
margin-bottom: 1rem;
color: #ffa500;
text-shadow: 0 0 20px rgba(255, 165, 0, 0.3);
animation: glow 2s ease-in-out infinite alternate;
}
@keyframes glow {
from { text-shadow: 0 0 20px rgba(255, 165, 0, 0.3); }
to { text-shadow: 0 0 30px rgba(255, 165, 0, 0.6), 0 0 40px rgba(255, 165, 0, 0.4); }
}
/* Error Message */
.error-message {
font-size: 1.5rem;
margin-bottom: 1rem;
color: #ffffff;
line-height: 1.6;
}
.error-description {
font-size: 1.2rem;
margin-bottom: 3rem;
color: #cccccc;
line-height: 1.6;
max-width: 600px;
margin-left: auto;
margin-right: auto;
}
/* Error Box */
.error-box {
background: rgba(255, 165, 0, 0.1);
border: 2px solid #ffa500;
border-radius: 20px;
padding: 2rem;
margin-bottom: 3rem;
backdrop-filter: blur(10px);
position: relative;
overflow: hidden;
}
.error-box::before {
content: '';
position: absolute;
top: 0;
left: 0;
right: 0;
height: 4px;
background: linear-gradient(45deg, #ffa500, #cc8400);
}
.error-box h3 {
color: #ffa500;
font-size: 1.5rem;
margin-bottom: 1rem;
display: flex;
align-items: center;
justify-content: center;
gap: 0.5rem;
}
.error-box p {
color: #ffffff;
font-size: 1.1rem;
line-height: 1.6;
}
/* Button Styling */
.btn {
padding: 1rem 2.5rem;
border: none;
border-radius: 50px;
font-size: 1.2rem;
font-weight: 600;
cursor: pointer;
transition: all 0.3s ease;
text-decoration: none;
display: inline-block;
position: relative;
overflow: hidden;
margin: 0 1rem;
}
.btn-home {
background: #ffffff;
color: #000000;
border: 2px solid #ffffff;
}
.btn-home:hover {
background: #000000;
color: #ffffff;
transform: translateY(-5px);
box-shadow: 0 15px 35px rgba(255, 255, 255, 0.3);
}
.btn-back {
background: transparent;
color: #cccccc;
border: 2px solid #cccccc;
}
.btn-back:hover {
background: #cccccc;
color: #000000;
transform: translateY(-5px);
box-shadow: 0 15px 35px rgba(204, 204, 204, 0.3);
}
.btn-browse {
background: #ffa500;
color: #000000;
border: 2px solid #ffa500;
}
.btn-browse:hover {
background: #000000;
color: #ffa500;
transform: translateY(-5px);
box-shadow: 0 15px 35px rgba(255, 165, 0, 0.3);
}
.btn::before {
content: '';
position: absolute;
top: 0;
left: -100%;
width: 100%;
height: 100%;
background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
transition: left 0.5s;
}
.btn:hover::before {
left: 100%;
}
.button-group {
display: flex;
gap: 1rem;
justify-content: center;
flex-wrap: wrap;
margin-top: 2rem;
}
/* Additional Info */
.additional-info {
background: rgba(255, 255, 255, 0.05);
padding: 1.5rem;
border-radius: 15px;
border: 1px solid #444;
margin-top: 3rem;
text-align: left;
}
.additional-info h4 {
color: #ffffff;
margin-bottom: 1rem;
font-size: 1.2rem;
}
.additional-info ul {
color: #cccccc;
line-height: 1.8;
list-style: none;
padding-left: 0;
}
.additional-info li {
margin-bottom: 0.5rem;
padding-left: 1.5rem;
position: relative;
}
.additional-info li::before {
content: 'β’';
color: #ffa500;
position: absolute;
left: 0;
font-weight: bold;
}
/* Code snippet styling */
.code-info {
background: rgba(255, 165, 0, 0.05);
border: 1px solid #ffa500;
border-radius: 15px;
padding: 1.5rem;
margin: 2rem 0;
text-align: left;
}
.code-info h4 {
color: #ffa500;
margin-bottom: 1rem;
font-size: 1.2rem;
display: flex;
align-items: center;
gap: 0.5rem;
}
.code-snippet {
background: #1a1a1a;
border: 1px solid #333;
border-radius: 8px;
padding: 1rem;
margin: 1rem 0;
font-family: 'Courier New', monospace;
color: #00ff00;
font-size: 0.9rem;
line-height: 1.4;
}
/* Animations */
.fade-in {
opacity: 0;
transform: translateY(30px);
animation: fadeInUp 0.8s ease forwards;
}
@keyframes fadeInUp {
to {
opacity: 1;
transform: translateY(0);
}
}
.stagger-1 { animation-delay: 0.2s; }
.stagger-2 { animation-delay: 0.4s; }
.stagger-3 { animation-delay: 0.6s; }
.stagger-4 { animation-delay: 0.8s; }
/* Responsive */
@media (max-width: 768px) {
.error-title {
font-size: 2.5rem;
}
.error-message {
font-size: 1.2rem;
}
.error-description {
font-size: 1rem;
}
.error-icon {
font-size: 6rem;
}
.btn {
font-size: 1rem;
padding: 0.8rem 2rem;
margin: 0.5rem;
}
.button-group {
flex-direction: column;
align-items: center;
}
.error-content {
padding: 0 1rem;
}
.error-box {
padding: 1.5rem;
}
.code-snippet {
font-size: 0.8rem;
}
}
</style>
</head>
<body>
<div class="error-container">
<div class="error-content">
<!-- Error Icon -->
<div class="error-icon fade-in">π</div>
<!-- Error Title -->
<h1 class="error-title fade-in stagger-1">Code Unavailable</h1>
<!-- Error Message -->
<p class="error-message fade-in stagger-2">This code is not available in our marketplace</p>
<p class="error-description fade-in stagger-2">The code snippet or project you're looking for is currently not listed in our marketplace. It may be temporarily unavailable, under review, or has been removed.</p>
<!-- Error Details Box -->
<div class="error-box fade-in stagger-3">
<h3>π Code Repository Status</h3>
<p>The requested code item is not currently available in our marketplace. This could be due to maintenance, content review, or the item being temporarily out of stock.</p>
</div>
<!-- Code Info Section -->
<div class="code-info fade-in stagger-3">
<h4>π What you were looking for:</h4>
<div class="code-snippet">
// Code item not found in marketplace
error: {
status: "unavailable",
message: "Item not in current inventory",
suggestion: "Browse similar alternatives"
}
</div>
</div>
<!-- Action Buttons -->
<div class="button-group fade-in stagger-4">
<a href="index.html" class="btn btn-home" onclick="goHome()">π Back to Home</a>
<a href="marketplace.html" class="btn btn-browse" onclick="browseMarketplace()">π Browse Marketplace</a>
</div>
<!-- Additional Information -->
<div class="additional-info fade-in stagger-4">
<h4>What you can do:</h4>
<ul>
<li>Browse our extensive code marketplace for similar solutions</li>
<li>Use the search function to find alternative code snippets</li>
<li>Check back later as our inventory is regularly updated</li>
<li>Contact support to request specific code implementations</li>
<li>Explore our featured collections for popular code examples</li>
<li>Sign up for notifications when new code becomes available</li>
</ul>
</div>
</div>
</div>
<script>
// Navigation functions
function goHome() {
// In a real application, this would redirect to your actual homepage
alert('Redirecting to homepage...');
// Example: window.location.href = 'index.html';
}
function browseMarketplace() {
// Redirect to marketplace
alert('Opening marketplace...');
// Example: window.location.href = 'marketplace.html';
}
function goBack() {
// Go back to previous page
window.history.back();
}
// Add some interactive feedback
document.addEventListener('DOMContentLoaded', function() {
// Add click feedback to buttons
const buttons = document.querySelectorAll('.btn');
buttons.forEach(button => {
button.addEventListener('click', function() {
this.style.transform = 'scale(0.95)';
setTimeout(() => {
this.style.transform = '';
}, 150);
});
});
// Add some dynamic code animation
const codeSnippet = document.querySelector('.code-snippet');
if (codeSnippet) {
let originalText = codeSnippet.textContent;
codeSnippet.style.opacity = '0';
setTimeout(() => {
codeSnippet.style.opacity = '1';
codeSnippet.style.transition = 'opacity 0.5s ease';
}, 1000);
}
});
// Add a subtle typing effect to the code snippet
function typeEffect(element, text, speed = 50) {
element.textContent = '';
element.style.opacity = '1';
let i = 0;
const timer = setInterval(() => {
if (i < text.length) {
element.textContent += text.charAt(i);
i++;
} else {
clearInterval(timer);
}
}, speed);
}
</script>
</body>
</html>