forked from shibuyastarbucks/btc-ticker
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
53 lines (46 loc) · 2.24 KB
/
Copy pathindex.html
File metadata and controls
53 lines (46 loc) · 2.24 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
<!DOCTYPE html>
<!-- Code developed by https://github.com/shibuyastarbucks/btc-ticker refactored to vanilla JS with multi-currency support by orangepane -->
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no, viewport-fit=cover">
<title>BTC ticker</title>
<!-- SEO / social -->
<meta name="description" content="A free Bitcoin price ticker for old phones, tablets, and spare screens. Live BTC price in AUD, USD, EUR, GBP, JPY, or NZD. No ads, no accounts, no telemetry.">
<meta name="theme-color" content="#061c30">
<!-- PWA: installable to home screen with a real icon -->
<link rel="manifest" href="manifest.webmanifest">
<link rel="apple-touch-icon" href="icon-180.png">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black-translucent">
<meta name="apple-mobile-web-app-title" content="BTC">
<link rel="icon" href="data:image/svg+xml,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 100 100'><text y='.9em' font-size='90'>₿</text></svg>">
<meta property="og:title" content="BTC ticker">
<meta property="og:description" content="Turn any old screen into a live BTC price ticker. 6 currencies, zero dependencies, no ads. Free alternative to hardware tickers.">
<meta property="og:type" content="website">
<meta property="og:image" content="https://orangepane.github.io/btc-ticker/og-image.png">
<meta name="twitter:image" content="https://orangepane.github.io/btc-ticker/og-image.png">
<meta name="twitter:card" content="summary_large_image">
<link rel="stylesheet" type="text/css" href="style.css">
</head>
<body>
<div id="app">
<div id="currency-label"></div>
<div id="settings-icon">
⚙️
<div id="currency-selector"></div> <!-- options populated by script.js -->
</div>
<div id="container">
<p id="loading">Loading...</p>
<div id="price-wrap" class="hidden">
<p id="diffUp"></p>
<p id="animatedPrice"></p>
<p id="diffDown"></p>
</div>
<div id="reconnecting" class="hidden">Reconnecting...</div>
</div>
</div>
<script src="script.js"></script>
</body>
</html>