forked from nimiq/safe
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
76 lines (73 loc) · 3.36 KB
/
Copy pathindex.html
File metadata and controls
76 lines (73 loc) · 3.36 KB
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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Nimiq Safe</title>
<!-- PWA Configs -->
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
<!-- @asset(/apps/safe/src/favicon.ico) -->
<link rel="shortcut icon" href="favicon.ico">
<!-- Android -->
<meta name="mobile-web-app-capable" content="yes">
<meta name="theme-color" content="#536dfe">
<!--
iOS devices should be served their own version of the manifest.
The best idea is to use a server-side transparent rewrite. An example
for nginx could be:
# redirect iOS users to a custom PWA manifest due to broken PWA.
location /manifest.json {
if ($http_user_agent ~* '(iPhone|iPod|iPad)') {
rewrite ^/manifest.json$ /manifest-ios.json;
}
}
-->
<!--
@asset(/apps/safe/src/pwa/manifest.json)
@asset(/apps/safe/src/pwa/manifest-ios.json)
@asset(/apps/safe/src/pwa/icon180.png)
@asset(/apps/safe/src/pwa/icon192.png)
-->
<link rel="manifest" href="/apps/safe/src/pwa/manifest.json">
<meta name="google" content="notranslate">
<!-- iOS ( See: https://developer.apple.com/libraries/content/documentation/AppleApplications/Reference/SafariWebContent/ConfiguringWebApplications/ConfiguringWebApplications.html ) -->
<meta name="apple-mobile-web-app-title" content="Nimiq Safe">
<meta name="apple-mobile-web-app-status-bar-style" content="translucent">
<link rel="apple-touch-icon" sizes="180x180" href="/apps/safe/src/pwa/icon180.png">
<meta name="application-name" content="Nimiq Safe">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Muli:300,400,600,700">
<link rel="stylesheet" href="https://fonts.googleapis.com/css?family=Fira+Mono&text=0123456789ABCDEFGHJKLMNPQRSTUVXY">
<!-- build:css -->
<link rel="stylesheet" href="/elements/vue-components/dist/NimiqComponents.css">
<link rel="stylesheet" href="safe.css">
<!-- endbuild -->
<title>Nimiq Safe</title>
<!-- Matomo -->
<script type="text/javascript">
if (location.origin === 'https://safe.nimiq.com') {
var _paq = _paq || [];
/* tracker methods like "setCustomDimension" should be called before "trackPageView" */
_paq.push(['trackPageView']);
_paq.push(['enableLinkTracking']);
(function() {
var u="//stats.nimiq-network.com/";
_paq.push(['setTrackerUrl', u+'piwik.php']);
_paq.push(['setSiteId', '3']);
var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
g.type='text/javascript'; g.async=true; g.defer=true; g.src=u+'piwik.js'; s.parentNode.insertBefore(g,s);
})();
}
</script>
<!-- End Matomo Code -->
</head>
<body class="preparing">
<div id="app"></div>
<!-- build:js -->
<script src="/libraries/nimiq-utils/moment/moment.min.js"></script>
<script src="/elements/vue-components/lib/vue.js"></script><!-- development version, includes helpful console warnings -->
<script src="/elements/vue-components/lib/vue-async-computed.js"></script>
<script src="/elements/vue-components/dist/NimiqComponents.umd.min.js"></script>
<script src="safe.js" type="module"></script>
<!-- endbuild -->
<!-- build:browser-warning --><!-- endbuild -->
</body>
</html>