-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathgallery.html
More file actions
380 lines (337 loc) · 9.28 KB
/
gallery.html
File metadata and controls
380 lines (337 loc) · 9.28 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
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Gallery | Handmade Crafts</title>
<style>
/* General Styles */
html, body {
font-family: 'Poppins', sans-serif;
margin: 0;
padding: 0;
line-height: 1.6;
color: #333;
background-color: #f9f9f9;
height: 100%;
display: flex;
flex-direction: column;
}
.header {
background: #fff;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
position: sticky;
top: 0;
z-index: 1000;
padding: 1rem 2rem;
}
.header-content {
display: flex;
justify-content: space-between;
align-items: center;
}
.logo img {
height: 50px;
}
.navbar ul {
display: flex;
list-style: none;
margin: 0;
padding: 0;
gap: 1.5rem;
}
.navbar ul li a {
color: #333;
text-decoration: none;
font-size: 1rem;
font-weight: 500;
padding: 0.5rem 1rem;
transition: color 0.3s, background-color 0.3s;
}
.navbar ul li a:hover {
color: #007bff;
background-color: rgba(0, 123, 255, 0.1);
border-radius: 5px;
}
.navbar-icons {
display: flex;
gap: 1rem;
}
.icon {
width: 24px;
height: 24px;
cursor: pointer;
}
.container {
flex: 1;
padding: 2rem;
}
/* Gallery Section */
.gallery {
padding: 3rem 2rem;
background: #e6f7ff;
}
.gallery h2 {
text-align: center;
font-size: 2.5rem;
color: #007bff;
margin-bottom: 2rem;
}
.gallery-grid {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
gap: 2rem;
}
.gallery-item {
background-color: #fff;
border-radius: 10px;
padding: 1rem;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
transition: transform 0.3s, box-shadow 0.3s;
}
.gallery-item:hover {
transform: translateY(-10px);
box-shadow: 0 6px 10px rgba(0, 0, 0, 0.2);
}
.gallery-item img {
width: 100%;
height: 60%;
border-radius: 10px;
margin-bottom: 1rem;
}
.gallery-item h3 {
font-size: 1.6rem;
color: #007bff;
}
.gallery-item p {
font-size: 1rem;
margin: 1rem 0;
}
.gallery-item .btn {
background: #28a745;
color: #fff;
padding: 0.75rem 1.5rem;
border: none;
border-radius: 5px;
cursor: pointer;
font-weight: 700;
text-transform: uppercase;
transition: background-color 0.3s;
}
.gallery-item .btn:hover {
background: #218838;
}
.newsletter {
background-color: #2a8ded;
color: #fff;
text-align: center;
padding: 2rem 1rem;
}
.newsletter-container {
max-width: 600px;
margin: 0 auto;
}
.newsletter h2 {
font-size: 2rem;
margin-bottom: 1rem;
}
.newsletter p {
font-size: 1rem;
margin-bottom: 1.5rem;
}
.newsletter-form {
display: flex;
justify-content: center;
gap: 0.5rem;
}
.newsletter-form input {
padding: 0.75rem;
font-size: 1rem;
border: none;
border-radius: 5px;
width: 70%;
}
.newsletter-form button {
padding: 0.75rem 1.5rem;
font-size: 1rem;
background-color: #121315;
color: #fff;
border: none;
border-radius: 5px;
cursor: pointer;
transition: background-color 0.3s;
}
.newsletter-form button:hover {
background-color: #333;
}
footer {
background-color: #121315;
color: #fff;
padding: 2rem 1rem;
font-size: 0.9rem;
margin-top: auto;
}
.footer-container {
display: flex;
flex-wrap: wrap;
justify-content: space-between;
gap: 2rem;
margin-bottom: 1rem;
}
.footer-section {
flex: 1 1 200px;
min-width: 250px;
}
.footer-section.logo img {
max-width: 100%;
height: auto;
}
.footer-section h3 {
color: #2a8ded;
margin-bottom: 1rem;
}
.footer-section ul {
list-style: none;
padding: 0;
}
.footer-section ul li {
margin-bottom: 0.5rem;
}
.footer-section ul li a {
color: #fff;
text-decoration: none;
}
.footer-section ul li a:hover {
color: #2a8ded;
}
.footer-section.contact p {
line-height: 1.6;
}
.footer-bottom {
text-align: center;
border-top: 1px solid #444;
padding-top: 1rem;
margin-top: 1rem;
font-size: 0.85rem;
}
@media (max-width: 768px) {
.footer-container {
flex-direction: column;
}
.footer-section {
min-width: 100%;
}
}
input,
textarea {
width: 100%;
padding: 0.75rem;
margin-bottom: 1rem;
border: 1px solid #ccc;
border-radius: 5px;
}
button {
cursor: pointer;
}
</style>
</head>
<body>
<!-- Header Start -->
<header class="header">
<div class="container">
<div class="header-content">
<a href="index.html" class="logo">
<img src="images/logo.png" alt="Online Store" style="height: 50px;" />
</a>
<nav class="navbar">
<ul>
<li><a href="index.html">Home</a></li>
<li><a href="about.html">About</a></li>
<li><a href="gallery.html">Gallery</a></li>
<li><a href="product.html">Products</a></li>
<li><a href="workshop.html">Workshop</a></li>
<li><a href="contact.html">Contact</a></li>
</ul>
</nav>
<div class="navbar-icons">
<a href="cart.html"><img src="images/shopping.png" alt="Shopping Cart" class="icon" /></a>
<a href="login.html"><img src="images/user.png" alt="User Account" class="icon" /></a>
</div>
</div>
</div>
</header>
<!-- Gallery Section Start -->
<section class="gallery">
<h2>Our Past Events</h2>
<div class="gallery-grid">
<!-- Gallery Item 1 -->
<div class="gallery-item">
<img src="image/1400954735939.webp" alt="Event 1" />
<h3>Craft Exhibition 2023</h3>
<p>A glimpse into our annual craft exhibition, featuring talented local artists showcasing their work.</p>
<button class="btn">View More</button>
</div>
<!-- Gallery Item 2 -->
<div class="gallery-item">
<img src="image/1568292587287.webp" alt="Event 2" />
<h3>Woodworking Workshop</h3>
<p>Participants created beautiful wooden pieces, learning from experienced craftsmen during our workshop.</p>
<button class="btn">View More</button>
</div>
<!-- Gallery Item 3 -->
<div class="gallery-item">
<img src="image/1400978489288.webp" alt="Event 3" />
<h3>Pottery Making Event</h3>
<p>Our pottery making workshop, where attendees learned to shape clay into beautiful creations.</p>
<button class="btn">View More</button>
</div>
<!-- Gallery Item 4 -->
<div class="gallery-item">
<img src="image/1400977078801.webp" alt="Event 4" />
<h3>Painting with Acrylics</h3>
<p>Artists showcased their creativity in a painting event with guidance on acrylic painting techniques.</p>
<button class="btn">View More</button>
</div>
</div>
</section>
<!-- Gallery Section End -->
<section class="newsletter">
<div class="newsletter-container">
<h2>Subscribe Now</h2>
<p>Get the latest updates and exclusive offers straight to your inbox!</p>
<form class="newsletter-form" onsubmit="subscribeNewsletter(event)">
<input type="email" placeholder="Enter your email address" required />
<button type="submit">Subscribe</button>
</form>
</div>
</section>
<footer>
<div class="footer-container">
<div class="footer-section logo">
<img src="images/logo.png" alt="Shop Logo" style="max-width: 150px;" />
</div>
<div class="footer-section quick-links">
<h3>Quick Links</h3>
<ul>
<li><a href="#faq">F.A.Q</a></li>
<li><a href="#cookies-policy">Cookies Policy</a></li>
<li><a href="#terms-of-services">Terms Of Service</a></li>
<li><a href="#support">Support</a></li>
<li><a href="#careers">Careers</a></li>
</ul>
</div>
<div class="footer-section contact">
<h3>Contact Us</h3>
<p>
<strong>Phone:</strong> +94 740 686 392<br />
<strong>Email:</strong> reeha@domain.com<br />
<strong>Address:</strong> No:230/4b, Matale Road, Akurana, Sri Lanka
</p>
</div>
</div>
<div class="footer-bottom">
<p>© 2024 Ms. Reeha | All Rights Reserved.</p>
</div>
</footer>
</body>
</html>