forked from Ctoic/Lisbook
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathexample-about-update.html
More file actions
91 lines (78 loc) · 3.21 KB
/
Copy pathexample-about-update.html
File metadata and controls
91 lines (78 loc) · 3.21 KB
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
86
87
88
89
90
91
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>LisBook - Audio Book Player</title>
<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=Poppins:wght@400;600;700&display=swap" rel="stylesheet" />
<script src="https://unpkg.com/lucide@latest"></script>
<!-- Include the same CSS and JS as index.html -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.5.0/css/all.min.css" />
<link rel="stylesheet" href="style.css" />
<link rel="icon" href="Images/favicon.jpg" type="image/png" />
<script src="https://cdn.tailwindcss.com"></script>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap-icons@1.11.3/font/bootstrap-icons.min.css" />
<link href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css" rel="stylesheet"
integrity="sha384-QWTKZyjpPEjISv5WaRU9OFeRpok6YctnYmDr5pNlyT2bRjXh0JMhjY6hW+ALEwIH" crossorigin="anonymous" />
<style>
/* Your existing about.html styles go here */
* {
box-sizing: border-box;
margin: 0;
padding: 0;
}
body {
background-color: #161414;
color: #22c55e;
font-family: "Poppins", sans-serif;
line-height: 1.6;
}
/* Add your other existing styles here */
</style>
</head>
<body class="bg-gray-900 text-gray-300 d-flex flex-column min-vh-100">
<script>
// Initialize theme with fallback (no localStorage dependency)
(function() {
try {
const saved = localStorage.getItem('theme');
const theme = saved === 'light' ? 'light' : 'dark';
document.documentElement.setAttribute('data-theme', theme);
if (document.body) {
document.body.classList.remove('light-theme', 'dark-theme');
document.body.classList.add(theme + '-theme');
}
} catch (e) {
// Fallback to dark theme if localStorage fails
document.documentElement.setAttribute('data-theme', 'dark');
if (document.body) {
document.body.classList.add('dark-theme');
}
console.warn('Theme init error, using default dark theme', e);
}
})();
</script>
<!-- Dynamic Navbar Placeholder -->
<div id="navbar-placeholder"></div>
<!-- Your existing about.html content goes here -->
<main class="container my-5">
<h1>About LisBook</h1>
<p>Your existing about content...</p>
<!-- Copy all your existing content from about.html here -->
</main>
<!-- Dynamic Footer Placeholder -->
<div id="footer-placeholder" class="mt-auto"></div>
<!-- Scripts -->
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.bundle.min.js"
integrity="sha384-YvpcrYf0tY3lHB60NNkmXc5s9fDVZLESaAA55NDzOxhy9GkcIdslK1eN7N6jIeHz"
crossorigin="anonymous"></script>
<!-- Dynamic Components Loader -->
<script src="dynamic-components.js"></script>
<!-- Your existing about.html scripts go here -->
<script src="script.js"></script>
<script src="app.js"></script>
<script src="translation.js"></script>
</body>
</html>