-
Notifications
You must be signed in to change notification settings - Fork 2
/
index.html
115 lines (115 loc) · 4.91 KB
/
index.html
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
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Photo Gallery</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/normalize/8.0.1/normalize.css"
integrity="sha512-oHDEc8Xed4hiW6CxD7qjbnI+B07vDdX7hEPTvn9pSZO1bcRqHp8mj9pyr+8RVC2GmtEfI2Bi9Ke9Ass0as+zpg=="
crossorigin="anonymous" referrerpolicy="no-referrer">
<link href="https://fonts.googleapis.com/css2?family=Anton&display=swap" rel="stylesheet">
<link rel="stylesheet" href="assets/css/styles.css">
<link rel="stylesheet" href="assets/css/baguetteBox.min.css">
</head>
<body>
<main>
<div class="heading">
<h1 class="title">Interactive Photo Gallery</h1>
<div class="search-box">
<input type="search" id="search" placeholder="Search...">
</div>
</div>
<div class="gallery-container gallery" id="photos">
<ul id="container">
<li> <a href="photos/01.jpg"
data-caption="I love hay bales. Took this snap on a drive through the countryside past some straw fields."
data-alt="Hay Bales">
<img src="photos/thumbnails/01.jpg" alt="Hay Bales." class="gallery__item">
</a>
</li>
<li><a href="photos/02.jpg"
data-caption="The lake was so calm today. We had a great view of the snow on the mountains from here."
data-alt="Lake">
<img src="photos/thumbnails/02.jpg" alt="Lake" class="gallery__item">
</a>
</li>
<li> <a href="photos/03.jpg"
data-caption="I hiked to the top of the mountain and got this picture of the canyon and trees below."
data-alt="Canyon">
<img src="photos/thumbnails/03.jpg" alt="Canyon" class="gallery__item">
</a>
</li>
<li><a href="photos/04.jpg"
data-caption="It was amazing to see an iceberg up close, it was so cold but didn’t snow today."
data-alt="Iceberg">
<img src="photos/thumbnails/04.jpg" alt="Iceberg" class="gallery__item">
</a>
</li>
<li> <a href="photos/05.jpg"
data-caption="The red cliffs were beautiful. It was really hot in the desert but we did a lot of walking through the canyons."
data-alt="Desert">
<img src="photos/thumbnails/05.jpg" alt="Desert" class="gallery__item">
</a>
</li>
<li> <a href="photos/06.jpg"
data-caption="Fall is coming, I love when the leaves on the trees start to change color." data-alt="Fall">
<img src="photos/thumbnails/06.jpg" alt="Fall" class="gallery__item">
</a>
</li>
<li><a href="photos/07.jpg" data-caption="I drove past this plantation yesterday, everything is so green!"
data-alt="Plantation">
<img src="photos/thumbnails/07.jpg" alt="Plantation" class="gallery__item">
</a>
</li>
<li> <a href="photos/08.jpg" data-caption="My summer vacation to the Oregon Coast. I love the sandy dunes!"
data-alt="Dunes">
<img src="photos/thumbnails/08.jpg" alt="Dunes" class="gallery__item">
</a>
</li>
<li><a href="photos/09.jpg" data-caption="We enjoyed a quiet stroll down this countryside lane."
data-alt="Countryside Lane">
<img src="photos/thumbnails/09.jpg" alt="Countryside Lane" class="gallery__item">
</a>
</li>
<li> <a href="photos/10.jpg" data-caption="Sunset at the coast! The sky turned a lovely shade of orange."
data-alt="Sunset">
<img src="photos/thumbnails/10.jpg" alt="Sunset" class="gallery__item">
</a>
</li>
<li> <a href="photos/11.jpg"
data-caption="I did a tour of a cave today and the view of the landscape below was breathtaking."
data-alt="Cave">
<img src="photos/thumbnails/11.jpg" alt="Cave" class="gallery__item">
</a>
</li>
<li> <a href="photos/12.jpg"
data-caption="I walked through this meadow of bluebells and got a good view of the snow on the mountain before the fog came in."
data-alt="Bluebells">
<img src="photos/thumbnails/12.jpg" alt="Bluebells" class="gallery__item">
</a>
</li>
</ul>
</div>
</div>
</main>
<script>
window.addEventListener('load', function () {
baguetteBox.run(".gallery", {
captions: true,
buttons: 'auto',
fullScreen: false,
noScrollbars: false,
titleTag: true,
async: false,
preload: 2,
animation: 'fadeIn',
onChange: null
});
});
</script>
<script src="assets/js/baguetteBox.min.js" async></script>
<!-- <script src="assets/js/searchFilter.js"></script> -->
<script src="assets/js/app.js"></script>
</body>
</html>