-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
296 lines (253 loc) · 9.9 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
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
<!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>Ecommerce</title>
<meta property="og:type" content="website">
<meta property="og:site_name" content="Academlo ecommerce">
<meta name="description" content="Created by David Garcia.">
<meta property="og:image" content="https://media.discordapp.net/attachments/979868000486309948/995474206554857594/unknown.png">
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/boxicons@latest/css/boxicons.min.css">
<link rel="icon" type="image/png" sizes="23x23" href="./imgs/AcademloIcon.png">
<link rel="stylesheet" href="./styles.css">
</head>
<body>
<!------ Loader ------>
<div class="load" id="load">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 48.92 56.48" class="load__gif">
<title>Academlo Logo</title>
<g>
<g>
<path d="M24.45,56.48,0,42.36V14.12L24.46,0,48.92,14.12V42.36ZM1.89,41.26l22.56,13L47,41.26v-26l-22.56-13-22.56,13Z">
</path>
<path d="M28.58,15.39H25.16L35.78,36H31.49L20.67,15.71,8.23,38.82H18.94l3-5.43h-3.4l-1.47,2.54h-4l2.69-5.09H25.85l4.28,8H40.67ZM17.23,28.21l3.57-6.6,3.57,6.6Z">
</path>
</g>
</g>
</svg>
</div>
<!------ Header ------>
<header class="header" id="header">
<nav class="nav container">
<a href="#" class="nav__logo">
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 48.92 56.48" class="nav__logo-icon">
<title>Academlo Logo</title>
<g>
<g>
<path d="M28.58,15.39H25.16L35.78,36H31.49L20.67,15.71,8.23,38.82H18.94l3-5.43h-3.4l-1.47,2.54h-4l2.69-5.09H25.85l4.28,8H40.67ZM17.23,28.21l3.57-6.6,3.57,6.6Z">
</path>
</g>
</g>
</svg> Store
</a>
<div class="nav__menu" id="nav-menu">
<ul class="nav__list">
<li class="nav__item">
<a href="#home" class="nav__link active-link">Home</a>
</li>
<li class="nav__item">
<a href="#products" class="nav__link">Products</a>
</li>
</ul>
<div class="nav__close" id="nav-close">
<i class="bx bx-x"></i>
</div>
</div>
<div class="nav__btns">
<i class="bx bx-moon change-theme" id="theme-button"></i>
<div class="nav__shop" id="cart-shop">
<i class="bx bx-shopping-bag"></i>
<div id="cart-count" class="count">
<span>0</span>
</div>
</div>
<div class="nav__toggle" id="nav-toggle">
<i class="bx bx-grid-alt"></i>
</div>
</div>
</nav>
</header>
<!------ Cart ------>
<div class="cart" id="cart">
<i class="bx bx-x cart__close" id="cart-close"></i>
<h2 class="cart__title-center">My Cart</h2>
<div class="cart__container">
<div class="cart__empty">
<img src="./imgs/empty-cart.png" alt="empty cart">
<h2>Your cart is empty</h2>
<p>You can add items to your cart by clicking on the "<i class="bx bx-plus"></i>" button on the product page.</p>
</div>
</div>
<div class="cart__prices">
<span class="cart__prices-item"><span id="items-count">0</span> items</span>
<div class="cart__checkout">
<button class="button cart__btn" id="cart-checkout" disabled><i class="bx bxs-check-shield"></i> Checkout</button>
</div>
<span class="cart__prices-total" id="cart-total">$0.00</span>
</div>
</div>
<!------ Main ------>
<main class="main">
<!------ Home ------>
<section class="home" id="home">
<div class="home__container container grid">
<div class="home__img-bg">
<img src="imgs/home.png" alt="" class="home__img">
</div>
<div class="home__data">
<h1 class="home__title">New Sweatshirt <br> COLLECTIONS 2022</h1>
<p class="home__description">
Latest arrival of the new Hanes Midweight Crewneck sweatshirt imported from the 2022 series, with a modern
design.
</p>
<span class="home__price">$14.00</span>
<div class="home__btns">
<a href="#" class="button button--gray button--small">
Discover
</a>
<button id="home__button" class="button home__button" data-id="2">ADD TO CART</button>
</div>
</div>
</div>
</section>
<!------ Products ------>
<section class="products" id="products">
<div class="products__container container">
<ul class="products__filters">
<li class="products__item products__line active-product" data-filter="all">
<h3 class="products__title">
Show All
</h3>
<span class="products__stock">
show all products
</span>
</li>
<li class="products__item products__line" data-filter=".hoodies">
<h3 class="products__title">
Hoodies
</h3>
<span class="products__stock">
10 products
</span>
</li>
<li class="products__item products__line" data-filter=".shirts">
<h3 class="products__title">
Shirts
</h3>
<span class="products__stock">
15 products
</span>
</li>
<li class="products__item products__line" data-filter=".sweatshirts">
<h3 class="products__title">
Sweatshirts
</h3>
<span class="products__stock">
20 products
</span>
</li>
</ul>
<div class="products__content grid" id="products__content">
<article class="products__card hoodies">
<div class="products__shape">
<img src="./imgs/featured1.png" alt="Hoodies" class="products__img">
</div>
<div class="products__data">
<h2 class="products__price">$24.00 <span id="products__quantity" class="products__quantity">| Stock: 10</span></h2>
<h3 class="products__name">Hoodies</h3>
<button class="button products__button" data-id="1">
<i class="bx bx-plus" data-id="1"></i>
</button>
</div>
</article>
<article class="products__card shirts">
<div class="products__shape">
<img src="./imgs/featured2.png" alt="Shirts" class="products__img">
</div>
<div class="products__data">
<h2 class="products__price">$14.00 <span id="products__quantity" class="products__quantity">| Stock: 15</span></h2>
<h3 class="products__name">Shirts</h3>
<button class="button products__button" data-id="2">
<p><i class="bx bx-plus" data-id="2"></i></p>
</button>
</div>
</article>
<article class="products__card sweatshirts">
<div class="products__shape">
<img src="./imgs/featured3.png" alt="Sweatshirts" class="products__img">
</div>
<div class="products__data">
<h2 class="products__price">$24.00 <span id="products__quantity" class="products__quantity">| Stock: 20</span></h2>
<h3 class="products__name">Sweatshirts</h3>
<button class="button products__button" data-id="3">
<i class="bx bx-plus" data-id="3"></i>
</button>
</div>
</article>
</div>
</div>
</section>
</main>
<!------ Footer ------>
<footer class="footer section">
<div class="footer__container container grid">
<div class="footer__content">
<h3 class="footer__title">Our information</h3>
<ul class="footer__list">
<li>Toluca - México</li>
</ul>
</div>
<div class="footer__content">
<h3 class="footer__title">About Us</h3>
<ul class="footer__links">
<li>
<a href="#" class="footer__link">Support Center</a>
</li>
<li>
<a href="#" class="footer__link">Customer Support</a>
</li>
<li>
<a href="#" class="footer__link">About Us</a>
</li>
<li>
<a href="#" class="footer__link">Copy Right</a>
</li>
</ul>
</div>
<div class="footer__content">
<h3 class="footer__title">Product</h3>
<ul class="footer__links">
<li>
<a href="#" class="footer__link">Hoodies</a>
</li>
<li>
<a href="#" class="footer__link">Shirts</a>
</li>
<li>
<a href="#" class="footer__link">Sweatshirts</a>
</li>
</ul>
</div>
<div class="footer__content">
<h3 class="footer__title">Social</h3>
<ul class="footer__social">
<a href="https://www.facebook.com/" target="_blank" class="footer__social-link">
<i class="bx bxl-facebook"></i>
</a>
<a href="https://twitter.com/" target="_blank" class="footer__social-link">
<i class="bx bxl-twitter"></i>
</a>
<a href="https://www.instagram.com/" target="_blank" class="footer__social-link">
<i class="bx bxl-instagram"></i>
</a>
</ul>
</div>
</div>
<span class="footer__copy">© ACADEMLO. All rigths reserved</span>
</footer>
<script src="https://cdnjs.cloudflare.com/ajax/libs/mixitup/3.3.1/mixitup.min.js" integrity="sha512-nKZDK+ztK6Ug+2B6DZx+QtgeyAmo9YThZob8O3xgjqhw2IVQdAITFasl/jqbyDwclMkLXFOZRiytnUrXk/PM6A==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
<script src="./main.js"></script>
</body>
</html>