-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy pathindex.html
75 lines (67 loc) · 2.19 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
<!doctype html>
<html lang="en" class="dark h-full [scrollbar-width:none]">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<!-- Optimizations -->
<link rel="preconnect" href="https://api.innohassle.ru" />
<!-- Initial title and description -->
<title>InNoHassle</title>
<link
rel="icon"
href="https://innohassle.ru/favicon.png"
type="image/png"
/>
<link
rel="icon"
href="https://innohassle.ru/favicon.svg"
type="image/svg+xml"
/>
<link
rel="icon"
href="https://innohassle.ru/favicon.ico"
type="image/x-icon"
/>
<!-- App configuration -->
<link rel="manifest" href="/manifest.json" />
<meta name="theme-color" content="#9747ff" />
<!-- Theme changer script -->
<script type="text/javascript">
<!-- Run before loading any resources -->
document.documentElement.classList.toggle(
"dark",
localStorage.getItem("theme") === '"dark"' ||
(localStorage.getItem("theme") === null &&
window.matchMedia("(prefers-color-scheme: dark)").matches),
);
</script>
<!-- Add snow for non-Safari browsers -->
<script>
const isSafari = /^((?!chrome|android).)*safari/i.test(
navigator.userAgent,
);
document.documentElement.classList.toggle("snow", !isSafari);
</script>
<!-- Inject main styles to index.html -->
<style>
@import "/src/app/styles.css";
</style>
<!-- The app entrypoint -->
<script type="module" src="/src/app/entry-client.tsx"></script>
</head>
<body class="h-full">
<!-- Notice in case of disabled JavaScript -->
<noscript class="flex w-full justify-center bg-red-700 p-8">
You need to enable JavaScript to run this app.
</noscript>
<!-- Main app container -->
<div id="app" class="h-full font-rubik text-contrast">
<!-- Show loading state. App will replace this after rendering -->
<div class="flex h-full w-full items-center justify-center">
<span
class="icon-[mdi--loading] animate-spin text-2xl text-contrast"
></span>
</div>
</div>
</body>
</html>