-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.html
321 lines (300 loc) · 11.5 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
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
<!DOCTYPE html>
<html lang="es">
<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="icon" href="./assets/img/favicon.png" type="image/png" />
<link rel="stylesheet" href="./assets/css/reset.css" />
<link rel="stylesheet" href="./assets/css/normalize.css" />
<link rel="stylesheet" href="./assets/css/index/indexMain.css" />
<link rel="stylesheet" href="./assets/css/gridGeneral.css" />
<link rel="stylesheet" href="./assets/css/index/index.css" />
<link rel="stylesheet" href="./assets/css/index/indexHeader.css" />
<link rel="stylesheet" href="./assets/css/index/indexFooter.css" />
<link rel="stylesheet" href="./assets/css/modals/modalUsers.css">
<!-- Fuente del Proyecto Poppins -->
<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=Poppins:wght@400;700&display=swap"
rel="stylesheet"
/>
<!-- KIT Fontawesome -->
<script
src="https://kit.fontawesome.com/8e46837a7d.js"
crossorigin="anonymous"
></script>
<!-- Despliegue Lista Header -->
<script type="module" src="./assets/js/indexHeader.js"></script>
<!-- Manejo de modales de usuario -->
<script defer type="module" src="./assets/js/modalsUsers.js"></script>
<!-- jQuery-->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.0/jquery.min.js"></script>
<title>Talyx</title>
</head>
<body class="app">
<script>
function imgErrorHTML(image) {
image.src = './assets/img/main/destacados/default-img.png';
}
</script>
<header class="header">
<nav class="header__nav">
<a class="header__nav-help header__links" href="#">
<i class="fa-solid fa-message header__icons"></i>
<p class="header__p">Centro de ayuda</p>
</a>
<a class="header__nav-follow header__links" href="#">
<i class="fa-solid fa-truck-fast header__icons"></i>
<p class="header__p">Seguí tu compra</p>
</a>
<a class="header__nav-withdraw header__links" href="#">
<i class="fa-solid fa-store header__icons"></i>
<p class="header__p">Retirá tu compra</p>
</a>
</nav>
<!--header__nav-->
<a class="header__logo" href="./index.html">
<img
class="header__logo-img"
src="./assets/img/logo/logo_talyx.svg"
alt="Logo Talyx"
/>
</a>
<!--header__logo-->
<section class="header__search">
<input class="header__search-input" type="text" placeholder="¿Qué estás buscando?" />
</section>
<!--header__search-->
<nav class="header__user">
<a id="openLogin" class="header__user-welcome header__links" href="#">
<i class="fa-solid fa-circle-user header__icons"></i>
<p id="welcome__username" class="header__p">Bienvenido/a Usuario</p>
<button id="signOff" class="signOff">cerrar sesion</button>
</a>
<a class="header__user-cart header__links" href="#">
<i class="fa-solid fa-cart-shopping header__icons"></i>
<p class="header__p">Mi Carro</p>
</a>
</nav>
<!--header__user-->
<nav class="header__category">
<a class="header__category-menu header__text" href="#">CATEGORIAS</a>
<i class="fa fa-angle-down header__category-down"></i>
<ul class="header__category-list">
<!-- <li class="header__category-li">
<a class="header__text" href="#">Componentes de PC</a>
</li>
<li class="header__category-li"><a class="header__text" href="#">Notebook</a></li>
<li class="header__category-li"><a class="header__text" href="#">Perifericos</a></li> -->
</ul>
</nav>
<!--header__category-->
<ul class="header__list">
<li class="header__list-li">
<a class="header__list-a header__text" href="#">PC Escritorio</a>
</li>
<li class="header__list-li">
<a class="header__list-a header__text" href="#">Notebooks</a>
</li>
<li class="header__list-li">
<a class="header__list-a header__text" href="#">Placa de Video</a>
</li>
<li class="header__list-li">
<a class="header__list-a header__text" href="#">Monitores</a>
</li>
<li class="header__list-li">
<a class="header__list-a header__text" href="#">Micros</a>
</li>
<li class="header__list-li">
<a class="header__list-a header__text" href="#">Otros</a>
</li>
</ul>
<!--header__list-->
<nav class="header__others">
<a class="header__others-oportunity header__text" href="#">Oportunidades</a>
<a class="header__others-armed header__text" href="#">Armá tu PC</a>
</nav>
<!--header__others-->
</header>
<main class="main">
<section class="mainBanner__superior bannerBox">
<img
src="./assets/img/main/Banner superior.svg"
alt=""
class="mainBanner__superior--img imgBanner"
/>
</section>
<section class="mainProducts">
<div class="mainFeatured mainProductsBox">
<h1 class="mainFeatured__title subProductsBox__title">Destacados</h1>
<div class="subProductsBox">
<div
class="mainFeatured__Container"
id="container__Products"
mainDestacadosP
>
<!-- <div class="mainFeatured__Container--Card card">
<img src="./assets/img/main/destacados/image 9.svg" alt=""
class="mainFeatured__Container--cardImg cardImg" />
<div class="mainFeatured__Container--CardDescriptionBox cardDBox">
<span class="mainFeatured__Container--CardDescription cardDescription">GRASA SILICONADA DELTA (CON
PARTICULAS DE PLATA)</span>
<span class="mainFeatured__Container--CardPrice cardPrice">$694,44</span>
</div>
</div>-->
</div>
</div>
<div class="buttons">
<button
class="mainFeatured__Container--buttonleft bt__Slider bt__SliderLeft"
id="bt__SliderLeft-Featured"
>
<div class="mainFeatured__Container--buttonleftbox btbox__Slider">
<img
src="./assets/img/main/flechaIzquierda.svg"
alt=""
class="mainFeatured__Container--buttonleftimg btnimg__Slider"
/>
</div>
</button>
<div id="pages" class="mainFeatured__Container--pagenumbers"></div>
<button
class="mainFeatured__Container--buttonright bt__Slider bt__SliderRight"
id="bt__SliderRight-Featured"
>
<div
class="mainFeatured__Container--buttonrightbox btbox__Slider"
id="bt__SliderLeft-Featured"
>
<img
src="./assets/img/main/flechaDerecha.svg"
alt=""
class="mainFeatured__Container--buttonrigthimg btnimg__Slider"
/>
</div>
</button>
</div>
</div>
</div>
</section>
<section class="mainBanner__Bottom bannerBox">
<img
src="./assets/img/main/Banner inferior.svg"
alt=""
class="mainBanner__Bottom--img imgBanner"
/>
</section>
</main>
<section id="modalLogin" class="modal">
<div id="" class="modal__container">
<div class="modal__base">
<div class="modal__empty"></div>
<div class="modal__register">
<span id="" class="modal__close">x</span>
<p class="modal__question">¿Aún no tienes una cuenta?</p>
<p class="modal__phrase">Registrate para que puedas iniciar sesión</p>
<button id="modalNewAccount" class="modal__newAccount">
Registrarse
</button>
</div>
<div class="modal__principal">
<h5 class="modal__title">Iniciar Sesión</h5>
<form id="modal-Login" class="modal__form">
<input class="modal__input" name="email" type="email" placeholder="Correo Electronico" />
<input class="modal__input" name="pass" type="password" placeholder="Contraseña" />
<a class="modal__forget" href="./forgetPassword.html">¿Olvidaste tu Contraseña?</a>
</form>
<div class="modal__footer">
<button form="modal-Login" type="submit" id="modalAccess" class="modal__access">Entrar</button>
<img class="modal__logo" src="./assets/img/logo/talyx.png" alt="Logo Talyx"/>
</div>
</div>
</div>
</div>
</section>
<section id="modalRegister" class="modal">
<div id="" class="modal__container">
<div class="modal__base modal__base--reg">
<div class="modal__empty modal__empty--reg"></div>
<div class="modal__login">
<span id="" class="modal__close modal__close--reg">x</span>
<p class="modal__question">¿Ya tienes una cuenta?</p>
<p class="modal__phrase">Iniciar sesión para entrar en la página</p>
<button id="toAccount" class="modal__toAccount">
Iniciar Sesión
</button>
</div>
<div class="modal__principal modal__principal--reg">
<h5 class="modal__title modal__title--reg">Registrarse</h5>
<form id="modal-Reg" class="modal__form modal__form--reg">
<input class="modal__input" name="name" type="text" placeholder="Nombre" />
<input class="modal__input" name="lastname" type="text" placeholder="Apellido" />
<input
name="email"
class="modal__input"
type="email"
id="email__reg"
placeholder="Correo Electronico"
/>
<div id="error__email" class="error__inactive">Este email no parece valido</div>
<input name="pass" class="modal__input" type="password" placeholder="Contraseña" />
<div id="error__pass" class="error__inactive">Para mayor seguridad, ingresa al menos 8 caracteres, una mayuscula, una minuscula, un numero y un caracter especial</div>
</form>
<div class="modal__footer modal__footer--reg">
<button type="submit" form="modal-Reg" id="modalCreate" class="modal__access">Crear</button>
<img class="modal__logo" src="./assets/img/logo/talyx.png" alt="Logo Talyx"/>
</div>
</div>
</div>
</div>
</section>
<footer class="footer">
<nav class="footer__nav">
<ul class="footer__nav-links">
<li class="footer__nav-list">
<a href="#">Quiénes <br />somos</a>
</li>
<li class="footer__nav-list">
<a href="#">Términos y <br />condiciones</a>
</li>
<li class="footer__nav-list">
<a href="#">Política de <br />privacidad</a>
</li>
<li class="footer__nav-list">
<a href="#">Garantía y <br />devoluciones</a>
</li>
<li class="footer__nav-list">
<a href="#">Promociones y<br />sorteos</a>
</li>
<li class="footer__nav-list"><a href="#">Empresas</a></li>
</ul>
</nav>
<nav class="footer__info">
<h5 class="footer__info-title">ATENCIÓN AL CLIENTE:</h5>
<strong class="footer__info-text">0810-555-99999</strong>
<br />
<a class="footer__info-text" href="mailto:">consultas@ecommerce.com</a>
<p class="footer__info-text">WhatsApp +54 9 10 2030-0949 Lun. a Vie. de 9 a 18h.</p>
</nav>
<section class="footer__subscribe">
<h5 class="footer__subscribe-title">¡Suscribite y recibí las mejores promos!</h5>
<input
class="footer__subscribe-input"
type="email"
placeholder="Dirección de email..."
/>
<button class="footer__subscribe-button" href="">Suscribite</button>
</section>
<section class="footer__copyright">
<h5 class="footer__copyright-title">Copyright © 2022 Talyx</h5>
<img class="footer__copyright-img" src="./assets/img/imgfooter.png" alt="cace" />
</section>
</footer>
</body>
<script type="module" src="./assets/mvc/View/Index/getProducts.js"></script>
<script type="module" src="./assets/mvc/View/Index/loginUser.js"></script>
<script type="module" src="./assets/mvc/View/Index/registerUser.js"></script>
<script type="module" src="assets/mvc/View/servicesJS/checkSession.js"></script>
</html>