forked from sergiokopplin/indigo
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgallery.html
More file actions
45 lines (42 loc) · 1.43 KB
/
gallery.html
File metadata and controls
45 lines (42 loc) · 1.43 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
---
layout: page
title: Gallery
---
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Photography Gallery</title>
<link rel="stylesheet" href="{{ site.url }}/gallery_styles.css">
</head>
<body>
<!-- Sorting Control Bar -->
<div class="sort-bar">
<label for="sort-order">Sort by:</label>
<select id="sort-order">
<option value="random">Random</option>
<option value="likes">Likes</option>
</select>
</div>
<!-- Gallery Section -->
<div class="gallery">
<div class="gallery-item" data-likes="5">
<img src="{{ site.url }}/assets/images/pic1.jpg" alt="Photo 1">
<div class="overlay">
<div class="text">Description for Photo 1</div>
<button class="like-btn">Like (<span class="like-count">5</span>)</button>
</div>
</div>
<div class="gallery-item" data-likes="3">
<img src="{{ site.url }}/assets/images/pic2.jpg" alt="Photo 2">
<div class="overlay">
<div class="text">Description for Photo 2</div>
<button class="like-btn">Like (<span class="like-count">3</span>)</button>
</div>
</div>
<!-- Add more gallery items here -->
</div>
<script src="{{ site.url }}/gallery_scripts.js"></script>
</body>
</html>