-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
47 lines (44 loc) · 1.21 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<link rel="icon" type="image/svg+xml" href="/lit_logo_svg_icon.svg" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Literary SubCouncil HBTU</title>
<style>
#preloader {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-color: white;
display: flex;
align-items: center;
justify-content: center;
opacity: 1;
transition: opacity 1s ease-in-out;
/* Add transition property for smooth fade */
}
</style>
</head>
<body>
<div id="preloader">
<video autoplay loop muted playsinline width="300">
<source src="./Loader.mp4" type="video/mp4">
Your browser does not support the video tag.
</video>
</div>
<div id="root"></div>
<script>
var loader = document.getElementById("preloader");
setTimeout(function () {
loader.style.opacity = "0"; // Set opacity to 0 after 1 second
setTimeout(function () {
loader.style.display = "none"; // Hide the preloader after fade-out
}, 700);
}, 3850);
</script>
<script type="module" src="/src/main.jsx"></script>
</body>
</html>