-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
218 lines (195 loc) · 5.75 KB
/
Copy pathindex.html
File metadata and controls
218 lines (195 loc) · 5.75 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Signal /// Detected</title>
<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=Inter:wght@300;400;500;600;700&display=swap" rel="stylesheet" />
<style>
* { margin: 0; padding: 0; box-sizing: border-box; }
body {
font-family: 'Inter', sans-serif;
background: #0C0D0F;
min-height: 100vh;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
padding: 3rem 2rem;
position: relative;
overflow: hidden;
color: #fff;
}
.grid-bg {
position: fixed;
inset: 0;
background-image:
linear-gradient(rgba(255,94,0,0.04) 1px, transparent 1px),
linear-gradient(90deg, rgba(255,94,0,0.04) 1px, transparent 1px);
background-size: 48px 48px;
pointer-events: none;
z-index: 0;
}
.glow {
position: fixed;
top: -80px;
left: 50%;
transform: translateX(-50%);
width: 600px;
height: 300px;
background: radial-gradient(ellipse at center, rgba(255,94,0,0.15) 0%, transparent 70%);
pointer-events: none;
z-index: 0;
}
.content {
position: relative;
z-index: 1;
display: flex;
flex-direction: column;
align-items: center;
}
.eyebrow {
font-size: 11px;
font-weight: 600;
letter-spacing: 0.12em;
text-transform: uppercase;
color: #FF5E00;
margin-bottom: 1rem;
}
h1 {
font-size: clamp(28px, 5vw, 48px);
font-weight: 700;
letter-spacing: -0.03em;
color: #fff;
text-align: center;
line-height: 1.1;
margin-bottom: 0.5rem;
}
h1 em {
font-style: normal;
color: #FF5E00;
}
.subtitle {
font-size: 15px;
color: rgba(255,255,255,0.45);
text-align: center;
margin-bottom: 3rem;
font-weight: 400;
}
.subtitle code {
font-family: 'Courier New', monospace;
color: #FF5E00;
background: rgba(255,94,0,0.1);
padding: 1px 6px;
border-radius: 4px;
font-size: 13px;
}
.countdown-grid {
display: flex;
gap: 12px;
flex-wrap: wrap;
justify-content: center;
}
.unit {
display: flex;
flex-direction: column;
align-items: center;
background: rgba(255,255,255,0.04);
border: 0.5px solid rgba(255,255,255,0.1);
border-radius: 12px;
padding: 20px 28px 16px;
min-width: 90px;
position: relative;
overflow: hidden;
}
.unit::before {
content: '';
position: absolute;
top: 0; left: 0; right: 0;
height: 1px;
background: linear-gradient(90deg, transparent, rgba(255,94,0,0.5), transparent);
}
.unit-num {
font-size: clamp(36px, 6vw, 56px);
font-weight: 700;
letter-spacing: -0.04em;
line-height: 1;
color: #fff;
font-variant-numeric: tabular-nums;
margin-bottom: 6px;
transition: color 0.2s;
}
.unit-num.tick {
color: #FF5E00;
}
.unit-label {
font-size: 10px;
font-weight: 600;
letter-spacing: 0.1em;
text-transform: uppercase;
color: rgba(255,255,255,0.35);
}
.sep {
display: flex;
align-items: center;
justify-content: center;
padding-bottom: 20px;
color: rgba(255,255,255,0.2);
font-size: 28px;
font-weight: 300;
align-self: center;
}
@media (max-width: 480px) {
.sep { display: none; }
.unit { min-width: 70px; padding: 16px 18px 12px; }
}
</style>
</head>
<body>
<div class="grid-bg"></div>
<div class="glow"></div>
<div class="content">
<p class="eyebrow">Coming soon</p>
<h1>Signal <em>///</em> Detected</h1>
<p class="subtitle">Finally, a place to put all that knowledge that isn't <code>// TODO: document this</code></p>
<div class="countdown-grid">
<div class="unit"><span class="unit-num" id="days">--</span><span class="unit-label">Days</span></div>
<div class="sep">:</div>
<div class="unit"><span class="unit-num" id="hours">--</span><span class="unit-label">Hours</span></div>
<div class="sep">:</div>
<div class="unit"><span class="unit-num" id="minutes">--</span><span class="unit-label">Minutes</span></div>
<div class="sep">:</div>
<div class="unit"><span class="unit-num" id="seconds">--</span><span class="unit-label">Seconds</span></div>
</div>
</div>
<script>
const target = new Date('2026-07-31T00:00:00');
function pad(n) { return String(n).padStart(2, '0'); }
let prev = { d: -1, h: -1, m: -1, s: -1 };
function flash(el, val, key) {
el.textContent = pad(val);
if (val !== prev[key]) {
el.classList.add('tick');
setTimeout(() => el.classList.remove('tick'), 300);
}
prev[key] = val;
}
function tick() {
const diff = target - new Date();
if (diff <= 0) {
document.querySelector('.countdown-grid').innerHTML = '<p style="font-size:22px;font-weight:700;color:#FF5E00;">Signal acquired.</p>';
return;
}
const t = Math.floor(diff / 1000);
flash(document.getElementById('days'), Math.floor(t / 86400), 'd');
flash(document.getElementById('hours'), Math.floor((t % 86400) / 3600),'h');
flash(document.getElementById('minutes'), Math.floor((t % 3600) / 60), 'm');
flash(document.getElementById('seconds'), t % 60, 's');
}
tick();
setInterval(tick, 1000);
</script>
</body>
</html>