Repository navigation
Expand file tree
/
Copy path404.php
More file actions
193 lines (159 loc) · 3.87 KB
/
Copy path404.php
File metadata and controls
193 lines (159 loc) · 3.87 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
<?php
declare(strict_types=1);
http_response_code(404);
require_once __DIR__ . '/includes/auth.php';
require_once __DIR__ . '/includes/functions.php';
$pageTitle = '404 | Page Not Found';
$currentPage = '404';
require_once __DIR__ . '/includes/header.php';
?>
<section class="bb-404">
<div class="bb-404-title">
<div class="bb-404-card">
<div class="bb-404-number">
<span>4</span>
<div class="bb-404-baseball">
<div class="baseball-texture"></div>
</div>
<span>4</span>
</div>
<p class="bb-eyebrow">Page Not Found</p>
<h1 class="brand-title-font">Looks like this page missed the cutoff.</h1>
<p class="muted">
The URL you entered does not match an active BenchBuddy page.
Head back to the dugout and keep building your lineup.
</p>
</div>
</div>
<div class="bb-404-stats">
<div>
<strong>0</strong>
<span>Pages Found</span>
</div>
<div>
<strong>1</strong>
<span>Coach Redirected</span>
</div>
<div>
<strong>100%</strong>
<span>Recoverable</span>
</div>
</div>
<div class="actions-row">
<a class="btn" href="index.php">Back to Dashboard</a>
<a class="btn btn-secondary" href="games.php">Go to Games</a>
<a class="btn btn-secondary" href="sitemap.php">View Sitemap</a>
</div>
</div>
</section>
<style>.bb-404 {
max-width: 980px;
margin: 40px auto;
padding: 24px;
}
.bb-404-title{margin: 0 auto;text-align: center;}
.bb-404-card {
padding: 38px;
border-radius: 30px;
background:
radial-gradient(circle at top right, rgba(255,255,255,.9), transparent 34%),
linear-gradient(135deg, #ffffff, #f8fafc);
border: 1px solid #e5e7eb;
box-shadow: 0 24px 60px rgba(15, 23, 42, 0.12);
}
.bb-404-number {
font-size: clamp(86px, 15vw, 170px);
font-weight: 950;
line-height: .9;
color: var(--primary);
letter-spacing: -0.08em;
margin: 0 auto;
text-align: center;
display: flex;
align-items: center;
justify-content: center;
gap: 0.08em;
}
.bb-404-card h1 {
max-width: 680px;
margin: 0 auto;
font-size: clamp(34px, 5vw, 58px);
letter-spacing: -0.05em;
}
.bb-404-card .muted {
max-width: 620px;
font-size: 17px;
line-height: 1.6;
margin: 0 auto;
}
.bb-404-stats {
display: grid;
grid-template-columns: repeat(3, minmax(0, 1fr));
gap: 14px;
margin: 24px 0;
}
.bb-404-stats div {
padding: 16px;
border-radius: 18px;
background: #f8fafc;
border: 1px solid #e5e7eb;
}
.bb-404-stats strong {
display: block;
font-size: 28px;
color: var(--primary);
}
.bb-404-stats span {
color: #64748b;
font-size: 13px;
font-weight: 700;
}
@media (max-width: 700px) {
.bb-404-scoreboard,
.bb-404-count {
flex-direction: column;
}
.bb-404-card {
padding: 26px;
}
.bb-404-stats {
grid-template-columns: 1fr;
}
}
.bb-404-baseball {
position: relative;
width: 0.82em;
height: 0.82em;
flex-shrink: 0;
border-radius: 50%;
}
.bb-404-baseball .baseball-texture {
position: absolute;
inset: 0;
border-radius: 50%;
background-image: url("/assets/images/baseball_texture.jpg");
background-size: cover;
background-repeat: no-repeat;
background-position: center;
box-shadow:
inset -0.04em -0.04em 0.08em rgba(0,0,0,.14),
0 0.04em 0.1em rgba(0,0,0,.24);
animation-name: spin;
animation-duration: 5000ms;
animation-iteration-count: infinite;
animation-timing-function: linear;
/* transform: rotate(3deg); */
/* transform: rotate(0.3rad);/ */
/* transform: rotate(3grad); */
/* transform: rotate(.03turn); */
}
@keyframes spin {
from {
transform:rotate(0deg);
}
to {
transform:rotate(360deg);
}
}
</style>
<?php require_once __DIR__ . '/includes/footer.php'; ?>