-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathindex.html
116 lines (96 loc) · 5.15 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
<!DOCTYPE html>
<html lang="en" class="color-transition">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" />
<!-- PWA -->
<meta name="theme-color" content="#4a68ff" />
<meta name="mobile-web-app-capable" content="yes" />
<meta name="apple-mobile-web-app-status-bar-style" content="#4a68ff" />
<meta name="apple-mobile-web-app-capable" content="yes" />
<meta name="msapplication-TileImage" content="./public/assets/favicon_full_512.png">
<meta name="msapplication-TileColor" content="#4a68ff" />
<meta name="msapplication-tap-highlight" content="no" />
<title>PriceLink</title>
<meta name="description" content="Display real-time prices of stocks, forex, crypto or indices using Chainlink's decentralized on-chain smart-contracts" />
<meta name="author" content="Dorian Bayart" />
<meta name="keywords" content="decentralized, blockchain, chainlink, prices, realtime, on-chain, smart-contract, stocks, forex, crypto, indices, web3, web3.js" />
<meta name="robots" content="index, follow" />
<link rel="icon" type="image/svg" href="./public/assets/favicon_256.svg" />
<link rel="shortcut" type="image/svg" href="./public/assets/favicon_full_512.svg" />
<link rel="apple-touch-icon" type="image/png" href="./public/assets/favicon_full_512.png" />
<link href="https://dorianbayart.github.io/PriceLink/" rel="canonical" />
<meta property="og:title" content="PriceLink" />
<meta property="og:type" content="website" />
<meta property="og:description" content="Display real-time prices of stocks, forex, crypto or indices using Chainlink's decentralized on-chain smart-contracts" />
<meta property="og:url" content="./" />
<meta property="og:image" content="./public/assets/favicon_full_512.svg" />
<meta property="og:site_name" content="PriceLink" />
<link rel="manifest" href="./manifest.webmanifest">
<!--
<script src="/public/js/pwa.js"></script>
-->
<script type="importmap">
{
"imports": {
"plot": "https://cdn.jsdelivr.net/npm/@observablehq/plot/+esm"
}
}
</script>
<script>
if('serviceWorker' in navigator) {
navigator.serviceWorker.register('sw.js');
};
</script>
<script
defer
src="https://cdn.jsdelivr.net/npm/web3@1/dist/web3.min.js"
crossorigin="anonymous"
referrerpolicy="no-referrer"
></script>
<script defer src="./public/script/constant.js"></script>
<script defer src="./public/script/index.js" type="module"></script>
<script defer src="http://bernardo-castilho.github.io/DragDropTouch/DragDropTouch.js"></script>
<link rel="stylesheet" href="./public/style/reset.css" />
<link rel="stylesheet" href="./public/style/page.css" />
<link rel="stylesheet" href="./public/style/details.css" />
<link rel="stylesheet" href="./public/style/footer.css">
</head>
<body>
<header>
<h1>PriceLink</h1>
<h2>Chainlink - Realtime - Prices - Decentralized - OnChain</h2>
</header>
<div class="screener translatable">
<ul id="screener"></ul>
<div id="trash"><img src="./public/assets/buttons/trash.svg" width="32px" height="32px" title="Trash" alt="Trash button" /></div>
</div>
<div class="search translatable">
<input type="text" id="search" placeholder="Search">
</div>
<main id="main" class="translatable"></main>
<section id="details" class="translatable">
<button id="backFromDetails">
<img src="./public/assets/buttons/compact-chevron-left.svg" width="32px" height="32px" title="Back" alt="Back button" />
</button>
<div id="details-content">
<h1 id="details-assetName"></h1>
<h2 id="details-name"></h2>
<h3 id="details-feedType"></h3>
<div id="details-price" class="price"></div>
<div id="details-percentChange" class="percent"></div>
<div id="details-graph"></div>
</div>
</section>
<footer class="footer translatable">
<a id="github_link" class="link-with-img" title="Go to PriceLink Github" href="https://github.com/dorianbayart/PriceLink" target="_blank" rel="noopener">
<img src="./public/assets/github-mark.svg" title="Github Logo" alt="Github Logo" width="20px" height="20px" />
<span>PriceLink</span>
</a>
</footer>
</body>
<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=Roboto:wght@100;200;300;400;500;700&display=swap" rel="stylesheet">
<link href="https://fonts.googleapis.com/css2?family=Roboto+Mono:wght@100;200;300;400;500&display=swap" rel="stylesheet">
</html>