Skip to content

Commit ef097e8

Browse files
authored
Add images to README.md
1 parent f7d62e7 commit ef097e8

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

README.md

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ Para implementar un test:
6363
## Las 5 iteraciones
6464

6565
### Iteración 1 — Listado de categorías
66+
<img width="1230" height="1046" alt="image" src="https://github.com/user-attachments/assets/5471c519-8f42-49eb-aa05-a43bf0f2351a" />
6667

6768
Fetch de categorías desde la API y renderizado en la navegación.
6869

@@ -90,6 +91,8 @@ El HTML esperado en la navegación:
9091
---
9192

9293
### Iteración 2 — Listado de productos
94+
<img width="1183" height="1006" alt="image" src="https://github.com/user-attachments/assets/cdadcc73-2002-4fe1-b7f4-e25dd76a81d8" />
95+
9396

9497
Productos en la home con precios formateados en euros.
9598

@@ -118,6 +121,7 @@ new Intl.NumberFormat('es-ES', {
118121
---
119122

120123
### Iteración 3 — Navegación y routing
124+
<img width="1244" height="1046" alt="image" src="https://github.com/user-attachments/assets/65e3eaa4-1b6f-4504-bd8c-36b553891602" />
121125

122126
Navegación entre categorías con React Router.
123127

@@ -179,6 +183,9 @@ const data = await response.json()
179183
---
180184

181185
### Iteración 4 — Toggle card/list view
186+
<img width="1226" height="1047" alt="image" src="https://github.com/user-attachments/assets/ae34e1e7-63c3-4b52-ab2e-47c33552d87a" />
187+
<img width="1231" height="1048" alt="image" src="https://github.com/user-attachments/assets/65941d26-260c-4e66-8c4d-97151f0b209e" />
188+
182189

183190
Estado global con Context API para alternar entre vista tarjeta y vista lista.
184191

@@ -240,6 +247,8 @@ Cuando el viewMode es `list`, la clase del contenedor de productos cambia:
240247
---
241248

242249
### Iteración 5 — Modal de producto
250+
<img width="1183" height="1008" alt="image" src="https://github.com/user-attachments/assets/66119000-3828-4f99-9d40-7477cf8809c5" />
251+
243252

244253
Dialog nativo del navegador para mostrar el detalle de un producto.
245254

@@ -339,4 +348,4 @@ npm test # tests en watch mode
339348
npm run typecheck # comprobación de tipos
340349
npm start # servidor de desarrollo
341350
npm run build # build de producción
342-
```
351+
```

0 commit comments

Comments
 (0)