-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
executable file
·44 lines (41 loc) · 1.37 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
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<link rel="shortcut icon" href="/favicon.ico" />
<meta
name="viewport"
content="width=device-width, initial-scale=1, shrink-to-fit=yes"
/>
<meta name="theme-color" content="#000000" />
<meta name="description" content="" />
<script src="https://use.fontawesome.com/ba3dde78ee.js"></script>
<link rel="manifest" href="/manifest.json" />
<title>Uniswap v4 by Example</title>
<!-- Global site tag (gtag.js) - Google Analytics -->
<script
async
src="https://www.googletagmanager.com/gtag/js?id=UA-133759045-1"
></script>
<script>
window.dataLayer = window.dataLayer || []
function gtag() {
dataLayer.push(arguments)
}
gtag("js", new Date())
gtag("config", "UA-133759045-1")
</script>
</head>
<body>
<noscript>You need to enable JavaScript to run this app.</noscript>
<script>
// This script tag here is, purposefully blocking the 1st render
// to avoid background flashes on page load/reload
// It does the bare minimum: checking the previous mode in the localStorage
const theme = localStorage.getItem("theme") || "light"
document.body.classList.add(theme)
</script>
<div id="root"></div>
<script type="module" src="/src/index.tsx"></script>
</body>
</html>