-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
449 lines (396 loc) · 9.63 KB
/
index.html
File metadata and controls
449 lines (396 loc) · 9.63 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
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Online Store | 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;
}
.hero {
display: flex;
align-items: center;
justify-content: space-between;
padding: 2rem;
background: linear-gradient(to bottom right, #fff, #e6f7ff);
}
.hero img {
width: 100%;
height: 400px;
object-fit: cover;
}
.hero .title {
font-size: 2.5rem;
font-weight: 700;
color: #007bff;
}
.hero .btn {
display: inline-block;
margin-top: 1rem;
padding: 0.75rem 1.5rem;
background: #007bff;
color: #fff;
text-transform: uppercase;
font-weight: 700;
border-radius: 5px;
transition: background 0.3s;
text-decoration: none;
}
.hero .btn:hover {
background: #0056b3;
}
/* Categories Section */
.categories .cards-container {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
gap: 2rem;
padding: 2rem;
}
.category-card {
text-align: center;
background: #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;
}
.category-card:hover {
transform: translateY(-10px);
box-shadow: 0 6px 10px rgba(0, 0, 0, 0.2);
}
.category-card img {
width: 100%;
height: auto;
border-radius: 10px;
margin-bottom: 1rem;
}
/* Products Section */
.products .cards-container {
display: grid;
grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
gap: 2rem;
padding: 2rem;
}
.product-card {
text-align: center;
background: #fff;
border-radius: 10px;
padding: 1rem;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.product-card img {
width: 100%;
height: auto;
border-radius: 10px;
}
.product-card .btn {
margin-top: 1rem;
background: #28a745;
}
.product-card .btn:hover {
background: #218838;
}
/* Testimonials */
.testimonials {
background: #e6f7ff;
padding: 2rem;
text-align: center;
}
.testimonial-card {
margin-bottom: 2rem;
padding: 1rem;
border-radius: 10px;
background: #fff;
box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}
.testimonial-card h4 {
margin-top: 1rem;
font-weight: bold;
}
.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>
<!-- Header End -->
<!-- Hero Section Start -->
<section class="hero" id="home">
<div class="container">
<div class="hero-content">
<div class="left">
<h1 class="title">Beautiful Handmade Crafts for Your Home</h1>
<p class="paragraph">
Discover unique, handcrafted items that bring a personal touch to
your space. Shop now and support local artisans.
</p>
</div>
<div class="right">
<img
src="images/bg1.jpg"
alt="Beautiful Handmade Crafts"
class="hero-image"
/>
</div>
<a href="#categories" class="btn">Explore Now</a>
</div>
</div>
</section>
<!-- Hero Section End -->
<!-- Categories Section Start -->
<section class="categories" id="categories">
<div class="container">
<h2 class="section-title">Shop by Categories</h2>
<div class="cards-container">
<div class="category-card">
<img src="images/products/home1.jpg" alt="Wall Art" />
<span>Home Decor</span>
</div>
<div class="category-card">
<img src="images/products/cl2.jpg" alt="Mat Box" />
<span>Clothing</span>
</div>
<div class="category-card">
<img src="images/products/skin2.jpg" alt="Hanging Spoon" />
<span>Skincare</span>
</div>
<div class="category-card">
<img src="images/products/acc1.jpg" alt="Crown" />
<span>Accessories</span>
</div>
</div>
</div>
</section>
<!-- Categories 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>