-
Notifications
You must be signed in to change notification settings - Fork 28
/
index.html
237 lines (213 loc) · 8 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
<!DOCTYPE html>
<html lang="en" data-theme="dark" translate="no">
<head>
<meta charset="utf-8" />
<link rel="shortcut icon" href="/favicon.ico?version=v" />
<link rel="apple-touch-icon" type="image/png" href="/favicon.png?version=v1" />
<link rel="icon" type="image/png" href="/favicon.png?version=v1" />
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1" />
<meta name="theme-color" content="#31CB9E" />
<meta name="fortmatic-site-verification" content="j93LgcVZk79qcgyo" />
<meta
name="description"
content="KyberSwap is a multi-chain aggregator and DeFi hub that empowers users with the insights and tools to achieve financial autonomy. All the above while being fast, secure, and easy-to-use."
/>
<meta property="og:image" content="/kyberswap-og-image.png?version=2023" />
<meta http-equiv="Cache-Control" content="no-cache, no-store, must-revalidate" />
<meta http-equiv="Pragma" content="no-cache" />
<meta http-equiv="Expires" content="0" />
<!--
manifest.json provides metadata used when your web app is installed on a
user's mobile device or desktop. See https://developers.google.com/web/fundamentals/web-app-manifest/
-->
<link rel="manifest" href="/manifest.json" />
<link rel="preload" as="image" href="/logo-dark.svg" />
<link rel="preload" as="image" href="/logo.svg" />
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin />
<link
href="https://fonts.googleapis.com/css2?family=Work+Sans:wght@300;400;500;600&display=swap"
rel="preload"
as="style"
/>
<link
href="https://fonts.googleapis.com/css2?family=Work+Sans:wght@300;400;500;600&display=swap"
rel="stylesheet"
/>
<title>KyberSwap - Limitless Access To DeFi</title>
<script>
window.global = window
</script>
<script type="module">
import { Buffer } from 'buffer'
import EventEmitter from 'events'
import process from 'process'
window.Buffer = Buffer
window.process = process
window.EventEmitter = EventEmitter
</script>
<!-- <script> -->
<!-- var cookie3Options = { siteId: 301, additionalTracking: true, cookielessEnabled: true } -->
<!---->
<!-- window._paq = window._paq || [] -->
<!-- ;(function () { -->
<!-- var d = document, -->
<!-- g = d.createElement('script'), -->
<!-- s = d.getElementsByTagName('script')[0] -->
<!-- g.async = true -->
<!-- g.src = '/libs/cookie3.js' -->
<!-- s.parentNode.insertBefore(g, s) -->
<!-- })() -->
<!-- </script> -->
<!-- <script> -->
<!-- !(function () { -->
<!-- var analytics = (window.analytics = window.analytics || []) -->
<!-- if (!analytics.initialize) -->
<!-- if (analytics.invoked) window.console && console.error && console.error('Segment snippet included twice.') -->
<!-- else { -->
<!-- analytics.invoked = !0 -->
<!-- analytics.methods = [ -->
<!-- 'trackSubmit', -->
<!-- 'trackClick', -->
<!-- 'trackLink', -->
<!-- 'trackForm', -->
<!-- 'pageview', -->
<!-- 'identify', -->
<!-- 'reset', -->
<!-- 'group', -->
<!-- 'track', -->
<!-- 'ready', -->
<!-- 'alias', -->
<!-- 'debug', -->
<!-- 'page', -->
<!-- 'once', -->
<!-- 'off', -->
<!-- 'on', -->
<!-- 'addSourceMiddleware', -->
<!-- 'addIntegrationMiddleware', -->
<!-- 'setAnonymousId', -->
<!-- 'addDestinationMiddleware', -->
<!-- ] -->
<!-- analytics.factory = function (e) { -->
<!-- return function () { -->
<!-- if (window.analytics.initialized) return window.analytics[e].apply(window.analytics, arguments) -->
<!-- var i = Array.prototype.slice.call(arguments) -->
<!-- i.unshift(e) -->
<!-- analytics.push(i) -->
<!-- return analytics -->
<!-- } -->
<!-- } -->
<!-- for (var i = 0; i < analytics.methods.length; i++) { -->
<!-- var key = analytics.methods[i] -->
<!-- analytics[key] = analytics.factory(key) -->
<!-- } -->
<!-- analytics.load = function (key, i) { -->
<!-- var t = document.createElement('script') -->
<!-- t.type = 'text/javascript' -->
<!-- t.async = !0 -->
<!-- t.src = '/libs/red2.js' -->
<!-- var n = document.getElementsByTagName('script')[0] -->
<!-- n.parentNode.insertBefore(t, n) -->
<!-- analytics._loadOptions = i -->
<!-- } -->
<!-- analytics._writeKey = 'DgnqvAHbWsKaPnkdvC19EMC8DbXh1G52' -->
<!-- analytics.SNIPPET_VERSION = '4.16.1' -->
<!-- analytics.load('DgnqvAHbWsKaPnkdvC19EMC8DbXh1G52') -->
<!-- analytics.page() -->
<!-- } -->
<!-- })() -->
<!-- </script> -->
</head>
<body>
<noscript>You need to enable JavaScript to run this app.</noscript>
<div id="app"></div>
<script type="module" src="/src/index.tsx"></script>
<style type="text/css" class="preloadhtml-style">
.preloadhtml {
position: fixed;
top: 0;
left: 0;
right: 0;
bottom: 0;
font-family: 'Work Sans', 'Inter var', sans-serif;
}
.preloadhtml {
background-color: #0f0f0f;
}
.preloadhtml-header {
display: flex;
padding: 1rem;
z-index: 2;
}
.preloadhtml-logo {
transition: transform 0.3s ease;
}
.preloadhtml-logo:hover {
transform: rotate(-5deg);
}
.preloadhtml-header-link {
display: flex;
align-items: center;
margin-left: 12px;
}
.preloadhtml-header-link-item {
padding: 8px 12px;
width: max-content;
font-weight: 500;
font-size: 16px;
display: flex;
align-items: center;
gap: 6px;
}
.preloadhtml-header-link-item {
color: rgb(169, 169, 169);
}
.preloadhtml-logo {
width: 140px;
height: 51.38px;
}
@keyframes pulse {
0% {
transform: scale(1);
}
60% {
transform: scale(1.1);
}
100% {
transform: scale(1);
}
}
</style>
<div class="preloadhtml">
<div class="preloadhtml-header">
<div class="preloadhtml-logo">
<img class="onlyVisibleInDarkMode" style="margin-top: 1px" width="140px" src="/logo-dark.svg" alt="DmmLogo" />
</div>
<div class="preloadhtml-header-link">
<div style="color: #31cb9e" class="preloadhtml-header-link-item">Swap</div>
<div class="preloadhtml-header-link-item">Earn</div>
<div class="preloadhtml-header-link-item">Analytics</div>
<div class="preloadhtml-header-link-item">About</div>
<div class="preloadhtml-header-link-item">Blog</div>
</div>
</div>
<div style="height: 180px; display: flex">
<img
class="onlyVisibleInDarkMode"
style="animation: pulse 800ms linear infinite; margin: auto"
width="160px"
src="/logo-dark.svg"
alt="DmmLogo"
/>
</div>
</div>
<script src="/charting_library/charting_library.standalone.js"></script>
<!--
This HTML file is a template.
If you open it directly in the browser, you will see an empty page.
You can add webfonts, meta tags, or analytics to this file.
The build step will place the bundled scripts into the <body> tag.
To begin the development, run `npm start` or `yarn start`.
To create a production bundle, use `npm run build` or `yarn build`.
-->
</body>
</html>