No hay juguetes en el carrito
: null} {cartItems.map(item=>({item.descripcion}
Dirección de entrega: {localStorage.getItem("direccion")}
-Total productos(Imp. incluidos): {price.toFixed(2)}€
diff --git a/webapp/src/PayForm/FinalizedOrder.tsx b/webapp/src/PayForm/FinalizedOrder.tsx index 3ae24b3..1405b11 100644 --- a/webapp/src/PayForm/FinalizedOrder.tsx +++ b/webapp/src/PayForm/FinalizedOrder.tsx @@ -23,11 +23,10 @@ export default function FinalizedOrder(props: any): JSX.Element { ) }; diff --git a/webapp/src/PayForm/Review.tsx b/webapp/src/PayForm/Review.tsx index c094066..c0f9996 100644 --- a/webapp/src/PayForm/Review.tsx +++ b/webapp/src/PayForm/Review.tsx @@ -60,7 +60,7 @@ const Review:React.FCDirección de entrega: {localStorage.getItem("direccion")}
-Total productos(Imp. incluidos): {price.toFixed(2)}€
diff --git a/webapp/src/PayForm/Shipping.tsx b/webapp/src/PayForm/Shipping.tsx index 2745f31..939d25c 100644 --- a/webapp/src/PayForm/Shipping.tsx +++ b/webapp/src/PayForm/Shipping.tsx @@ -26,12 +26,20 @@ const Shipping:React.FC{localStorage.getItem("direccion")}
+Su dirección de entrega: {localStorage.getItem("direccion")}
+Total productos(Imp. incluidos): {price.toFixed(2)}€
diff --git a/webapp/src/componentes/Login/LoginButton.tsx b/webapp/src/componentes/Login/LoginButton.tsx index 5965d8c..c67d49c 100644 --- a/webapp/src/componentes/Login/LoginButton.tsx +++ b/webapp/src/componentes/Login/LoginButton.tsx @@ -25,7 +25,7 @@ const LoginButton = () => { localStorage.setItem("sesion","false") localStorage.setItem("user", JSON.stringify([])); } - + localStorage.setItem("reload","true") }}>Registrarse; } diff --git a/webapp/src/componentes/Login/LogoutButton.tsx b/webapp/src/componentes/Login/LogoutButton.tsx index 0b98d3b..c98fcd2 100644 --- a/webapp/src/componentes/Login/LogoutButton.tsx +++ b/webapp/src/componentes/Login/LogoutButton.tsx @@ -3,7 +3,13 @@ import { useAuth0 } from '@auth0/auth0-react'; const LogoutButton = () => { const { logout } = useAuth0(); return ( - + ); } diff --git a/webapp/src/componentes/Navbar/Menitems.tsx b/webapp/src/componentes/Navbar/Menitems.tsx index 7f35186..8b1eb2d 100644 --- a/webapp/src/componentes/Navbar/Menitems.tsx +++ b/webapp/src/componentes/Navbar/Menitems.tsx @@ -5,7 +5,7 @@ export const MenuItems =[ cName:'nav-links' }, { - title: 'Productos', + title: 'Juguetes', url:'productos', cName:'nav-links' }, diff --git a/webapp/src/componentes/Navbar/Navbar.css b/webapp/src/componentes/Navbar/Navbar.css index 8cffbab..1d33538 100644 --- a/webapp/src/componentes/Navbar/Navbar.css +++ b/webapp/src/componentes/Navbar/Navbar.css @@ -30,7 +30,7 @@ color:#0d6efd; border-radius: 0.5em; margin-bottom: 0.5em; - margin-right: 5em; + margin-right: 10em; font-size: 1.2rem; } diff --git a/webapp/src/componentes/Navbar/Navbar.tsx b/webapp/src/componentes/Navbar/Navbar.tsx index 0739441..3c7ef8a 100644 --- a/webapp/src/componentes/Navbar/Navbar.tsx +++ b/webapp/src/componentes/Navbar/Navbar.tsx @@ -51,7 +51,6 @@ const Navbar = () => { })} } - { isAuthenticated ?{data?.map(pedido => (