-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
228 lines (223 loc) · 7.41 KB
/
index.html
File metadata and controls
228 lines (223 loc) · 7.41 KB
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
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Document</title>
<link rel="stylesheet" href="/styles/index.css" />
<style>
/* h1 {
box-sizing: border-box;
width: 240px;
padding-inline: 5px;
} */
/* ancho del navegador tiene que sea mayor o igual a 640px */
/* @media (min-width: 40rem) {
body {
background-color: blueviolet;
}
} */
/* ancho del navegador tiene que sea mayor o igual a 1024px */
/* @media (min-width: 64rem) {
body {
background-color: green;
}
} */
</style>
</head>
<body class="page">
<header>Header</header>
<main>
<section class="hero">
<!-- Button Primary -->
<!-- 1. Base: solo texto -->
<button class="button">Button</button>
<!-- 2. Base disabled -->
<button class="button" disabled>Button</button>
<!-- 3. Base: icono + texto -->
<button class="button">
<svg
width="15"
height="10"
viewBox="0 0 15 10"
fill="none"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M1.6 0C0.716344 0 0 0.716345 0 1.6V2.52918L6.75279 5.90557C7.03431 6.04634 7.36569 6.04634 7.64721 5.90557L14.4 2.52918V1.6C14.4 0.716344 13.6837 0 12.8 0H1.6Z"
fill="white"
/>
<path
d="M14.4 3.87082L8.18387 6.97889C7.56451 7.28857 6.83549 7.28857 6.21613 6.97889L0 3.87082V8C0 8.88366 0.716344 9.6 1.6 9.6H12.8C13.6837 9.6 14.4 8.88366 14.4 8V3.87082Z"
fill="white"
/>
</svg>
Button
</button>
<!-- 4. Base: solo icono -->
<button class="button">
<svg
width="15"
height="10"
viewBox="0 0 15 10"
fill="none"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M1.6 0C0.716344 0 0 0.716345 0 1.6V2.52918L6.75279 5.90557C7.03431 6.04634 7.36569 6.04634 7.64721 5.90557L14.4 2.52918V1.6C14.4 0.716344 13.6837 0 12.8 0H1.6Z"
fill="white"
/>
<path
d="M14.4 3.87082L8.18387 6.97889C7.56451 7.28857 6.83549 7.28857 6.21613 6.97889L0 3.87082V8C0 8.88366 0.716344 9.6 1.6 9.6H12.8C13.6837 9.6 14.4 8.88366 14.4 8V3.87082Z"
fill="white"
/>
</svg>
</button>
<br />
<br />
<!-- Modificador: Button Secondary (icono + texto) -->
<button class="button button--secondary">
<svg
width="15"
height="10"
viewBox="0 0 15 10"
fill="none"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M1.6 0C0.716344 0 0 0.716345 0 1.6V2.52918L6.75279 5.90557C7.03431 6.04634 7.36569 6.04634 7.64721 5.90557L14.4 2.52918V1.6C14.4 0.716344 13.6837 0 12.8 0H1.6Z"
fill="white"
/>
<path
d="M14.4 3.87082L8.18387 6.97889C7.56451 7.28857 6.83549 7.28857 6.21613 6.97889L0 3.87082V8C0 8.88366 0.716344 9.6 1.6 9.6H12.8C13.6837 9.6 14.4 8.88366 14.4 8V3.87082Z"
fill="white"
/>
</svg>
Button
</button>
<br />
<br />
<!-- Modificador: Tamaño Small -->
<button class="button button--sm">
<svg
width="15"
height="10"
viewBox="0 0 15 10"
fill="none"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M1.6 0C0.716344 0 0 0.716345 0 1.6V2.52918L6.75279 5.90557C7.03431 6.04634 7.36569 6.04634 7.64721 5.90557L14.4 2.52918V1.6C14.4 0.716344 13.6837 0 12.8 0H1.6Z"
fill="white"
/>
<path
d="M14.4 3.87082L8.18387 6.97889C7.56451 7.28857 6.83549 7.28857 6.21613 6.97889L0 3.87082V8C0 8.88366 0.716344 9.6 1.6 9.6H12.8C13.6837 9.6 14.4 8.88366 14.4 8V3.87082Z"
fill="white"
/>
</svg>
Button
</button>
</section>
<section class="">
<div>
<h3>Compra por categoría</h3>
<p>
Explora nuestra selección de productos especialmente diseñados para
desarrolladores web. Encuentra lo que buscas navegando por nuestras
categorías de polos, tazas, stickers y más.
</p>
</div>
<div class="categories-container">
<!-- BEM: Bloque, Elemento, Modificador -->
<div class="category">
<div class="category__portrait">
<img
src="/public/images/categoria-polos.png"
alt="Un hombre contento luciendo un polo azul"
class="category__image"
/>
</div>
<div>
<h4 class="category__title">Polos</h4>
<p class="category__description">
Polos exclusivos con diseños que todo desarrollador querrá
lucir. Ideales para llevar el código a donde vayas.
</p>
</div>
</div>
<div class="category">
<div class="category__portrait">
<img
src="/public/images/categoria-tazas.png"
alt="Un hombre contento luciendo un polo azul"
class="category__image"
/>
</div>
<div>
<h4 class="category__title">Tazas</h4>
<p class="category__description">
Polos exclusivos con diseños que todo desarrollador querrá
lucir. Ideales para llevar el código a donde vayas.
</p>
</div>
</div>
<div class="category">
<div class="category__portrait">
<img
src="/public/images/categoria-stickers.png"
alt="Un hombre contento luciendo un polo azul"
class="category__image"
/>
</div>
<div>
<h4 class="category__title">Stickers</h4>
<p class="category__description">
Polos exclusivos con diseños que todo desarrollador querrá
lucir. Ideales para llevar el código a donde vayas.
</p>
</div>
</div>
</div>
</section>
<!-- <section class=""></section> -->
</main>
<footer>
<div>
<h4>Tienda</h4>
<ul>
<li>Polos</li>
<li>Tazas</li>
<li>Stickers</li>
</ul>
</div>
<div>
<h4>Compañía</h4>
<ul>
<li>Quienes somos</li>
<li>Términos y condiciones</li>
<li>Privacidad</li>
</ul>
</div>
<div>
<h4>Conecta</h4>
<ul>
<li>WhatsApp</li>
<li>Facebook</li>
<li>Instagram</li>
</ul>
</div>
<div>
<h4>Suscríbete a nuestro boletín</h4>
<p>
Recibe las últimas ofertas y descuentos en tu correo semanalmente.
</p>
<form>
<label for=""></label>
<input type="email" name="" id="" />
<button>Suscribirse</button>
</form>
<p>Todos los derechos reservados © Full Stock</p>
</div>
</footer>
</body>
</html>