-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
254 lines (250 loc) · 9.04 KB
/
index.html
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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>SPCountdown</title>
<link
href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css"
rel="stylesheet"
integrity="sha384-QWTKZyjpPEjISv5WaRU9OFeRpok6YctnYmDr5pNlyT2bRjXh0JMhjY6hW+ALEwIH"
crossorigin="anonymous"
/>
<script
src="https://kit.fontawesome.com/d2dd9afdb0.js"
crossorigin="anonymous"
></script>
<meta
name="description"
content="Plenty of countdowns for different weather products."
/>
<meta name="og:title" content="SPCountdown" />
<meta
name="og:description"
content="Plenty of countdowns for different weather products."
/>
<meta
name="og:image"
content="https://icebotyt.github.io/SPCountdown/images/og_image.png"
/>
<meta name="og:image:width" content="1200" />
<meta name="og:image:height" content="630" />
<meta name="og:url" content="https://icebotyt.github.io/SPCountdown/" />
<meta name="og:type" content="website" />
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:title" content="SPCountdown" />
<meta
name="twitter:description"
content="Plenty of countdowns for different weather products."
/>
<meta
name="twitter:image"
content="https://icebotyt.github.io/SPCountdown/images/og_image.png"
/>
<link rel="icon" href="images/logo.png" />
</head>
<body>
<div class="px-4 py-5 my-5 text-center">
<img
class="d-block mx-auto mb-4"
src="images/logo.png"
alt=""
width="120"
/>
<h1 class="display-5 fw-bold text-body-emphasis">SPCountdown</h1>
<div class="col-lg-6 mx-auto">
<p class="lead mb-4">
Plenty of countdowns to different weather products. SPC for now, and
more on the way.
</p>
<!-- <div class="d-grid gap-2 d-sm-flex justify-content-sm-center">
<button type="button" class="btn btn-primary btn-lg px-4 gap-3">
Primary button
</button>
<button type="button" class="btn btn-outline-secondary btn-lg px-4">
Secondary
</button>
</div> -->
</div>
</div>
<h1 class="display-8 fw-bold text-body-emphasis text-center">
Storm Prediction Center
</h1>
<div class="container">
<div class="row row-cols-1 row-cols-md-3 mb-3 text-center">
<div class="col">
<div class="card mb-4 rounded-3 shadow-sm">
<div class="card-header py-3">
<h4 class="my-0 fw-normal">Day 1</h4>
</div>
<div class="card-body">
<h1
class="card-title pricing-card-title text-body-emphasis display-5 fw-bold"
>
<span id="spc-1-countdown">00:00:00</span>
</h1>
<!-- Show the user in their local time when the next outlook comes out -->
<p class="text-muted">
<span id="spc-1-local-time"></span>
</p>
<!-- Progress bar that counts down to the next outlook -->
<div class="progress mb-3">
<div
class="progress-bar"
role="progressbar"
style="width: 0%; transition: width 1s ease-in-out"
aria-valuenow="0"
aria-valuemin="0"
aria-valuemax="100"
id="spc-1-progress-bar"
></div>
</div>
<a
type="button"
class="w-100 btn btn-lg btn-primary"
href="https://www.spc.noaa.gov/products/outlook/day1otlk.html"
target="_blank"
rel="noopener noreferrer"
>
View <i class="fa-solid fa-arrow-up-right-from-square"></i>
</a>
</div>
</div>
</div>
<div class="col">
<div class="card mb-4 rounded-3 shadow-sm">
<div class="card-header py-3">
<h4 class="my-0 fw-normal">Day 2</h4>
</div>
<div class="card-body">
<h1
class="card-title pricing-card-title text-body-emphasis display-5 fw-bold"
>
<span id="spc-2-countdown">00:00:00</span>
</h1>
<!-- Show the user in their local time when the next outlook comes out -->
<p class="text-muted">
<span id="spc-2-local-time"></span>
</p>
<!-- Progress bar that counts down to the next outlook -->
<div class="progress mb-3">
<div
class="progress-bar"
role="progressbar"
style="width: 0%; transition: width 1s ease-in-out"
aria-valuenow="0"
aria-valuemin="0"
aria-valuemax="100"
id="spc-2-progress-bar"
></div>
</div>
<a
type="button"
class="w-100 btn btn-lg btn-primary"
href="https://www.spc.noaa.gov/products/outlook/day2otlk.html"
target="_blank"
rel="noopener noreferrer"
>
View <i class="fa-solid fa-arrow-up-right-from-square"></i>
</a>
</div>
</div>
</div>
<div class="col">
<div class="card mb-4 rounded-3 shadow-sm">
<div class="card-header py-3">
<h4 class="my-0 fw-normal">Day 3</h4>
</div>
<div class="card-body">
<h1
class="card-title pricing-card-title text-body-emphasis display-5 fw-bold"
>
<span id="spc-3-countdown">00:00:00</span>
</h1>
<!-- Show the user in their local time when the next outlook comes out -->
<p class="text-muted">
<span id="spc-3-local-time"></span>
</p>
<!-- Progress bar that counts down to the next outlook -->
<div class="progress mb-3">
<div
class="progress-bar"
role="progressbar"
style="width: 0%; transition: width 1s ease-in-out"
aria-valuenow="0"
aria-valuemin="0"
aria-valuemax="100"
id="spc-3-progress-bar"
></div>
</div>
<a
type="button"
class="w-100 btn btn-lg btn-primary"
href="https://www.spc.noaa.gov/products/outlook/day3otlk.html"
target="_blank"
rel="noopener noreferrer"
>
View <i class="fa-solid fa-arrow-up-right-from-square"></i>
</a>
</div>
</div>
</div>
<div class="col">
<div class="card mb-4 rounded-3 shadow-sm">
<div class="card-header py-3">
<h4 class="my-0 fw-normal">Day 4-8</h4>
</div>
<div class="card-body">
<h1
class="card-title pricing-card-title text-body-emphasis display-5 fw-bold"
>
<span id="spc-4-8-countdown">00:00:00</span>
</h1>
<!-- Show the user in their local time when the next outlook comes out -->
<p class="text-muted">
<span id="spc-4-8-local-time"></span>
</p>
<!-- Progress bar that counts down to the next outlook -->
<div class="progress mb-3">
<div
class="progress-bar"
role="progressbar"
style="width: 0%; transition: width 1s ease-in-out"
aria-valuenow="0"
aria-valuemin="0"
aria-valuemax="100"
id="spc-4-8-progress-bar"
></div>
</div>
<a
type="button"
class="w-100 btn btn-lg btn-primary"
href="https://www.spc.noaa.gov/products/exper/day4-8/"
target="_blank"
rel="noopener noreferrer"
>
View <i class="fa-solid fa-arrow-up-right-from-square"></i>
</a>
</div>
</div>
</div>
</div>
</div>
<!-- Link to repo -->
<div class="container">
<div class="row">
<div class="col text-center">
<a href="https://github.com/IceBotYT/SPCountdown">
<i class="fab fa-github fa-2x"></i>
</a>
</div>
</div>
</div>
<script
src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"
integrity="sha384-YvpcrYf0tY3lHB60NNkmXc5s9fDVZLESaAA55NDzOxhy9GkcIdslK1eN7N6jIeHz"
crossorigin="anonymous"
></script>
<script src="spc.js"></script>
</body>
</html>