diff --git a/web/templates/components/cart/add_to_cart.html b/web/templates/components/cart/add_to_cart.html index 842797a..e37169f 100644 --- a/web/templates/components/cart/add_to_cart.html +++ b/web/templates/components/cart/add_to_cart.html @@ -3,8 +3,11 @@ {% csrf_token %} - + {% include 'components/icons/add_cart.svg' %} {% translate 'Añadir al carrito' %} diff --git a/web/templates/components/generic/navbar.html b/web/templates/components/generic/navbar.html index 38735ec..9eee69a 100644 --- a/web/templates/components/generic/navbar.html +++ b/web/templates/components/generic/navbar.html @@ -23,12 +23,12 @@ {% for category in navbar_categories %} - - - {{ category.name }} - - + + + {{ category.name }} + + {% endfor %} @@ -86,26 +86,13 @@ {% translate 'Inicio' %} + + {% for category in navbar_categories %} - {% translate 'Más vendidos' %} - - - {% translate 'Ideas de regalo' %} - - - {% translate 'Juegos' %} - - - {% translate 'Electrónica' %} - - - {% translate 'Ofertas del día' %} + {{ category.name }} + {% endfor %} diff --git a/web/templates/components/product_card.html b/web/templates/components/product_card.html index 7de63b2..3878e99 100644 --- a/web/templates/components/product_card.html +++ b/web/templates/components/product_card.html @@ -27,12 +27,15 @@ 5.0 (455) - - {{ product.price.price_with_tax }}€ - + + + {{ product.price.price_with_tax }}€ + + + {% include 'components/cart/add_to_cart.html' %} + \ No newline at end of file
5.0
(455)
{{ product.price.price_with_tax }}€
+ {{ product.price.price_with_tax }}€ +