-
Notifications
You must be signed in to change notification settings - Fork 0
/
productCategories.html
323 lines (309 loc) · 19 KB
/
productCategories.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
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
<!DOCTYPE html>
<html lang="en">
<head>
<!-- meta tags -->
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- google font -->
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Karla&family=Lato&display=swap" rel="stylesheet">
<!-- fontawesome icon cdn -->
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.4.2/css/all.min.css" integrity="sha512-z3gLpd7yknf1YoNbCzqRKc4qyor8gaKU1qmn+CShxbuBusANI9QpRohGBreCFkKxLhei6S9CQXFEbbKuqLg0DA==" crossorigin="anonymous" referrerpolicy="no-referrer" />
<!-- tailwind css cdn (v.3.3.3) -->
<script src="https://cdn.tailwindcss.com"></script>
<!-- tailwind css config -->
<script>
tailwind.config = {
theme: {
screens: {
sm: '480px',
md: '768px',
lg: '976px',
xl: '1440px',
},
colors: {
white: '#FFFFFF',
lightGrey: '#F6F6F6',
lightBrownishGrey: '#ECECEA',
lightBrown: '#EADBC8',
primaryBrown: '#5D432A',
grey: '#38404C',
offBlack: '#1B1A17',
black: '#000000',
red: '#FF0000'
},
fontSize: {
header1: '32px',
header2: '24px',
subtitle1: '20px',
subtitle2: '18px',
description: '18px',
navText: '16px',
bodyText: '16px',
bigHero: '64px'
},
extend: {
}
}
}
</script>
<!-- pure custom css -->
<link rel="stylesheet" href="styles/customStyles.css">
<!-- page title -->
<title>Categories | Yoe Yar</title>
<!-- page icon -->
<link rel="icon" href="asset/website_logo/Website Icon.svg">
</head>
<body>
<!-- header -->
<header class="bg-white fixed top-0 w-full z-50">
<!-- nav bar -->
<nav id="navbar" class="relative container mx-auto px-4">
<!-- menu bar (top) -->
<div class="flex flex-row items-center">
<!-- search -->
<div class="w-52 basis-1/3 flex place-content-start items-center space-x-3">
<div>
<i class="fa-solid fa-magnifying-glass text-offBlack"></i>
</div>
<input type="text" placeholder="Search for products" class="hidden md:block bg-transparent font-karla font-normal text-baseText text-grey border-b border-lightGrey focus:outline-none" />
</div>
<!-- logo -->
<div class="basis-1/3 flex place-content-center">
<a href="index.html"><img class="w-36" src="asset/website_logo/Yoe Yar Logo.svg" alt="website_logo"></a>
</div>
<!-- nav_icons -->
<div class="hidden basis-1/3 md:flex place-content-end space-x-6">
<a href="wishlist.html"><i class="fa-solid fa-heart text-offBlack hover:text-primaryBrown"></i></a>
<a href="shoppingCart.html"><i class="fa-solid fa-cart-shopping text-offBlack hover:text-primaryBrown"></i></a>
<a href="login.html"><i class="fa-solid fa-user text-offBlack hover:text-primaryBrown"></i></a>
</div>
<!-- hamburger menu button (mobile)-->
<div class="block md:hidden basis-1/3 flex place-content-end focus:outline-none">
<button id="menu-btn" class="hamburger">
<span class="hamburger-top"></span>
<span class="hamburger-middle"></span>
<span class="hamburger-bottom"></span>
</button>
</div>
</div>
<!-- divider -->
<hr class="hidden md:block border-solid border-lightBrownishGrey ">
<!-- menu bar (bottom) -->
<div class="hidden md:flex items-center justify-center py-3">
<div class="flex space-x-6 lg:space-x-10 font-karla font-medium text-navText">
<a href="index.html" class="text-offBlack hover:text-primaryBrown">Home</a>
<a href="newItems.html" class="text-offBlack hover:text-primaryBrown">New Items</a>
<a href="bestSellers.html" class="text-offBlack hover:text-primaryBrown">Best Sellers</a>
<div>
<button id="dropdownDelayButton1" data-dropdown-toggle="dropdownDelay1" data-dropdown-delay="500" data-dropdown-trigger="hover" class="text-primaryBrown hover:text-primaryBrown inline-flex items-center" type="button">Categories <svg class="w-2.5 h-2.5 ml-2.5" aria-hidden="true" xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 10 6">
<path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="m1 1 4 4 4-4"/>
</svg></button>
<!-- Dropdown menu -->
<div id="dropdownDelay1" class="z-10 hidden bg-white divide-y divide-gray-100 rounded-lg shadow w-auto">
<ul class="py-2 text-offBlack hover:text-primaryBrown" aria-labelledby="dropdownDelayButton1">
<li>
<a href="productCategories.html" class="block text-primaryBrown px-4 py-2">All categories</a>
</li>
<li>
<a href="menClothing.html" class="block px-4 py-2">Men clothing</a>
</li>
<li>
<a href="womenClothing.html" class="block px-4 py-2">Women clothing</a>
</li>
<li>
<a href="souvenirs.html" class="block px-4 py-2">Souvenirs</a>
</li>
<li>
<a href="homeDecorItems.html" class="block px-4 py-2">Home decor items</a>
</li>
<li>
<a href="beautyProducts.html" class="block px-4 py-2">Beauty products</a>
</li>
<li>
<a href="otherProducts.html" class="block px-4 py-2">Other products</a>
</li>
</ul>
</div>
</div>
<a href="productCollections.html" class="text-offBlack hover:text-primaryBrown">Collections</a>
<a href="aboutUs.html" class="text-offBlack hover:text-primaryBrown">About Us</a>
<a href="contactUs.html" class="text-offBlack hover:text-primaryBrown">Contact Us</a>
</div>
</div>
<!-- menu bar (mobile) -->
<div class="md:hidden">
<div id="menu" class="absolute hidden flex flex-col items-center py-8 space-y-6 bg-white border-2 border-grey font-karla font-medium text-navText w-auto self-center left-4 right-4 shadow">
<a href="index.html" class="text-offBlack hover:text-primaryBrown">Home</a>
<a href="newItems.html" class="text-offBlack hover:text-primaryBrown">New Items</a>
<a href="bestSellers.html" class="text-offBlack hover:text-primaryBrown">Best Sellers</a>
<a href="productCategories.html" class="text-primaryBrown hover:text-primaryBrown">Categories</a>
<a href="productCollections.html" class="text-offBlack hover:text-primaryBrown">Collections</a>
<a href="aboutUs.html" class="text-offBlack hover:text-primaryBrown">About Us</a>
<a href="contactUs.html" class="text-offBlack hover:text-primaryBrown">Contact Us</a>
<div class="flex place-content-center space-x-12">
<a href="wishlist.html"><i class="fa-solid fa-heart text-offBlack hover:text-primaryBrown"></i></a>
<a href="shoppingCart.html"><i class="fa-solid fa-cart-shopping text-offBlack hover:text-primaryBrown"></i></a>
<a href="login.html"><i class="fa-solid fa-user text-offBlack hover:text-primaryBrown"></i></a>
</div>
</div>
</div>
</nav>
</header>
<main class="mt-20 md:mt-28">
<!-- product categories section -->
<section id="productCategories">
<div class="mx-auto max-w-7xl px-4 lg:px-6">
<div class="mx-auto max-w-2xl py-12 lg:max-w-none lg:py-16">
<h2 class="font-lato font-medium text-header1 text-primaryBrown mb-10">Shop by category</h2>
<div class="space-y-12 lg:grid lg:grid-cols-3 lg:gap-x-6 lg:space-y-0">
<!-- category 1 -->
<div class="group md:mb-8">
<a href="menClothing.html">
<div class="h-80 w-full overflow-hidden sm:aspect-h-1 sm:aspect-w-2 lg:aspect-h-1 lg:aspect-w-1 group-hover:opacity-90 transition-opacity sm:h-64">
<img src="asset/images/product_categories_men_clothing.jpg" alt="Men Clothing" class="h-full w-full object-cover object-center">
</div>
<p class="mt-2 font-lato font-normal text-subtitle1 text-offBlack">Men clothing</p>
</a>
</div>
<!-- category 2 -->
<div class="group md:mb-8">
<a href="womenClothing.html">
<div class="h-80 w-full overflow-hidden sm:aspect-h-1 sm:aspect-w-2 lg:aspect-h-1 lg:aspect-w-1 group-hover:opacity-90 transition-opacity sm:h-64">
<img src="asset/images/product_categories_women_clothing.jpg" alt="Women Clothing" class="h-full w-full object-cover object-center">
</div>
<p class="mt-2 font-lato font-normal text-subtitle1 text-offBlack">Women clothing</p>
</a>
</div>
<!-- category 3 -->
<div class="group md:mb-8">
<a href="souvenirs.html">
<div class="h-80 w-full overflow-hidden sm:aspect-h-1 sm:aspect-w-2 lg:aspect-h-1 lg:aspect-w-1 group-hover:opacity-90 transition-opacity sm:h-64">
<img src="asset/images/product_categories_souvenirs.jpg" alt="Souvenirs" class="h-full w-full object-cover object-center">
</div>
<p class="mt-2 font-lato font-normal text-subtitle1 text-offBlack">Souvenirs</p>
</a>
</div>
<!-- category 4 -->
<div class="group md:mb-8">
<a href="homeDecorItems.html">
<div class="h-80 w-full overflow-hidden sm:aspect-h-1 sm:aspect-w-2 lg:aspect-h-1 lg:aspect-w-1 group-hover:opacity-90 transition-opacity sm:h-64">
<img src="asset/images/product_categories_home_decor_items.jpg" alt="Home Decor Items" class="h-full w-full object-cover object-center">
</div>
<p class="mt-2 font-lato font-normal text-subtitle1 text-offBlack">Home decor items</p>
</a>
</div>
<!-- category 5 -->
<div class="group md:mb-8">
<a href="beautyProducts.html">
<div class="h-80 w-full overflow-hidden sm:aspect-h-1 sm:aspect-w-2 lg:aspect-h-1 lg:aspect-w-1 group-hover:opacity-90 transition-opacity sm:h-64">
<img src="asset/images/product_categories_beauty_products.jpg" alt="Beauty Products" class="h-full w-full object-cover object-center">
</div>
<p class="mt-2 font-lato font-normal text-subtitle1 text-offBlack">Beauty products</p>
</a>
</div>
<!-- category 6 -->
<div class="group md:mb-8">
<a href="otherProducts.html">
<div class="h-80 w-full overflow-hidden sm:aspect-h-1 sm:aspect-w-2 lg:aspect-h-1 lg:aspect-w-1 group-hover:opacity-75 sm:h-64">
<img src="asset/images/product_categories_page_other_products.jpg" alt="Other Products" class="h-full w-full object-cover object-center">
</div>
<p class="mt-2 font-lato font-normal text-subtitle1 text-offBlack">Other products</p>
</a>
</div>
</div>
</div>
</section>
</main>
<!-- footer -->
<footer class="bg-primaryBrown">
<!-- footer top -->
<div class="container mx-auto flex flex-col justify-between px-4 py-8 lg:py-12 space-y-12 xl:flex-row xl:space-y-0">
<div class="flex flex-row justify-between space-x-2 xl:space-x-32">
<div class="flex flex-col space-y-2">
<h1 class="font-karla font-medium text-subtitle2 text-lightGrey">Products</h1>
<a href="newItems.html" class="font-karla font-medium text-navText text-lightGrey hover:opacity-90 transition-opacity">
New items
</a>
<a href="bestSellers.html" class="font-karla font-medium text-navText text-lightGrey hover:opacity-90 transition-opacity">
Best sellers
</a>
<a href="" class="font-karla font-medium text-navText text-lightGrey hover:opacity-90 transition-opacity">
Recently viewed
</a>
<a href="" class="font-karla font-medium text-navText text-lightGrey hover:opacity-90 transition-opacity">
Popular this week
</a>
</div>
<div class="flex flex-col space-y-2">
<h1 class="font-karla font-medium text-subtitle2 text-lightGrey">User info</h1>
<a href="login.html" class="font-karla font-medium text-navText text-lightGrey hover:opacity-90 transition-opacity">
My account
</a>
<a href="login.html" class="font-karla font-medium text-navText text-lightGrey hover:opacity-90 transition-opacity">
Purchases
</a>
</div>
<div class="flex flex-col space-y-2">
<h1 class="font-karla font-medium text-subtitle2 text-lightGrey">Our service</h1>
<a href="aboutUs.html" class="font-karla font-medium text-navText text-lightGrey hover:opacity-90 transition-opacity">
About us
</a>
<a href="FAQs.html" class="font-karla font-medium text-navText text-lightGrey hover:opacity-90 transition-opacity">
FAQs
</a>
<a href="privacyPolicy.html" class="font-karla font-medium text-navText text-lightGrey hover:opacity-90 transition-opacity">
Privacy policy
</a>
<a href="returnExchangePolicy.html" class="font-karla font-medium text-navText text-lightGrey hover:opacity-90 transition-opacity">
Return/exchange policy
</a>
<a href="contactUs.html" class="font-karla font-medium text-navText text-lightGrey hover:opacity-90 transition-opacity">
Contact us
</a>
</div>
</div>
<div class="w-4/4 xl:w-2/4 flex flex-col space-y-2 items-center md:items-start">
<h1 class="font-karla font-medium text-subtitle2 text-lightGrey">Join our mailing list</h1>
<p class="font-karla font-normal text-bodyText text-lightGrey text-center md:text-start">Sign up for our newsletter and receive exclusive offers on new arrivals, sales, pop up stores and more.</p>
<!-- email form -->
<form action="">
<div class="flex">
<input class="px-4 focus:outline-none font-karla font-normal text-baseText text-offBlack" type="text" name="" id="" placeholder="your@email.com">
<button type="button" class="font-karla font-medium text-navText text-grey bg-lightBrownishGrey px-4 py-2 hover:text-primaryBrown transition-colors">Sign Up</button>
</div>
</form>
</div>
</div>
<!-- divider -->
<hr class="container mx-auto px-4 border-solid border-lightGrey ">
<!-- copyright & social links -->
<div class="container mx-auto px-4 py-4">
<div class="flex flex-col space-y-4 md:flex-row-reverse md:space-y-0 items-center md:items-start justify-between">
<div class="flex flex-row space-x-8">
<a href="" class="hover:opacity-90 transition-opacity">
<i class="fa-brands fa-facebook-f fa-2x text-lightGrey"></i>
</a>
<a href="" class="hover:opacity-90 transition-opacity">
<i class="fa-brands fa-x-twitter fa-2x text-lightGrey"></i>
</a>
<a href="" class="hover:opacity-90 transition-opacity">
<i class="fa-brands fa-pinterest-p fa-2x text-lightGrey"></i>
</a>
<a href="" class="hover:opacity-90 transition-opacity">
<i class="fa-brands fa-instagram fa-2x text-lightGrey"></i>
</a>
</div>
<p class="font-karla font-normal text-bodyText text-lightGrey">
Copyright © 2022, All Rights Reserved
</p>
</div>
</div>
</footer>
<!-- flowbite tailwind components javascript -->
<script src="https://unpkg.com/@themesberg/flowbite@latest/dist/flowbite.bundle.js"></script>
<!-- custom javascript -->
<script src="scripts/customScripts.js"></script>
</body>
</html>