-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.html
94 lines (84 loc) · 3.46 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
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<base href="/">
<link rel="author" type="text/plain" href="humans.txt">
<meta name="author" content="Giorgio Garasto (Dabolus)">
<meta name="copyright" content="Giorgio Garasto (Dabolus)">
<meta name="description"
content="Welcome to the beta of the Clash Royale Card Maker! With this simple online tool you will be able to create your own custom Clash Royale cards!">
<meta name="keywords" content="clash royale card maker supercell generator online free">
<meta name="viewport" content="width=device-width, minimum-scale=1, initial-scale=1, user-scalable=yes">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<link rel="apple-touch-icon" sizes="180x180" href="assets/icons/apple-touch-icon.png">
<link rel="icon" type="image/png" sizes="32x32" href="assets/icons/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="194x194" href="assets/icons/favicon-194x194.png">
<link rel="icon" type="image/png" sizes="192x192" href="assets/icons/android-chrome-192x192.png">
<link rel="icon" type="image/png" sizes="16x16" href="assets/icons/favicon-16x16.png">
<link rel="manifest" href="site.webmanifest">
<link rel="mask-icon" href="assets/icons/safari-pinned-tab.svg" color="#344253">
<link rel="shortcut icon" href="favicon.ico">
<meta name="apple-mobile-web-app-title" content="Clash Royale Card Maker">
<meta name="application-name" content="Clash Royale Card Maker">
<meta name="msapplication-config" content="browserconfig.xml">
<meta name="theme-color" content="#344253">
<title>Beta - Clash Royale Card Maker</title>
<script>
window.Polymer = {rootPath: '/'};
// Load and register pre-caching Service Worker
if ('serviceWorker' in navigator) {
window.addEventListener('load', () => {
navigator.serviceWorker.register('service-worker.js', {
scope: Polymer.rootPath,
}).then((registration) => {
registration.onupdatefound = () => {
if (navigator.serviceWorker.controller) {
const installing = registration.installing;
installing.onstatechange = () => {
// SW updated
if (installing.state === 'installed') {
const shell = document.querySelector('crcm-shell');
if (shell && shell.showUpdateToast) {
shell.showUpdateToast();
} else if (window.confirm('New version available. Do you want to use it now?')) {
window.location.reload();
}
}
};
}
};
});
});
}
</script>
<script async src="https://www.google-analytics.com/analytics.js"></script>
<style>
* {
box-sizing: border-box;
}
body {
padding: 0;
margin: 0;
font-family: 'SC CCBackbeat', sans-serif;
line-height: 1.5;
width: 100vw;
height: 100vh;
overflow: hidden;
background-color: #344253;
}
</style>
</head>
<body>
<crcm-shell></crcm-shell>
<!-- Load webcomponents-loader.js to check and load any polyfills your browser needs -->
<script src="bower_components/webcomponentsjs/webcomponents-loader.js"></script>
<!-- Load IDB promised -->
<script src="bower_components/idb/lib/idb.js"></script>
<!-- Load your application shell -->
<link rel="import" href="src/crcm-shell.html">
<noscript>
Please enable JavaScript to use this website.
</noscript>
</body>
</html>