-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathnewproduct.html
143 lines (107 loc) · 4.18 KB
/
newproduct.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
<!DOCTYPE html>
<html lang="es">
<!--HEAD-->
<head>
<!-- ETIQUETAS META -->
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<!-- TITULO DE LA PAGINA + ICONO DE PESTANIA -->
<title>Alura Geek</title>
<link
rel="icon"
href="images/logo/logo.svg"
type="image/gif"
sizes="18x18"
/>
<!-- LINKS A CSS Y FUENTES -->
<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=Raleway:wght@400;500;700&display=swap"
rel="stylesheet"
/>
<link rel="stylesheet" href="css/reset.css" />
<link rel="stylesheet" href="css/header.css" />
<link rel="stylesheet" href="css/login.css" />
<link rel="stylesheet" href="css/newproduct.css" />
<link rel="stylesheet" href="css/contacto.css" />
<link rel="stylesheet" href="css/footer.css" />
</head>
<body>
<!-- HEADER -->
<header class="header">
<div class="logo--div" onclick="location.href='index.html'">
<img class="logo--img" src="images/logo/logo.svg" />
<h1 class="logo--h1"><span>Alura</span>Geek</h1>
</div>
<div class="login--div">
<button class="login--button"><a href="login.html">Login</a></button>
</div>
<div class="search--div">
<input class="search--input" placeholder="¿Qué desea buscar?" />
<img class="search--img" src="images/logo/lupa.svg" />
</div>
</header>
<!-- SECCION NUEVO PRODUCTO -->
<section class="new--product--section">
<h3>Agregar nuevo producto</h3>
<!-- DRAG AND DROP SECTION -->
<div class="drag--area" ondragend="dropArchivo();">
<img />
<label id="label1" for="drag--area">Agregar una imagen para el producto</label>
<label id="label2" for="drag--area">Arrastre para agregar una imagen para el producto</label>
<p>O</p>
<button class="search--button" id="button-search-product" onclick="cargarArchivo();">
<input id="file-input" type="file"/>
Buscar archivo en su equipo</button>
</div>
<!-- TEXT INPUTS -->
<div class="grupo-form">
<label for="input">Nombre</label>
<input id="nombreProducto" class="input" maxlength="20" required/>
</div>
<div class="grupo-form">
<label for="input">Precio</label>
<input id="precioProducto" class="input" type="number" required/>
</div>
<div class="grupo-form">
<label for="textarea">Descripcion</label>
<textarea id="descripcionProducto" class="input" id="textarea" maxlength="150" required></textarea>
</div>
<button class="formulario--button" id="button-new-product" onclick="agregarProducto()">Agregar producto</button>
</section>
<!-- ABOUT US Y FORMULARIO -->
<section class="about--section">
<div>
<h2><img src="images/logo/logo.svg" /><span>Alura</span>Geek</h2>
<ul>
<li>Quienes Somos</li>
<li>Politica de privacidad</li>
<li>Programa de fidelidad</li>
<li>Nuestras tiendas</li>
<li>Quiero ser franquiciado</li>
<li>Anuncie aqui</li>
</ul>
</div>
<form class="formulario" onsubmit="evitarRecarga(event)">
<h3>Hable con nosotros</h3>
<div class="grupo-form">
<label for="input">Nombre</label>
<input maxlength="40" id="input" />
</div>
<div class="grupo-form">
<label for="textarea">Escribe tu mensaje</label>
<textarea maxlength="120" id="textarea"></textarea>
</div>
<button class="formulario--button" onclick="enviarMensaje();">Enviar mensaje</button>
</form>
</section>
</section>
<!-- FOOTER -->
<footer>
<p>Desarrollado por Fulana de Tal - 2022</p>
</footer>
<!-- LINK A JAVASCRIPT -->
<script src="javascript/contactform.js"></script>
</body>
</html>