-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
85 lines (75 loc) · 1.62 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
76
77
78
79
80
81
82
83
84
85
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no">
<link rel="icon" href="img/pp.png" type="image/png">
<title>Loading..</title>
<style>
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
body, html {
height: 100%;
overflow: hidden;
}
.loading-screen {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background: #000;
display: flex;
justify-content: center;
align-items: center;
}
.loading-screen img {
width: 100%;
height: 100%;
object-fit: cover;
}
.spinner {
position: absolute;
width: 10vmin;
height: 10vmin;
border: 0.5vmin solid #fff;
border-top-color: transparent;
border-radius: 50%;
animation: spin 1s linear infinite;
z-index: 10;
}
@keyframes spin {
to {
transform: rotate(360deg);
}
}
#floater {
position: fixed;
bottom: 20px;
left: 50%;
transform: translateX(-50%);
background-color: rgba(0, 0, 0, 0.7);
color: white;
padding: 30px;
font-size: 15px;
border-radius: 16px;
z-index: 9999;
}
</style>
</head>
<body>
<div class="loading-screen">
<img src="img/pp.png" alt="Loading Image">
<div class="spinner"></div>
</div>
<div id="floater">Developer: Tarna | Layanan API: Google</div>
<script>
setTimeout(function() {
window.location.href = 'assets/home.html';
}, 5000);
</script>
</body>
</html>