-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathindex.html
96 lines (80 loc) · 2.49 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
<!doctype html>
<html lang='en'>
<head>
<meta charset='utf-8'>
<meta name='viewport' content='width=device-width, initial-scale=1, shrink-to-fit=no' />
<link rel="icon" href="%BASE_URL%/meta/favicon.png" type='image/png' sizes="32x32">
<link rel="icon" href="%BASE_URL%/meta/icon.svg" type="image/svg+xml">
<link rel="apple-touch-icon" href="%BASE_URL%/meta/apple-touch-icon.png">
<meta property="og:image" content='%BASE_URL%/meta/meta-image.png'>
<meta name="twitter:image" content='%BASE_URL%/meta/meta-image.png'>
<meta property='og:url' content='%BASE_URL%/'>
<title>%VITE_APP_TITLE%</title>
<meta name='title' content='%VITE_APP_TITLE%'>
<meta name='description' content='%VITE_APP_DESCRIPTION%'>
<style>
#welcome-banner {
display: flex;
align-items: center;
justify-content: center;
text-align: center;
position: absolute;
top: 0;
left: 0;
right: 0;
bottom: 0;
z-index: 100;
background: #fff;
margin: 0;
padding: 1rem;
font-family: sans-serif;
font-size: 1rem;
transition: all 320ms ease-in-out;
}
#welcome-banner h1 {
height: 3rem;
display: flex;
justify-content: center;
margin-bottom: 1.5rem;
}
#welcome-banner.dismissed {
opacity: 0;
visibility: hidden;
}
.loading {
margin-top: 2rem;
opacity: 0.64;
}
</style>
</head>
<body>
<!-- Welcome banner gets hidden by React -->
<div id='welcome-banner'>
<div>
<!--
To avoid an abrupt transition when the app loads, this banner is
transitioned out. Replace the contents with something appropriate
for the project.
-->
<h1><img src="./app/media/layout/ds-logo-pos.svg" alt="Development Seed logotype" width="188" height="32" /></h1>
<p>In the beginning the Universe was created.
<p>
<p>This has made a lot of people very angry and been widely regarded as a bad move.</p>
</div>
</div>
</div>
<div id='app-container'>
<!-- Content rendered here via React -->
</div>
<script>
// https://stackoverflow.com/a/9851769/728583
// internet explorer 6-11
var isIE = /*@cc_on!@*/ false || !!document.documentMode;
if (isIE) {
document.body.innerHTML =
'Unfortunately, your browser is not currently supported.<br />Recommended browsers: Edge, Firefox, Safari, Chrome';
}
</script>
<script src="./app/main.tsx" type="module"></script>
</body>
</html>