-
Notifications
You must be signed in to change notification settings - Fork 0
/
product_details.html
225 lines (188 loc) · 8.07 KB
/
product_details.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
<!DOCTYPE html>
<html lang="en" dir="ltr">
<head>
<meta charset="utf-8">
<title>mitiendita.com</title>
<!-- Bootstrap CSS -->
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet"
integrity="sha384-+0n0xVW2eSR5OomGNYDnhzAbDsOXxcvSN1TPprVMTNDbiYZCxYbOOl7+AMvyTG2x" crossorigin="anonymous">
<!-- My CSS -->
<link rel="stylesheet" href="/css/main.css">
<!-- Fontawesome: -->
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.0.8/css/all.css"
integrity="sha384-3AB7yXWz4OeoZcPbieVW64vVXEwADiYyAEhwilzWsLw+9FgqpyjjStpPnpBO8o8S" crossorigin="anonymous">
<!-- Favicon: -->
<link rel="icon" href="https://media.giphy.com/media/Ln8PH3lMNS905ja5fj/giphy.gif">
</head>
<body>
<!-- NavBar -->
<nav class="navbar navbar-expand-lg navbar-light bg-light" id="navigation">
<div class="container-fluid d-flex" id="maincontainer">
<a class="navbar-brand" href="/">
<img src="https://media.giphy.com/media/Ln8PH3lMNS905ja5fj/giphy.gif" alt="" width="70" height=""
class="d-inline-block align-text-top">
</a>
<a href="/" class="navbar-brand"> <strong>MI TIENDITA 🛒</strong> </a>
<div class="">
<ul class="navbar-nav">
<li class="nav-item">
<a class="nav-link active" href="#">Todos los Productos</a>
</li>
<li class="nav-item dropdown">
<a class="nav-link dropdown-toggle" href="#" role="button" data-bs-toggle="dropdown">
Categorías</a>
<ul class="dropdown-menu">
<li class="dropdown-item">categoria 1</li>
<li class="dropdown-item">categoria 2</li>
<li class="dropdown-item">categoria 3</li>
</ul>
</li>
<li class="nav-item">
<a class="btn btn-danger " href="./create_product.html">Añadir Productos</a>
</li>
</ul>
</div>
<!-- <div class="col">
<p> Algo de contenidooo</p>
</div>-->
</div>
</nav>
<!-- Product details-->
<div class="container mt-5">
<div class="row">
<div class="col-4"></div>
<div class="col-4">
<h1 class="display-4" id="product-title"></h1>
<div class="text-center">
<img src="" alt="" id="product-image" class="text-center">
</div>
<p class="lead mt-3" id="product-description"> </p>
<br>
<a href="/" class="btn btn-outline-primary">REGRESAR</a>
<a href="#" class="btn btn-outline-danger" id="btn-delete">Eliminar Producto</a>
</div>
</div>
</div>
<br>
<br>
<hr>
<br>
<br>
<div class="container">
<h1>PRODUCTOS RELACIONADOS</h1>
<br>
<p>Mira alguno de los <strong>siguientes productos</strong>, seguro vas a encontrar el que más te guste: 👇</p>
</div>
<div class="container-fluid mt-5">
<div class="d-flex flex-wrap justify-content-center " id="main-container">
</div>
</div>
<br>
<br>
<!-- COOKIES-->
<div class="wrapper">
<div class="notice-cookies active-cookies" id="notice-cookies">
<img src="https://image.flaticon.com/icons/png/512/541/541732.png" alt="" class="img-cookies">
<h3 class="title-cookies"> Cookies </h3>
<p class="paragraph">Utilizamos cookies propias y de terceros para obtener datos estadísticos de la navegación
de
nuestros usuarios y mejorar nuestros servicios.</p>
<button class="btn-cookies" id="btn-accept-cookies">De acuerdo</button>
<a class="link" href="/cookies.html">Aviso de Cookies</a>
</div>
</div>
<div class="notice-cookies-background active-cookies" id="notice-cookies-background"></div>
<!-- WHATSAPP ICON-->
<a href="https://api.whatsapp.com/send?phone=+5111111111" class="btn-wsp" target="_blank">
<i class="fab fa-whatsapp"></i>
</a>
<!-- MY FOOTER -->
<footer class="bg-dark m-flex text-white ">
<div class="row">
<div class="box__footer col-md-3 mx-auto">
<div class="logo">
<img src="https://media.giphy.com/media/Ln8PH3lMNS905ja5fj/giphy.gif" width="130" alt="">
</div>
<div class="terms">
<p>Lorem ipsum dolor sit amet, consectetur adipisicing elit. Alias, consequuntur! Fugiat autem dolor
voluptatum illo quibusdam eos eius soluta ipsa beatae dolorum, ratione dolorem iste similique adipisci
aliquid qui commodi?</p>
</div>
</div>
<div class="box__footer col-md-3 mx-auto">
<h3>Enlaces útiles</h3>
<a href="#!" class="text-white">Política de Privacidad</a>
<br>
<a href="/cookies.html" class="text-white">Política de Cookies</a>
<br>
<a href="#!" class="text-white">Aviso Legal</a>
<br>
<a href="#!" class="text-white">Términos y condiciones</a>
</div>
<div class="box__footer col-md-3 mx-auto">
<h3>Sobre Nosotros</h3>
<p>Lorem ipsum dolor sit amet consectetur adipisicing elit. Accusantium sit odit velit amet, doloribus
quibusdam
iure et quaerat nulla quae expedita ad nostrum sed aperiam cupiditate voluptate? Pariatur, provident
impedit?
</p>
</div>
<div class="box__footer col-md-2 mx-auto">
<h3>Redes Sociales</h3>
<!-- Facebook -->
<a class="btn btn-outline-light btn-floating m-1" href="#!" role="button"><i class="fab fa-facebook-f"></i></a>
<!-- Instagram -->
<a class="btn btn-outline-light btn-floating m-1" href="#!" role="button"><i class="fab fa-instagram"></i></a>
<!-- Twitter -->
<a class="btn btn-outline-light btn-floating m-1" href="#!" role="button"><i class="fab fa-twitter"></i></a>
<!-- Youtube -->
<a class="btn btn-outline-light btn-floating m-1" href="#!" role="button"><i class="fab fa-youtube"></i></a>
</div>
</div>
<div class="text-center footer__bar">
<hr>
<br>
<p>Todos los derechos reservados © 2021 <a href="/" class="text-white"><strong>mitiendita.com</strong></a> </p>
<br>
</div>
</footer>
<!-- Boostrap script -->
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js"
integrity="sha384-gtEjrD/SeCtmISkJkNUaaKMoLD0//ElJ19smozuHV6z3Iehds+3Ulb9Bn9Plx0x4"
crossorigin="anonymous"></script>
<!-- jQuery (necessary for Bootstrap's JavaScript plugins)-->
<script src="https://code.jquery.com/jquery-3.3.1.slim.min.js"
integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo"
crossorigin="anonymous"></script>
<!-- Include all compiled plugins (below), or include individual files as needed-->
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.3/umd/popper.min.js"
integrity="sha384-ZMP7rVo3mIykV+2+9J3UJ46jBk0WLaUAdn689aCwoqbBJiSnjAK/l8WvCWPIPm49"
crossorigin="anonymous"></script>
<!-- TODO: Add SDKs for Firebase products that you want to use
https://firebase.google.com/docs/web/setup#available-libraries -->
<!-- The core Firebase JS SDK is always required and must be listed first -->
<script src="https://www.gstatic.com/firebasejs/8.6.8/firebase-app.js"></script>
<!--Importa las capacidades de las bases de datos:-->
<script src="https://www.gstatic.com/firebasejs/8.6.2/firebase-database.js"></script>
<script>
// Your web app's Firebase configuration
var firebaseConfig = {
apiKey: "AIzaSyA_4Cxv4HiO4z9TpLqHah9qC4cIr6aDrk4",
authDomain: "kodecamp-587ac.firebaseapp.com",
projectId: "kodecamp-587ac",
storageBucket: "kodecamp-587ac.appspot.com",
messagingSenderId: "221457765557",
appId: "1:221457765557:web:7132f9a24579a5030d5afc",
databaseURL: "https://kodecamp-587ac-default-rtdb.firebaseio.com/"
};
// Initialize Firebase
firebase.initializeApp(firebaseConfig);
</script>
<!-- My script of cookies -->
<script src="/js/cookies_notice.js" charset="utf-8"></script>
<!-- Script product details: -->
<script src="/js/product_details.js" charset="utf-8"></script>
<!-- mains script -->
<script src="/js/main.js" charset="utf-8"></script>
</body>
</html>