-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathindex.html
61 lines (61 loc) · 1.8 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Book Club</title>
<link rel="stylesheet" href="style.css" />
<link rel="icon" href="/images/book-solid.svg" />
<link
href="https://fonts.googleapis.com/css2?family=Roboto:wght@400;700&display=swap"
rel="stylesheet"
/>
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.7.0/css/all.min.css"
/>
<script src="https://unpkg.com/showdown/dist/showdown.min.js"></script>
<link
rel="preload"
href="/images/story-graph-logo.png"
as="image"
/>
<link
rel="preload"
href="/images/audiobookshelf-logo.svg"
as="image"
/>
<link rel="manifest" href="/manifest.json" />
<script>
if ("serviceWorker" in navigator) {
navigator.serviceWorker
.register("/sw.js")
.then((registration) => {
console.log(
"Service Worker registered with scope:",
registration.scope
);
})
.catch((error) => {
console.error("Service Worker registration failed:", error);
});
}
</script>
</head>
<body>
<div class="dark-mode-toggle">
<button onclick="toggleMode()">
<i id="toggle-icon" class="fas"></i>
</button>
</div>
<div class="wrapper hidden" onclick="hidePlayer()">
<button class="close-button" onclick="hidePlayer()">
<i class="fas fa-circle-xmark"></i>
</button>
<iframe class="player"></iframe>
</div>
<div id="loading-spinner" class="spinner"></div>
<ul class="container hidden" id="events-list"></ul>
<script src="script.js"></script>
</body>
</html>