-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
126 lines (114 loc) · 3.35 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta http-equiv="x-ua-compatible" content="ie=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title>
<%= htmlWebpackPlugin.options.title %>
</title>
<meta
name="description"
content="<%= htmlWebpackPlugin.options.metadata.description %>"
/>
<!-- base url -->
<base href="<%= htmlWebpackPlugin.options.metadata.baseUrl %>" />
<% if (webpackConfig.htmlElements.headTags) { %>
<!-- Configured Head Tags -->
<%= webpackConfig.htmlElements.headTags %> <% } %> <%=
htmlWebpackPlugin.files.webpackManifest %> <% if
(htmlWebpackPlugin.options.metadata.isDevServer &&
htmlWebpackPlugin.options.metadata.HMR !== true) { %>
<!-- Webpack Dev Server reload -->
<script src="/webpack-dev-server.js"></script>
<% } %>
<!-- Async Google Tag Manager: change gtmKey value inside config.prod.conf to your to be your site's ID-->
<% if (htmlWebpackPlugin.options.gtmKey) { %>
<!-- Google Tag Manager -->
<script>
(function (w, d, s, l, i) {
w[l] = w[l] || [];
w[l].push({
'gtm.start': new Date().getTime(),
event: 'gtm.js',
});
var f = d.getElementsByTagName(s)[0],
j = d.createElement(s),
dl = l != 'dataLayer' ? '&l=' + l : '';
j.async = true;
j.src = 'https://www.googletagmanager.com/gtm.js?id=' + i + dl;
f.parentNode.insertBefore(j, f);
})(
window,
document,
'script',
'dataLayer',
'<%= htmlWebpackPlugin.options.gtmKey %>'
);
</script>
<!-- End Google Tag Manager -->
<% } %>
<!-- End Google Analytics -->
<!-- CSS will be injected by webpack here -->
<!-- Preload link tags will be injected by webpack here -->
<style type="text/css">
body,
html {
height: 100%;
}
.app-loading {
position: relative;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
height: 100%;
background-color: #2a2c39;
}
.logo-loading {
animation-name: example;
animation-duration: 2s;
animation-iteration-count: infinite;
width: 200px;
height: 200px;
position: absolute;
background: url(./assets/img/logo.png) center center no-repeat;
}
@keyframes example {
0% {
opacity: 1;
}
50% {
opacity: 0.5;
}
100% {
opacity: 0;
}
}
</style>
</head>
<body>
<% if (htmlWebpackPlugin.options.gtmKey) { %>
<!-- Google Tag Manager (noscript) -->
<noscript
><iframe
src="https://www.googletagmanager.com/ns.html?id=<%= htmlWebpackPlugin.options.gtmKey %>"
height="0"
width="0"
style="display: none; visibility: hidden;"
></iframe
></noscript>
<!-- End Google Tag Manager (noscript) -->
<% } %>
<app>
<!-- loading layout replaced by app after startupp -->
<div class="app-loading">
<div class="logo-loading"></div>
<!-- <svg class="spinner" viewBox="25 25 50 50">
<circle class="path" cx="50" cy="50" r="20" fill="none" stroke-width="2" stroke-miterlimit="10" />
</svg> -->
</div>
</app>
<!-- Scripts will be injected by webpack here -->
<script src="runtime.js" defer></script><script src="polyfills-es5.js" nomodule defer></script><script src="polyfills.js" defer></script><script src="styles.js" defer></script><script src="vendor.js" defer></script><script src="main.js" defer></script></body>
</html>