-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
49 lines (45 loc) · 1.29 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
<!DOCTYPE html>
<html>
<head>
<!--
preloading fonts vendors
-->
<link
rel="preload"
as="style"
onload="this.rel='stylesheet'"
href="/vendors/font-awesome-v5.css"
/>
<link
rel="preload"
as="style"
onload="this.rel='stylesheet'"
href="/vendors/line-icons-pro.css"
/>
<!--
this enables dark mode before the app is loaded when the user
has dark mode enabled in their OS but only if the user
hasn't set a preference in the app
@see /src/stores/darkmode.ts
-->
<script>
;(function () {
const prefersDark =
window.matchMedia && window.matchMedia('(prefers-color-scheme: dark)').matches
const setting = localStorage.getItem('color-schema') || 'auto'
if (setting === 'dark' || (prefersDark && setting !== 'light'))
document.documentElement.classList.toggle('is-dark', true)
})()
</script>
</head>
<body>
<!--
this is a placeholder for Teleport's vue feature
@see /src/pages/navbar/dashboards/influencer.vue
@see /src/pages/sidebar/dashboards/influencer.vue
-->
<div data-teleport-bg></div>
<div id="app" class="app-wrapper"></div>
<script type="module" src="/src/entry-client.ts"></script>
</body>
</html>