forked from Shreyaa173/Code-Book
-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
68 lines (64 loc) · 2.09 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
<!doctype html>
<html lang="en">
<head>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Abril+Fatface&family=DM+Serif+Display:ital@0;1&family=Montserrat:ital,wght@0,100..900;1,100..900&display=swap" rel="stylesheet">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- ... existing head content ... -->
<style>
#loader-wrapper {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 100%;
/* background-color: #100d0d; */
background-image:url(src/assets/bk.jpg) ;
display: flex;
justify-content: center;
align-items: center;
z-index: 9999;
}
.loader {
border: 16px solid #f3f3f3;
border-top: 16px solid #250141;
border-radius: 50%;
width: 120px;
height: 120px;
animation: spin 2s linear infinite;
}
@keyframes spin {
0% { transform: rotate(0deg); }
100% { transform: rotate(360deg); }
}
</style>
</head>
<body>
<div id="loader-wrapper">
<div class="loader"></div>
</div>
<div id="root"></div>
<script>
window.embeddedChatbotConfig = {
chatbotId: "rfrWIJLugIrq6XpUHDKwC",
domain: "www.chatbase.co"
}
</script>
<script
src="https://www.chatbase.co/embed.min.js"
chatbotId="rfrWIJLugIrq6XpUHDKwC"
domain="www.chatbase.co"
defer>
</script>
<script type="module" src="./src/main.jsx"></script> <!-- Use relative path -->
<script type="module" src="./src/main.jsx"></script>
<script>
window.addEventListener('load', function() {
setTimeout(function() {
document.getElementById('loader-wrapper').style.display = 'none';
}, 1000); // Hide loader after 1 second (adjust as needed)
});
</script>
</body>
</html>