forked from Ctoic/Lisbook
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathpage-template.html
More file actions
72 lines (63 loc) · 2.72 KB
/
Copy pathpage-template.html
File metadata and controls
72 lines (63 loc) · 2.72 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<!-- fontawesome icons -->
<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" />
<script type="text/javascript" data-cmp-ab="1"
src="https://cdn.consentmanager.net/delivery/autoblocking/1dae96c2c2031.js"
data-cmp-host="a.delivery.consentmanager.net" data-cmp-cdn="cdn.consentmanager.net" data-cmp-codesrc="16">
</script>
<title>Page Title - Lisbook</title>
</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>
<!-- Main Content -->
<main class="container my-5">
<!-- Your page content goes here -->
<h1>Your Page Title</h1>
<p>Your page content...</p>
</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 page-specific scripts go here -->
<script src="script.js"></script>
<script src="app.js"></script>
<script src="translation.js"></script>
</body>
</html>