-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
65 lines (58 loc) · 2.3 KB
/
index.html
File metadata and controls
65 lines (58 loc) · 2.3 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
<!DOCTYPE html>
<html lang="id">
<head>
<meta charset="UTF-8" />
<title>Galeri Seni Digital</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<script
src="https://cdn.jsdelivr.net/npm/@popperjs/core@2.11.8/dist/umd/popper.min.js"
integrity="sha384-I7E8VVD/ismYTF4hNIPjVp/Zjvgyol6VFvRkX/vR+Vc4jQkC+hVqc2pM8ODewa9r"
crossorigin="anonymous"></script>
<script
src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.8/dist/js/bootstrap.min.js"
integrity="sha384-G/EV+4j2dNv+tEPo3++6LCgdCROaejBqfUeNjuKAiuXbjrxilcCdDz6ZAVfHWe1Y"
crossorigin="anonymous"></script>
<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:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap"
rel="stylesheet" />
<link rel="stylesheet" href="style.css" />
</head>
<body>
<!-- NAVBAR -->
<nav class="navbar">
<div class="nav-brand">Galeri Seni Digital</div>
<button id="themeToggle" class="theme-btn">🌙</button>
</nav>
<div class="controls">
<input id="searchInput" placeholder="Cari judul (huruf awal)" />
<select id="artistFilter">
<option value="">Semua Artist</option>
</select>
<select id="sortOrder">
<option value="asc">A - Z</option>
<option value="desc">Z - A</option>
</select>
</div>
<div id="gallery"></div>
<div class="pagination">
<button onclick="prevPage()">Prev</button>
<span id="pageInfo">Page 1</span>
<button onclick="nextPage()">Next</button>
</div>
<button id="loadMoreBtn" onclick="loadMoreSearch()">Load More</button>
<!-- MODAL -->
<div id="modal" onclick="closeModal()">
<div class="modal-content" onclick="event.stopPropagation()">
<span class="close" onclick="closeModal()">×</span>
<div id="modalBody"></div>
</div>
</div>
<!-- FOOTER -->
<footer class="footer">
<p>© 2025 Art Gallery — Vanilla JS</p>
</footer>
<script src="script.js"></script>
</body>
</html>