forked from ravenrebels/ravencoin-webwallet
-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
63 lines (57 loc) · 2.24 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
<!DOCTYPE html>
<html lang="en" data-theme="">
<head>
<link rel="manifest" href="./manifest.json" />
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta
http-equiv="Content-Security-Policy"
content="default-src 'self' 'unsafe-inline' xna-rpc-mainnet.neurai.org rpc-testnet.neurai.org api.xeggex.com evr-rpc-mainnet.ting.finance;
img-src https://* 'self' data:;
child-src 'none';"
/>
<!-- End of headStart -->
<meta name="viewport" content="width=device-width">
<meta name="generator" content="Neurai webwallet for Neurai (XNA) with assets NFT & FT">
<meta name="description" content="Neurai webwallet for Neurai (XNA) with assets NFT & FT">
<link rel="icon" href="favicon.png">
<!-- Open Graph / Facebook -->
<meta property="og:type" content="website">
<meta property="og:title" content="Neurai webwallet">
<meta property="og:description" content="Neurai webwallet for Neurai (XNA) with assets NFT & FT">
<meta name="twitter:image" content="header.jpg">
<!-- Twitter -->
<meta name="twitter:card" content="summary_large_image">
<meta name="twitter:title" content="Neurai webwallet">
<meta name="twitter:description" content="Neurai webwallet for Neurai (XNA) with assets NFT & FT">
<meta name="twitter:image" content="header.jpg">
<link rel="stylesheet" href="./pico.min.css" />
<title>Rebel wallet - Neurai</title>
<link rel="stylesheet" href="./style.css" />
<script>
// Check if the user prefers dark mode
function isDarkModePreferred() {
if (
window.matchMedia &&
window.matchMedia("(prefers-color-scheme: dark)").matches
) {
return true;
} else {
return false;
}
}
//Set data-theme attribute of HTML element, for PICO CSS
if (isDarkModePreferred()) {
document.querySelector("html").setAttribute("data-theme", "dark");
} else {
document.querySelector("html").setAttribute("data-theme", "light");
}
</script>
</head>
<body>
<main class="container">
<div id="app"></div>
</main>
<script type="module" src="./src/index.tsx"></script>
</body>
</html>