-
Notifications
You must be signed in to change notification settings - Fork 3
/
update.html
284 lines (268 loc) · 11.1 KB
/
update.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
<!DOCTYPE html>
<html lang="en" class="h-100">
<head>
<title>DLUX</title>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<link rel="shortcut icon" href="/img/favicon.ico" type="image/x-icon" />
<!-- Bootstrap -->
<!-- CSS only -->
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet"
integrity="sha384-gH2yIJqKdNHPEq0n4Mqa/HGKIhSkIHeL5AyhkYV8i59U5AR6csBvApHHNl/vI1Bx" crossorigin="anonymous">
<!-- JavaScript Bundle with Popper -->
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"
integrity="sha384-A3rJD856KowSb7dwlZdYEkO39Gagi7vIsF0jrRAoQmDKKtQBHUuLZ9AsSv4jD4Xa"
crossorigin="anonymous"></script>
<link href="/css/custom.css" rel="stylesheet" />
<!-- Icons -->
<script src="https://kit.fontawesome.com/0f693ffc58.js" crossorigin="anonymous"></script>
<script type="module" src="/js/indexvue.js"></script>
<!--<script type="module" src="/js/appvue.js"></script>-->
<link rel="manifest" href="/manifest.webmanifest">
<link rel="apple-touch-icon" href="/img/dlux-icon-192.png">
<meta name="apple-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="DLUX">
<meta name="theme-color" content="#111222" />
<style>
.scrolling-words-container {
display: flex;
align-items: center;
font-size: 2rem;
font-weight: 600;
}
.scrolling-words-box {
height: 3rem;
margin: auto;
overflow: hidden;
ul {
margin: 0 0.625rem;
padding: 0;
animation: scrollUp 4s infinite;
li {
display: flex;
align-items: center;
justify-content: flex-end;
height: 3rem;
list-style: none;
}
}
}
// Variables
@keyframes scrollUp {
15%,
25% {
transform: translateY(-20%);
}
40%,
50% {
transform: translateY(-40%);
}
65%,
75% {
transform: translateY(-60%);
}
90%,
100% {
transform: translateY(-80%);
}
}
</style>
<script>
if ('serviceWorker' in navigator) {
navigator
.serviceWorker
.register(
// path to the service worker file
'/sw.js'
)
// the registration is async and it returns a promise
.then(function (reg) {
console.log('Registration Successful');
});
}
</script>
</head>
<body class="d-flex flex-column h-100 padme-t70">
<div id="app">
<div>
<nav-vue @login="account = $event;getTokenUser($event);getHiveUser($event)" @logout="account = '';removeUser()"
@ack="removeOp($event)" @refresh="run($event)" :op="toSign" :lapi="lapi" />
</div>
<div>
<nav-vue @login="setValue('account', $event);getTokenUser($event);getHiveUser($event)"
@logout="setValue('account', '');removeUser()" @ack="removeOp($event)" />
</div>
<main class="d-flex flex-column flex-shrink-0 text-white">
<h1 class="visually-hidden">Frontpage</h1>
<div class="px-4 py-5 my-5 text-center">
<div class="d-flex">
<div class="d-flex align-items-center ms-auto me-auto">
<h1 class="mb-0 display-5 fw-bold">dlux is:</h1>
<h3 class="mb-0 ms-2">
<marquee behavior="scroll" direction="up" height="70" scrollamount="2" scrolldelay="0">
DeFi<br>dApps<br>NFTs<br>GameFi<br>open source<br>AR + VR<br>metaverse<br>HIVE<br>blockchain<br>DAO
<br>Governance<br>Honeycomb<br>communities
</marquee>
</h3>
</div>
</div>
<div class="col-lg-6 mx-auto">
<p class="lead mb-4">THE ULTIMATE DECENTRALIZED INFRASTRUCTURE</p>
</div>
<div class="container">
<div>
<h2 class="text-start">Tokens:</h2>
</div>
<div class="row mb-3">
<div class="col-sm-4">
<div class="card text-bg-warning">
<div class="card-header">DLUX</div>
<div class="card-body">
<span>24 hr change:</span>
<h5 :class="{'card-title': true, 'text-success': tickers.DLUX.change > 0, 'text-danger': tickers.DLUX.change < 0}">{{tickers.DLUX.change}}%<i :class="{'ms-2': true, 'fa-solid': true, 'fa-equals': tickers.DLUX.change == 0, 'fa-arrow-down': tickers.DLUX.change < 0, 'fa-arrow-up': tickers.DLUX.change > 0}"></i></h5>
<span>24 hr volume:</span>
<h6 class="card-title">{{toFixed(tickers.DLUX.vol/1000,3)}}<i class="ms-2 fa-brands fa-hive"></i></h6>
</div>
<div class="card-footer">
<p class="card-text">{{tickers.DLUX.tick}}<i class="ms-2 fa-brands fa-hive"></i></p>
</div>
</div>
</div>
<div class="col-sm-4">
<div class="card text-bg-warning">
<div class="card-header">LARYNX</div>
<div class="card-body">
<span>24 hr change:</span>
<h5 :class="{'card-title': true, 'text-success': tickers.LARYNX.change > 0, 'text-danger': tickers.LARYNX.change < 0}">{{tickers.LARYNX.change}}%<i :class="{'ms-2': true, 'fa-solid': true, 'fa-equals': tickers.LARYNX.change == 0, 'fa-arrow-down': tickers.LARYNX.change < 0, 'fa-arrow-up': tickers.LARYNX.change > 0}"></i></h5>
<span>24 hr volume:</span>
<h6 class="card-title">{{toFixed(tickers.LARYNX.vol/1000,3)}}<i class="ms-2 fa-brands fa-hive"></i></h6>
</div>
<div class="card-footer">
<p class="card-text">{{tickers.LARYNX.tick}}<i class="ms-2 fa-brands fa-hive"></i></p>
</div>
</div>
</div>
<div class="col-sm-4">
<div class="card text-bg-warning">
<div class="card-header">DUAT</div>
<div class="card-body">
<span>24 hr change:</span>
<h5 :class="{'card-title': true, 'text-success': tickers.DUAT.change > 0, 'text-danger': tickers.DUAT.change < 0}">{{tickers.DUAT.change}}%<i :class="{'ms-2': true, 'fa-solid': true, 'fa-equals': tickers.DUAT.change == 0, 'fa-arrow-down': tickers.DUAT.change < 0, 'fa-arrow-up': tickers.DUAT.change > 0}"></i></h5>
<span>24 hr volume:</span>
<h6 class="card-title">{{toFixed(tickers.DUAT.vol/1000,3)}}<i class="ms-2 fa-brands fa-hive"></i></h6>
</div>
<div class="card-footer">
<p class="card-text">{{tickers.DUAT.tick}}<i class="ms-2 fa-brands fa-hive"></i></p>
</div>
</div>
</div>
</div>
<h2 class="text-start">NFTs:</h2>
<div class="row mb-5">
<div class="col-sm-4">
<div class="card text-bg-warning">
<div class="card-header">Auction Countdown</div>
<div class="card-body">
img
</div>
<div class="card-footer">
<p class="card-text">Bid: 75<i class="ms-2 fa-brands fa-hive"></i></p>
</div>
</div>
</div>
<div class="col-sm-4">
<div class="card text-bg-warning">
<div class="card-header">Buy Now</div>
<div class="card-body">
img
</div>
<div class="card-footer">
<p class="card-text">Price: 100<i class="ms-2 fa-brands fa-hive"></i></p>
</div>
</div>
</div>
<div class="col-sm-4">
<div class="card text-bg-warning">
<div class="card-header">Buy Now</div>
<div class="card-body">
img
</div>
<div class="card-footer">
<p class="card-text">Price: 125<i class="ms-2 fa-brands fa-hive"></i></p>
</div>
</div>
</div>
</div>
<h2 class="text-center mb-2">COMMUNITY PROJECTS</h2>
<div class="row mb-5">
<div class="col-sm-4">
<img class="img-fluid" src="/img/hub-logo.png" style="max-height: 350px;">
</div>
<div class="col-sm-4">
<img class="img-fluid" src="/img/spknetwork.png" style="max-height: 350px;">
</div>
<div class="col-sm-4">
<img class="img-fluid" src="/img/ragnarok.png" style="max-height: 350px;">
</div>
</div>
<div class="row">
<div class="d-flex justify-content-center">
<button type="button" class="btn btn-danger btn-lg mx-3">GET HIVE</button>
<button type="button" class="btn btn-secondary btn-lg mx-3">LEARN MORE</button>
</div>
</div>
</div>
</div>
</main>
<div>
<foot-vue />
</div>
</div>
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"
integrity="sha384-ka7Sk0Gln4gmtz2MlQnikT1wXgYsOg+OMhuP+IlRH9sENBO0LRn5q+8nbTov4+1p"
crossorigin="anonymous"></script>
<script>
(function () {
"use strict";
window.addEventListener("load", function () {
// Fetch all the forms we want to apply custom Bootstrap validation styles to
var forms = document.getElementsByClassName("needs-validation");
// Loop over them and prevent submission
var validation = Array.prototype.filter.call(forms, function (form) {
form.addEventListener(
"submit",
function (event) {
if (form.checkValidity() === false) {
event.preventDefault();
event.stopPropagation();
}
form.classList.add("was-validated");
},
false
);
});
});
})();
var disabletab = document.getElementsByClassName("disabled-input");
for (var i = 0; i < disabletab.length; i++) {
disabletab[i].setAttribute("tabindex", "-1");
}
var toastElList = [].slice.call(document.querySelectorAll(".toast"));
var toastList = toastElList.map(function (toastEl) {
return new bootstrap.Toast(toastEl, option);
});
var tooltipTriggerList = [].slice.call(
document.querySelectorAll('[data-bs-toggle="tooltip"]')
);
var tooltipList = tooltipTriggerList.map(function (tooltipTriggerEl) {
return new bootstrap.Tooltip(tooltipTriggerEl);
});
</script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/crypto-js/4.1.1/crypto-js.min.js"
integrity="sha512-E8QSvWZ0eCLGk4km3hxSsNmGWbLtSCSUcewDQPQWZF6pEU8GlT8a5fF32wOl1i8ftdMhssTrF/OhyGWwonTcXA=="
crossorigin="anonymous" referrerpolicy="no-referrer"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/uuid/8.1.0/uuidv4.min.js"></script>
</body>
</html>