Repository navigation
Expand file tree
/
Copy pathindex.html
More file actions
64 lines (58 loc) · 1.58 KB
/
Copy pathindex.html
File metadata and controls
64 lines (58 loc) · 1.58 KB
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
<!doctype html>
<html lang="en" style="height: 100vh; overflow: hidden">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>OpenHome</title>
<style>
:root {
--base-font-size: 14px;
font-size: var(--base-font-size);
}
@media (prefers-color-scheme: light) {
body {
--background-gradient: linear-gradient(
355deg,
rgba(83, 180, 165, 1) 0%,
rgba(125, 206, 171, 1) 85%
);
background: var(--background-gradient);
}
}
@media (prefers-color-scheme: dark) {
body {
--background-gradient: linear-gradient(
310deg,
rgba(54, 69, 78, 1) 0%,
rgba(1, 83, 84, 1) 85%
);
background: var(--background-gradient);
}
}
.loading-logo-container {
height: 100vh;
width: 100%;
display: flex;
flex-direction: column;
align-items: center;
justify-content: center;
z-index: 1000;
position: relative;
}
.root {
isolation: isolate;
}
</style>
</head>
<body style="height: 100vh; overflow: hidden; margin: 0">
<div id="root">
<div class="loading-logo-container">
<img src="logos/logo-full.png" style="width: 9rem; height: 9rem; position: absolute" />
</div>
</div>
<script type="module">
import '@wdio/tauri-plugin'
</script>
<script type="module" src="/src/main.tsx"></script>
</body>
</html>