-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgallery.html
More file actions
182 lines (176 loc) · 7.53 KB
/
gallery.html
File metadata and controls
182 lines (176 loc) · 7.53 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
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
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
<!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>Gallery</title>
<link rel="stylesheet" href="./assets/css/style.css">
<link
rel="stylesheet"
href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.7.2/css/all.min.css"
integrity="sha512-Evv84Mr4kqVGRNSgIGL/F/aIDqQb7xQ2vcrdIwxfjThSH8CSR7PBEakCr51Ck+w+/U6swU2Im1vVX0SVk9ABhg=="
crossorigin="anonymous"
referrerpolicy="no-referrer"
/>
</head>
<body>
<header>
<div>
<div>
<div>
<span>Caree</span>
</div>
<div id="nav-icon1">
<svg xmlns="http://www.w3.org/2000/svg" class="ham" id="ham" height="24px" viewBox="0 -960 960 960" width="24px" fill="#ffffff"><path d="M120-240v-80h720v80H120Zm0-200v-80h720v80H120Zm0-200v-80h720v80H120Z"/></svg>
<svg xmlns="http://www.w3.org/2000/svg" class="hamcl" id="hamcl" height="24px" viewBox="0 -960 960 960" width="24px" fill="#ffffff"><path d="m256-200-56-56 224-224-224-224 56-56 224 224 224-224 56 56-224 224 224 224-56 56-224-224-224 224Z"/></svg>
</div>
<div class="menu2">
<ul>
<li><a href="index.html">Home</a></li>
<li><a href="about.html">About</a></li>
<li><a href="services.html">Services</a></li>
<li><a href="gallery.html">Gallery</a></li>
<li><a href="contact.html">Contact Us</a></li>
</ul>
</div>
</div>
<div class="menu" id="menu">
<ul>
<li><a href="index.html">Home</a></li>
<li><a href="about.html">About</a></li>
<li><a href="services.html">Services</a></li>
<li><a href="gallery.html">Gallery</a></li>
<li><a href="contact.html">Contact Us</a></li>
</ul>
</div>
</div>
</header>
<section class="gallery-container">
<div>
<h2>Our Gallery</h2>
<p>minim veniam, quis nostrud exercitation ullamco laboris nisi</p>
<div class="gallery">
<div class="pic">
<img src="./images/g1.jpg" class="image" />
<div class="over">
<button class="open">
<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 -960 960 960" width="24px" fill="#000000"><path d="M200-120q-33 0-56.5-23.5T120-200v-560q0-33 23.5-56.5T200-840h560q33 0 56.5 23.5T840-760v560q0 33-23.5 56.5T760-120H200Zm0-80h560v-560H200v560Zm40-80h480L570-480 450-320l-90-120-120 160Zm-40 80v-560 560Z"/></svg>
</button>
</div>
</div>
<div class="pic">
<img src="./images/g2.jpg" class="image" />
<div class="over">
<button class="open">
<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 -960 960 960" width="24px" fill="#000000"><path d="M200-120q-33 0-56.5-23.5T120-200v-560q0-33 23.5-56.5T200-840h560q33 0 56.5 23.5T840-760v560q0 33-23.5 56.5T760-120H200Zm0-80h560v-560H200v560Zm40-80h480L570-480 450-320l-90-120-120 160Zm-40 80v-560 560Z"/></svg>
</button>
</div>
</div>
<div class="pic">
<img src="./images/g3.jpg" class="image" />
<div class="over">
<button class="open">
<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 -960 960 960" width="24px" fill="#000000"><path d="M200-120q-33 0-56.5-23.5T120-200v-560q0-33 23.5-56.5T200-840h560q33 0 56.5 23.5T840-760v560q0 33-23.5 56.5T760-120H200Zm0-80h560v-560H200v560Zm40-80h480L570-480 450-320l-90-120-120 160Zm-40 80v-560 560Z"/></svg>
</button>
</div>
</div>
<div class="pic">
<img src="./images/g4.jpg" class="image" />
<div class="over">
<button class="open">
<svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 -960 960 960" width="24px" fill="#000000"><path d="M200-120q-33 0-56.5-23.5T120-200v-560q0-33 23.5-56.5T200-840h560q33 0 56.5 23.5T840-760v560q0 33-23.5 56.5T760-120H200Zm0-80h560v-560H200v560Zm40-80h480L570-480 450-320l-90-120-120 160Zm-40 80v-560 560Z"/></svg>
</button>
</div>
</div>
</div>
<div class="btn">
<button>SEE MORE</button>
</div>
</div>
<div class="preview" id="preview">
<div>
<button id="close"><svg xmlns="http://www.w3.org/2000/svg" height="24px" viewBox="0 -960 960 960" width="24px" fill="#000000"><path d="m256-200-56-56 224-224-224-224 56-56 224 224 224-224 56 56-224 224 224 224-56 56-224-224-224 224Z"/></svg></button>
</div>
<div>
<img src="./images/g6.jpg" />
</div>
</div>
</section>
<footer>
<div>
<div class="sect1ft">
<div class="footch">
<h4>Get in touch</h4>
<div class="position_cont_footer">
<div class="contact_foot">
<div class="contact_link">
<a href="">
<i class="fa fa-map-marker" aria-hidden="true"></i>
<span> Location </span>
</a>
<a href="">
<i class="fa fa-phone" aria-hidden="true"></i>
<span> Call +01 1234567890 </span>
</a>
<a href="">
<i class="fa fa-envelope" aria-hidden="true"></i>
<span> demo@gmail.com </span>
</a>
</div>
</div>
</div>
</div>
<div class="footow">
<h4>Follow us</h4>
<div class="social_link">
<a href="">
<i class="fa-brands fa-facebook-f"></i>
</a>
<a href="">
<i class="fa-brands fa-twitter"></i>
</a>
<a href="">
<i class="fa-brands fa-instagram"></i>
</a>
<a href="">
<i class="fa-brands fa-vimeo-v"></i>
</a>
<a href="">
<i class="fa-brands fa-linkedin"></i>
</a>
<a href="">
<i class="fa-brands fa-youtube"></i>
</a>
</div>
</div>
</div>
<hr />
<div class="piedpg">
<p>© 2025 All Rights Reserved By Free Html Templates</p>
</div>
</div>
</footer>
<!-- <footer></footer> -->
<script src="./assets/js/script.js"></script>
<script>
const closeButton = document.getElementById("close");
const preview = document.getElementById("preview");
const openButton = document.querySelectorAll(".open");
closeButton.addEventListener("click", function () {
preview.style.display = "none";
});
openButton.forEach((open) => {
open.addEventListener("click", function () {
preview.style.display = "block";
});
});
const navIcons = document.querySelectorAll("#nav-icon1");
navIcons.forEach(function (icon) {
icon.addEventListener("click", function () {
this.classList.toggle("open");
});
});
</script>
</body>
</html>