-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
67 lines (64 loc) · 2.03 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
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="keywords" content="">
<meta name="description" content="">
<link rel="manifest" href="/a2hs.webmanifest">
<meta name="viewport" content="width=device-width, height=device-height, user-scalable=no">
<meta name="theme-color" content="#075E54">
<meta name="msapplication-navbutton-color" content="#075E54">
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="#075E54">
<link rel="shortcut icon" type="image/x-icon" href="/favicon.ico"/>
<link rel="icon" type="image/x-icon" href="/favicon.ico"/>
<title>Home</title>
<script type="none">
// checking if user is logged in
if (localStorage.getItem("User.isLoggedIn") != "true") {
console.log("Log: not signed in");
location.href = "auth";
}
</script>
<link rel="stylesheet" href="/common/css/colors.css">
<link rel="stylesheet" href="/common/css/common.css">
<style>
.splashscreen {
position: fixed;
inset: 0;
padding:0;
}
.splashscreen h {
position: absolute;
inset: 0;
top: calc(50% - 120px);
height: fit-content;
text-align: center;
color: #007070;
font-size: 100px;
opacity: 0.2;
}
.root {
display: none;
}
</style>
</head>
<body class="prim_bg">
<div class="splashscreen" id="splashscreen">
<h>sozialn<br>medien</h>
</div>
<div class="root" id="root">
</div>
<!-- global script -->
<script type="module" src="/common/js/common.js"></script>
<!-- other scripts -->
<script>
</script>
<!-- on load scripts -->
<script>
$("#root").style.display = "block";
$("#splashscreen").style.display = "none";
</script>
</body>
</html>