-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
156 lines (137 loc) · 6.3 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
<!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">
<link rel="stylesheet" href="https://fonts.googleapis.com/css2?family=Material+Symbols+Sharp:opsz,wght,FILL,GRAD@40,300,1,200" />
<link rel="stylesheet" type="text/css" href="https://cdn.jsdelivr.net/npm/toastify-js/src/toastify.min.css">
<link rel="stylesheet" href="./css/style.css">
<link rel="shortcut icon" href="./css/FaviconNoBg.png" type="image/x-icon">
<title>Products</title>
<meta name="description" content="Universify es una plataforma que te ayudará a encontrar ultiles o apuntes que te servirán en tu carrera.">
</head>
<body>
<main>
<div id="carrito-container" class="hidden">
<div id="carrito">
<div id="carrito-header">
<h2>Carrito</h2>
<div id="carrito-menu-bar">
<span class="material-symbols-sharp" id="carrito-close-button">close</span>
</div>
</div>
<div id="carrito-body">
<!-- Esto se carga dinamicamente -->
</div>
<button id="buy-button">Comprar ahora</button>
<div id="carrito-localStorage">
<div class="carrito-localStorage-button" id="save-carrito-button">
<span class="material-symbols-sharp">
download_for_offline
</span>
<p>Guardar</p>
</div>
<div class="carrito-localStorage-button" id="load-carrito-button">
<span class="material-symbols-sharp">
sync
</span>
<p>Recuperar</p>
</div>
<div class="carrito-localStorage-button" id="clear-carrito-button">
<span class="material-symbols-sharp">
delete_forever
</span>
<p>Borrar</p>
</div>
</div>
</div>
</div>
<div class="header" id="productos">
<h2>Productos</h2>
<h3>Filtrá por categoría y puntaje</h3>
<div class="search-header">
<p>¡Buscá entre todos nuestros productos y comprá el que más te guste!</p>
<div id="filters-container">
<form id="product-filter">
<div id="filters">
<select id="category-selector">
<option hidden selected value="">Categoría</option>
<option value="1">Todos</option>
<!-- se carga dinamicamente -->
</select>
<select id="rating-selector">
<option hidden selected value="">Rating</option>
<option value="0">Todos</option>
<option value="3">3.0 ★ o más</option>
<option value="4">4.0 ★ o más</option>
<option value="4.5">4.5 ★ o más</option>
</select>
</div>
<button type="reset" id="resetFilter">Borrar</button>
</form>
</div>
</div>
</div>
<section class="product-grid">
<form id="show-amount-container">
<p>Mostrar</p>
<select id="show-amount">
<option>4</option>
<option>8</option>
<option selected>12</option>
<option>16</option>
<option value="50">Todos</option>
</select>
</form>
<div id="img-grid">
<!-- Los productos se cargan dinamicamente -->
<h2 id="loading-products">Cargando productos</h2>
<h2 id="dot-1">.</h2>
<h2 id="dot-2">.</h2>
<h2 id="dot-3">.</h2>
</div>
</section>
</main>
<footer>
<div class="footer-container">
<div id="footer-left">
<a href="#productos" class="button">
Volver hacia arriba<span class="material-symbols-sharp">
arrow_upward</span>
</a>
</div>
<div class="subscription">
<form id="subscription-form">
<p>Suscribite a nuestras ofertas</p>
<div id="subscription-input">
<label for="email">
<input type="email" id="subscribe-email" placeholder="Ingresá tu correo">
</label>
<button type="button" id="subscribe-button">Suscribir</button>
</div>
</form>
<div class="contact-icons">
<a href="http://twitter.com" target="_blank"><img src="./media/twitter-brands.svg" alt="twitter-logo"></a>
<a href="http://facebook.com" target="_blank"><img src="./media/facebook-square-brands.svg" alt="facebook-logo"></a>
<a href="http://instagram.com" target="_blank"><img src="./media/instagram-brands.svg" alt="instagram-logo"></a>
<a href="http://youtube.com" target="_blank"><img src="./media/youtube-brands.svg" alt="youtube-logo"></a>
</div>
</div>
<div class="spacer"></div>
<!-- buy floating button -->
<button id="total-button">
<span class="material-symbols-sharp">
shopping_cart
</span>
<div>
<p class="hidden-text">Total: $0</p>
<h4>Mostrar carrito</h4>
</div>
</button>
</div>
</footer>
<script type="text/javascript" src="https://cdn.jsdelivr.net/npm/toastify-js"></script>
<script src="./js/main.js"></script>
</body>
</html>