-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path404.html
More file actions
92 lines (88 loc) · 3.86 KB
/
Copy path404.html
File metadata and controls
92 lines (88 loc) · 3.86 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Page Not Found - Hermite's Problem</title>
<link rel="icon" href="data:image/svg+xml,<svg xmlns=%22http://www.w3.org/2000/svg%22 viewBox=%220 0 100 100%22><text y=%22.9em%22 font-size=%2290%22>📊</text></svg>">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/css/bootstrap.min.css">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.10.0/font/bootstrap-icons.css">
<style>
body {
background: #f7fafd;
display: flex;
align-items: center;
justify-content: center;
height: 100vh;
margin: 0;
}
.error-container {
text-align: center;
max-width: 600px;
padding: 2rem;
background: white;
border-radius: 1rem;
box-shadow: 0 4px 20px rgba(44,62,80,0.1);
}
.error-code {
font-size: 6rem;
font-weight: 800;
color: #0d6efd;
margin-bottom: 1rem;
}
.error-icon {
font-size: 4rem;
color: #0d6efd;
margin-bottom: 1rem;
}
.btn {
margin: 0.5rem;
}
</style>
</head>
<body>
<div class="error-container">
<div class="error-code">404</div>
<div class="error-icon"><i class="bi bi-emoji-frown"></i></div>
<h1 class="mb-4">Page Not Found</h1>
<p class="lead mb-4">Sorry, the mathematical proof you're looking for couldn't be found. It might have been moved, renamed, or didn't exist in the first place.</p>
<div class="d-flex justify-content-center flex-wrap">
<a href="index.html" class="btn btn-primary"><i class="bi bi-house"></i> Home Page</a>
<a href="paper-viewer.html" class="btn btn-outline-primary"><i class="bi bi-book"></i> Paper Viewer</a>
<button onclick="window.history.back()" class="btn btn-outline-secondary"><i class="bi bi-arrow-left"></i> Go Back</button>
</div>
<div class="mt-4">
<p class="text-muted">Trying to find content? Check out:</p>
<div class="d-flex justify-content-center flex-wrap gap-2">
<a href="index.html#overview-tab" class="badge bg-light text-dark">Overview</a>
<a href="index.html#methods-tab" class="badge bg-light text-dark">Three Methods</a>
<a href="index.html#interactive-tab" class="badge bg-light text-dark">Interactive Tools</a>
<a href="index.html#resources-tab" class="badge bg-light text-dark">Resources</a>
</div>
</div>
</div>
<script>
// Check if we're in a GitHub Pages environment and adjust paths if needed
if (window.location.hostname.includes('github.io')) {
document.querySelectorAll('a[href^="index.html"]').forEach(link => {
// If we're in /githubpages/ subdirectory
if (window.location.pathname.includes('/githubpages/')) {
link.href = link.href;
} else {
// We're at root but need to reference githubpages/
link.href = 'githubpages/' + link.href;
}
});
document.querySelectorAll('a[href="paper-viewer.html"]').forEach(link => {
// If we're in /githubpages/ subdirectory
if (window.location.pathname.includes('/githubpages/')) {
link.href = link.href;
} else {
// We're at root but need to reference githubpages/
link.href = 'githubpages/paper-viewer.html';
}
});
}
</script>
</body>
</html>