-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathphoto-album.html
More file actions
73 lines (70 loc) · 3.21 KB
/
photo-album.html
File metadata and controls
73 lines (70 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Photo Album - Key's World</title>
<link rel="icon" href="assets/k.png">
<link rel="stylesheet" href="styles.css">
<script type="importmap">
{
"imports": {
"firebase/app": "https://www.gstatic.com/firebasejs/10.7.1/firebase-app.js",
"firebase/database": "https://www.gstatic.com/firebasejs/10.7.1/firebase-database.js",
"firebase/storage": "https://www.gstatic.com/firebasejs/10.7.1/firebase-storage.js"
}
}
</script>
</head>
<body>
<div class="inner-container">
<!-- Back to Home Link -->
<a href="index.html" style="display: block; margin-bottom: 20px;">< BACK TO HOME</a>
<div class="book-container">
<div class="book">
<!-- Page 0: Cover Leaf -->
<div class="page" id="page-0">
<div class="page-front cover-front">
<h1
style="font-size: 3rem; color: #ffd700; border: 4px double #ffd700; padding: 20px; background: rgba(0,0,0,0.3);">
PHOTO ALBUM</h1>
<button class="next-btn"
style="position: absolute; bottom: 20px; right: 20px; cursor: pointer; font-family: var(--font-main);">OPEN
></button>
</div>
<div class="page-back cover-back">
<!-- Left Inner Page Content (Grid) -->
<div id="photo-container" style="padding: 20px; height: 100%; overflow-y: auto;">
<div class="photo-grid" id="photo-grid">
<!-- Photos will be injected here -->
<div style="color: #000; grid-column: 1 / -1; text-align: center;">Loading photos...
</div>
</div>
</div>
<button class="prev-btn"
style="position: absolute; bottom: 20px; left: 20px; cursor: pointer; font-family: var(--font-main);"><
CLOSE</button>
</div>
</div>
<!-- Page 1: Content Leaf -->
<div class="page" id="page-1" style="z-index: 0;">
<div class="page-front content-front">
<!-- Right Inner Page Content (Decoration) -->
<div style="display: flex; align-items: center; justify-content: center; height: 100%;">
<span style="color: #ccc; font-size: 2rem;">★ MEMORIES ★</span>
</div>
</div>
<div class="page-back">
</div>
</div>
</div>
</div>
</div>
<!-- Lightbox Modal -->
<div id="lightbox" class="lightbox">
<div class="close-btn" id="lightbox-close">X</div>
<img id="lightbox-img" src="" alt="Full Size">
</div>
<script type="module" src="script.js"></script>
</body>
</html>