-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
61 lines (54 loc) · 2.28 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
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, minimum-scale=1.0" />
<!--
The minimum set of favicons to support most of modern devices
https://evilmartians.com/chronicles/how-to-favicon-in-2021-six-files-that-fit-most-needs
-->
<link rel="icon" href="/favicon.ico" sizes="32x32" />
<link rel="icon" href="./assets/images/shoppy-logo.svg" type="image/svg+xml" />
<link rel="apple-touch-icon" href="/apple-touch-icon.png" />
<link rel="manifest" href="/manifest.webmanifest" />
<!-- We want to preload main fonts to avoid fallbacks and increase the perceived speed of the application -->
<!--
I recommend you to use variable fonts if you need to support multiple styles for a family
https://web.dev/articles/variable-fonts
-->
<link
rel="preload"
as="font"
href="./assets/fonts/quicksand-variable.woff2"
type="font/woff2"
crossorigin="crossorigin"
/>
<link rel="preload" as="font" href="./assets/fonts/iconfont.woff2" type="font/woff2" crossorigin="crossorigin" />
<!-- We import the variable system here instead of global.scss, because we want to use it in content placeholder -->
<style>
@import url('./styles/varSystem/index.scss');
@import url('./styles/contentPlaceholder.scss');
</style>
<title>Shoppy</title>
</head>
<body>
<div id="root"></div>
<!--
We display the content placeholder whenever the root div is empty.
This is particularly important at initial page load to see something as soon as possible.
The user will see this placeholder until the app is loaded. It's a bad UX to force the user to stare at an empty page.
-->
<div class="contentPlaceholder_gw2ni">
<div class="contentPlaceholder_navbar_gw2ni"></div>
<div class="contentPlaceholder_body_gw2ni">
<div class="contentPlaceholder_toolbar_gw2ni"></div>
<div class="contentPlaceholder_main_gw2ni">
<div class="contentPlaceholder_logoContainer_gw2ni">
<img class="contentPlaceholder_logo_gw2ni" src="./assets/images/shoppy-logo.svg" />
</div>
</div>
</div>
</div>
<script type="module" src="./main.tsx"></script>
</body>
</html>