/
index.html
325 lines (300 loc) · 14.9 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
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
<!DOCTYPE html>
<html>
<head>
<!-- SEO -->
<title id='tabTitle'>BoringStocks</title>
<meta name="description" content="Stocks for the average trader.">
<meta name="color-scheme" content="dark">
<meta name="viewport" content="width=device-width, initial-scale=1">
<!-- Social Media -->
<meta property="og:title" content="BoringStocks">
<meta property="og:description" content="Stocks for the average trader.">
<meta property="og:image"
content="https://repository-images.githubusercontent.com/332868149/a3c11200-7125-11eb-818d-5d0a73f6ffb4">
<meta property="og:url" content="https://boringstocks.live">
<meta name="twitter:card" content="summary_large_image">
<!-- External Packages -->
<link href="https://fonts.googleapis.com/css2?family=Roboto" rel="stylesheet" />
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.0.0-beta1/dist/css/bootstrap.min.css" rel="stylesheet"
integrity="sha384-giJF6kkoqNQ00vy+HMDP7azOuL0xtbfIcaT9wjKHr8RbDVddVHyTfAAsrekwKmP1" crossorigin="anonymous" />
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.0.0-beta1/dist/js/bootstrap.bundle.min.js"
integrity="sha384-ygbV9kiqUc6oa4msXn9868pTtWMgiQaeYH7/t7LECLbyPA2x65Kgf80OJFdroafW"
crossorigin="anonymous"></script>
<!-- Stylesheets -->
<link rel="stylesheet" href="./css/style.css">
<link rel="stylesheet" href="./css/button.css">
<link rel="stylesheet" href="./css/insetShadow.css">
<link rel="stylesheet" href="./css/shimmer.css">
<link rel="stylesheet" href="./css/shake.css">
<!-- Favicon -->
<link rel="apple-touch-icon" sizes="180x180" href="/icons/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="/icons/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="16x16" href="/icons/favicon-16x16.png">
<link rel="manifest" href="/icons/site.webmanifest">
<link rel="shortcut icon" href="/icons/favicon.ico">
<!-- Fathom - beautiful, simple website analytics -->
<script src="https://cdn.usefathom.com/script.js" data-site="GEPOGEIH" defer></script>
</head>
<body>
<main>
<!-- NAVBAR -->
<nav class="navbar navbar-dark nav-bg">
<div class="container" style="flex-wrap: nowrap;">
<!-- Logo -->
<img style="width: 33px; height: 33px;" class="primaryLabel" src="icons/logo.png" alt="">
<!-- Form -->
<form id="formRoot" class="d-flex" style="padding: 0 12px 0 12px">
<div id="searchContainer">
<input id="searchInput" class="form-control" type="search" placeholder="Search Stock" autocomplete="off"
aria-label="Search" />
<kdb id="searchKey">/</kdb>
</div>
<button id="searchButton" class="btn btn-outline-light buttonStyle" disabled type="submit">
<span id="searchSpan">Search</span>
<div id="loadingDiv" style="display: none;">
<div class="d-flex align-items-center">
<span class="spinner-border spinner-border-sm" role="status" aria-hidden="true"></span>
<span class="sr-only desktopView" style="margin-left: 8px;">Loading...</span>
</div>
</div>
</button>
</form>
<!-- Github Icon -->
<a target="_blank" rel="noopener noreferrer" class="primaryLabel"
href="https://github.com/BoringStocks/BoringStocks">
<svg width="33" height="33" viewBox="0 0 33 33">
<title>Github Link</title>
<path
d="M16.6.46C7.6.46.33 7.76.33 16.76c0 7.17 4.67 13.3 11.14 15.43.8.1 1.1-.4 1.1-.8v-2.8c-4.54.9-5.5-2.2-5.5-2.2-.74-1.9-1.8-2.4-1.8-2.4-1.48-1 .1-1 .1-1 1.64.1 2.5 1.7 2.5 1.7 1.45 2.4 3.8 1.7 4.74 1.3.2-1.1.6-1.8 1.1-2.2-3.6-.4-7.4-1.8-7.4-8.1 0-1.8.7-3.28 1.7-4.4-.1-.4-.7-2.1.2-4.3 0 0 1.4-.48 4.5 1.63 1.3-.36 2.7-.54 4.1-.55 1.4 0 2.8.2 4.1.57 3.1-2.1 4.48-1.7 4.48-1.7.9 2.24.33 3.9.17 4.3 1 1.2 1.6 2.64 1.6 4.44 0 6.23-3.8 7.6-7.43 8 .6.5 1.1 1.5 1.1 3.04v4.47c0 .43.27.94 1.1.8 6.45-2.1 11.1-8.2 11.1-15.4 0-9-7.3-16.3-16.3-16.3"
fill="#fff">
</path>
</svg>
</a>
</div>
</nav>
<!-- Desktop -->
<section>
<div class="container transparent desktopView mainPadding">
<div class="row text-light text-center">
<!-- Ticker Name Container -->
<div class="col bg-dark colStyles headContPadding rootContainer shine" style="margin-right: 24px;">
<div class="informationContainer hide">
<!-- Ticker Index -->
<h1 class="tickerIndex primaryLabel">GME</h1>
<!-- Ticker Company Name -->
<h4 class="companyName secondaryLabel">GameStop Corp.</h4>
</div>
</div>
<!-- Ticker Price Container -->
<div class="col bg-dark colStyles headContPadding priceContainer rootContainer shine"
style="margin-left: 24px;">
<div class="informationContainer hide">
<!-- Current Price -->
<h1 class="currentPrice primaryLabel">225.00</h1>
<h4 class="priceChange" style="color: #FF453A;">-100.00 (-30.77%)</h4>
</div>
</div>
</div>
<div class="row text-light text-center" style="margin-top: 48px; flex-wrap: nowrap;">
<!-- Stock information container -->
<div class="col bg-dark colStyles x-info-col rootContainer shine" style="margin-right: 24px;">
<div class="informationContainer hide">
<div class="x-info-row">
<h4 class="secondaryLabel">Open</h4>
<!-- Open -->
<h4 class="open primaryLabel">316.56</h4>
</div>
<div class="x-info-row">
<h4 class="secondaryLabel">High</h4>
<!-- High -->
<h4 class="high primaryLabel">322.00</h4>
</div>
<!-- Low -->
<div class="x-info-row">
<h4 class="secondaryLabel">Low</h4>
<h4 class="low primaryLabel">212.00</h4>
</div>
<hr>
<div class="x-info-row">
<h4 class="secondaryLabel">Market Cap</h4>
<!-- Market Cap -->
<h4 class="mktCap primaryLabel">3.17B</h4>
</div>
<div class="x-info-row">
<h4 class="secondaryLabel">Volume</h4>
<!-- Volume -->
<h4 class="volume primaryLabel">74,491,412</h4>
</div>
<div class="x-info-row">
<h4 class="secondaryLabel">Avg Volume</h4>
<!-- Average Volume -->
<h4 class="avgVolume primaryLabel">5,123,523</h4>
</div>
</div>
</div>
<!-- CHART JS GRAPH -->
<div class="col bg-dark colStyles rootContainer shine" style="margin-left: 24px;">
<div class="informationContainer hide d-flex h-100">
<div class="btn-group-vertical" role="group" style="margin-right: 16px; min-width: 50px;">
<button class="btn btn-outline-light buttonStyle 1DButton">
<span class="label">1D</span>
<span class="spinner-border spinner-border-sm loader" style="display: none" role="status"
aria-hidden="true"></span>
</button>
<button class="btn btn-outline-light buttonStyle 5DButton">
<span class="label">5D</span>
<span class="spinner-border spinner-border-sm loader" style="display: none" role="status"
aria-hidden="true"></span>
</button>
<button class="btn btn-outline-light buttonStyle 3MButton">
<span class="label">3M</span>
<span class="spinner-border spinner-border-sm loader" style="display: none" role="status"
aria-hidden="true"></span>
</button>
<button class="btn btn-outline-light buttonStyle 1YButton">
<span class="label">1Y</span>
<span class="spinner-border spinner-border-sm loader" style="display: none" role="status"
aria-hidden="true"></span>
</button>
<button class="btn btn-outline-light buttonStyle 5YButton">
<span class="label">5Y</span>
<span class="spinner-border spinner-border-sm loader" style="display: none" role="status"
aria-hidden="true"></span>
</button>
</div>
<div class="chartContainer">
<canvas id="desktopChart"></canvas>
<h4 class="chartError secondaryLabel h-100 justify-content-center align-items-center"
style="display: none">
Couldn't load chart
</h4>
</div>
</div>
</div>
</div>
</div>
</section>
<!-- Mobile -->
<section>
<div class="container transparent mobileView mainPadding">
<div class="row text-light text-center" style="margin-bottom: 24px;">
<div class="col-md-12 bg-dark colStyles headContPadding priceContainer rootContainer shine">
<div class="informationContainer hide">
<!-- Ticker Index -->
<h1 class="tickerIndex primaryLabel">GME</h1>
<!-- Ticker Company Name -->
<h4 class="companyName secondaryLabel">GameStop Corp.</h4>
<hr>
<!-- Current Price -->
<h1 class="currentPrice primaryLabel">225.00</h1>
<!-- Price Change -->
<h4 class="priceChange" style="color: #FF453A;">-100.00 (-30.77%)</h4>
</div>
</div>
</div>
<div class="row text-light text-center">
<!-- ChartJS Graph -->
<div class="col-md-12 bg-dark colStyles rootContainer shine" style="height: 300px;">
<div class="informationContainer hide d-flex flex-column-reverse h-100">
<div class="btn-group" role="group" style="margin-top: 16px; min-width: 50px;">
<button class="btn btn-outline-light buttonStyle 1DButton">
<span class="label">1D</span>
<span class="spinner-border spinner-border-sm loader" style="display: none" role="status"
aria-hidden="true"></span>
</button>
<button class="btn btn-outline-light buttonStyle 5DButton">
<span class="label">5D</span>
<span class="spinner-border spinner-border-sm loader" style="display: none" role="status"
aria-hidden="true"></span>
</button>
<button class="btn btn-outline-light buttonStyle 3MButton">
<span class="label">3M</span>
<span class="spinner-border spinner-border-sm loader" style="display: none" role="status"
aria-hidden="true"></span>
</button>
<button class="btn btn-outline-light buttonStyle 1YButton">
<span class="label">1Y</span>
<span class="spinner-border spinner-border-sm loader" style="display: none" role="status"
aria-hidden="true"></span>
</button>
<button class="btn btn-outline-light buttonStyle 5YButton">
<span class="label">5Y</span>
<span class="spinner-border spinner-border-sm loader" style="display: none" role="status"
aria-hidden="true"></span>
</button>
</div>
<div class="chartContainer">
<canvas id="mobileChart"></canvas>
<h4 class="chartError secondaryLabel h-100 justify-content-center align-items-center"
style="display: none">
Couldn't load chart
</h4>
</div>
</div>
</div>
</div>
<div class="row text-light text-center" style="margin-top: 24px;">
<!-- Stock Information Container -->
<div class="col-sm-12 bg-dark colStyles x-info-col rootContainer shine">
<div class="informationContainer hide">
<div class="x-info-row">
<h4 class="secondaryLabel">Open</h4>
<!-- Open -->
<h4 class="open primaryLabel">316.56</h4>
</div>
<div class="x-info-row">
<h4 class="secondaryLabel">High</h4>
<!-- High -->
<h4 class="high primaryLabel">322.00</h4>
</div>
<div class="x-info-row">
<h4 class="secondaryLabel">Low</h4>
<!-- Low -->
<h4 class="low primaryLabel">212.00</h4>
</div>
<hr>
<div class="x-info-row">
<h4 class="secondaryLabel">Market Cap</h4>
<!-- Market Cap -->
<h4 class="mktCap primaryLabel">3.17B</h4>
</div>
<div class="x-info-row">
<h4 class="secondaryLabel">Volume</h4>
<!-- Volume -->
<h4 class="volume primaryLabel">74,491,412</h4>
</div>
<div class="x-info-row">
<h4 class="secondaryLabel">Avg Volume</h4>
<!-- Average Volume-->
<h4 class="avgVolume primaryLabel">5,123,523</h4>
</div>
</div>
</div>
</div>
</div>
</section>
<!-- Footer -->
<div class="footer">
<div class="container"
style="display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap;">
<!-- margin: 8; -->
<h6 class="secondaryLabel" style="font-weight: 300; margin: 0; padding: 8px">Designed in California</h6>
<a href="https://www.producthunt.com/posts/boringstocks?utm_source=badge-featured&utm_medium=badge&utm_souce=badge-boringstocks"
target="_blank" style="text-decoration: none;">
<h6 class="secondaryLabel colStyles"
style="font-weight: 300; margin: 0; padding: 8px !important; border-radius: 12px !important; background-color: #06090e !important; display: flex; align-items: center;">
<img src="./icons/product-hunt.png" alt="Product Hunt Logo" width="22" height="22"
style="margin-right: 8px" />
Come join us on Product Hunt!
</h6>
</a>
<h6 class="secondaryLabel" style="font-weight: 300; margin: 0; padding: 8px">© BoringStocks 2021</h6>
</div>
</div>
</main>
<script type="text/javascript"
src="https://cdn.jsdelivr.net/combine/npm/chart.js@2.9.4,npm/chart.js@2.9.4/dist/Chart.min.js,npm/chart.js@2.9.4/dist/Chart.bundle.min.js,npm/chart.js@2.9.4/dist/Chart.bundle.min.js"></script>
<script type="module" src="js/index.js"></script>
<script type="module" src="js/chart.js"></script>
</body>
</html>