-
Notifications
You must be signed in to change notification settings - Fork 3
/
index.html
190 lines (180 loc) · 9.13 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="X-UA-Compatible" content="ie=edge">
<link rel="stylesheet" href="css/main.css">
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.css" />
<title>ecommerce</title>
</head>
<body>
<!--Inicio Navbar-->
<div id="container-menu" class="container d-block">
<nav class="navbar navbar-expand-lg navbar-light menu">
<img class="logo" src="assets/images/logo-ecoshop.png" alt="logo">
<button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
<span class="navbar-toggler-icon"></span>
</button>
<div class="collapse navbar-collapse" id="navbarSupportedContent">
<ul class="navbar-nav mr-auto">
<li class="nav-item active">
<a id="shop" class="nav-link" href="#">Shop <span class="sr-only">(current)</span></a>
</li>
<li class="nav-item">
<a class="nav-link disabled">About</a>
</li>
<li class="nav-item">
<a class="nav-link disabled">Contact</a>
</li>
<li class="nav-item active d-block">
<a id="login" class="nav-link" href="#">Iniciar Sesión<span class="sr-only">(current)</span></a>
</li>
<li class="nav-item active d-none">
<a id="logout" class="nav-link" href="#">Cerrar Sesión<span class="sr-only">(current)</span></a>
</li>
<li class="nav-item">
<div class="itemsNumber"><span id="counter-items">0</span> ITEMS</div>
</li>
<li class="nav-item">
<div class="col-1 col-sm-1 col-md-2">
<a id="image-cart"></i>
</a>
</div>
</li>
</ul>
<form class="form-inline my-2 my-lg-0">
<div class="search">
<a id="btn-search"><i class="fas fa-search"></i></a>
</div>
</form>
</div>
</nav>
</div>
<!--Fin Navbar-->
<!--Inicio Buscador-->
<div id="container-input" class="container d-none">
<div class="input-group mb-3">
<input type="text" class="form-control" id="search-products" placeholder="Busca algún producto" aria-label="Username" aria-describedby="basic-addon1">
<span id="close-input" class="input-group-text">x</span>
</div>
</div>
<!--Fin Buscador-->
<!--Inicio Contenedor carrusel y productos-->
<div id="container-all">
<div id="container-card" class="container d-block">
<div id="carouselExampleIndicators" class="carousel slide" data-ride="carousel">
<ol class="carousel-indicators">
<li data-target="#carouselExampleIndicators" data-slide-to="0" class="active"></li>
<li data-target="#carouselExampleIndicators" data-slide-to="1"></li>
<li data-target="#carouselExampleIndicators" data-slide-to="2"></li>
</ol>
<div class="carousel-inner">
<div class="carousel-item active">
<img class="d-block width-image center-block" src="assets/images/1.png" alt="First slide">
</div>
<div class="carousel-item">
<img class="d-block width-image center-block" src="assets/images/2.png" alt="Second slide">
</div>
<div class="carousel-item">
<img class="d-block width-image center-block" src="assets/images/3.png" alt="Third slide">
</div>
</div>
<a class="carousel-control-prev" href="#carouselExampleIndicators" role="button" data-slide="prev">
<span class="carousel-control-prev-icon" aria-hidden="true"></span>
<span class="sr-only">Previous</span>
</a>
<a class="carousel-control-next" href="#carouselExampleIndicators" role="button" data-slide="next">
<span class="carousel-control-next-icon" aria-hidden="true"></span>
<span class="sr-only">Next</span>
</a>
</div>
<div id="container" class="row boxGeneral">
<!--Seccion creada con DOM-->
<!--<div class="row boxGeneral">
<div class="col-md-3">
<div class="boxInner" >
<div class="image">
<img src="https://http2.mlstatic.com/suculentas-plantas-plantas-D_NQ_NP_782702-MLM26779236527_022018-F.webp" alt="">
</div>
<div class="text">Plantas</div>
<div class="price">$149.99</div>
<a href="product.html"><i class="fas fa-eye"></i></a>
<div class="buttonShop" id="add-car">Agregar al carrito</div>
</div>
</div>
</div> -->
</div>
</div>
</div>
<!--Fin Contenedor carrusel y productos-->
<!--Inicio Modal-->
<div id="modal" class="modal" tabindex="-1" role="dialog">
<div class="modal-dialog" role="document">
<div class="modal-content">
<div class="modal-header">
<div id="image">
<!-- <img src="" alt=""> -->
</div>
<div class="text-justify" id="description-modal">
<!-- <h5 class="modal-title"></h5>
<div class="stars">
<i class="fas fa-star"></i>
</div> -->
</div>
<button type="button" class="close" data-dismiss="modal" aria-label="Close">
<span class="color-blue" aria-hidden="true">×</span>
</button>
</div>
<div class="m-3 text-justify" id="modal-body">
<!-- <p>Lugar de origen</p>
<p>Descripción</p>
<div class="priceProduct">$149.99</div> -->
</div>
</div>
</div>
</div>
<!--Fin Modal-->
<!--Seccion creada con DOM-->
<!--Inicia Carrito-->
<div id="container-cart" class="container d-none">
<!-- <div class="row boxGeneral">
<div class="col-md-6">
<div class="imageProduct">
<img src="https://http2.mlstatic.com/suculentas-plantas-plantas-D_NQ_NP_782702-MLM26779236527_022018-F.webp" alt="">
</div>
</div>
<div class="col-md-6">
<div class="titleProduct">Plantas</div>
<div class="priceProduct">Precio Unitario $149.99</div>
<div class="priceSubtotal">Subtotal $149.99</div>
<div class="content">
<div class="quantity">
<button class="minus">+</button>
<input class="quantityInner" type="text" value="1" name="quantity">
<button class="plus">-</button>
</div>
</div>
</div>
</div> -->
</div>
<!--Fin Carrito-->
<!--Inicio Footer-->
<div class="container">
<div class="row copy">
<p><span>©</span>COPYRIGHT</p>
</div>
</div>
<!--Fin Footer-->
<!--Seccion de scripts-->
<script src="https://code.jquery.com/jquery-3.2.1.slim.min.js" integrity="sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN" crossorigin="anonymous"></script>
<script src="https://www.paypalobjects.com/api/checkout.js"></script>
<script src="https://www.gstatic.com/firebasejs/4.11.0/firebase.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.9/umd/popper.min.js" integrity="sha384-ApNbgh9B+Y1QKtv3Rn7W3mgPxhU9K/ScQsAP7hUibX39j7fakFPskvXusvfa0b4Q" crossorigin="anonymous"></script>
<script src="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/js/bootstrap.min.js" integrity="sha384-JZR6Spejh4U02d8jOt6vLEHfe/JQGiRRSQQxSfFWpi1MquVdAyjUar5+76PVCmYl" crossorigin="anonymous"></script>
<script defer src="https://use.fontawesome.com/releases/v5.0.8/js/all.js"></script>
<script src="js/firebase.js"></script>
<script src="js/app.js"></script>
</body>
</html>