diff --git a/src/App.jsx b/src/App.jsx index 764350f..a5e4652 100644 --- a/src/App.jsx +++ b/src/App.jsx @@ -1,5 +1,4 @@ import styles from './App.module.scss' -import SneakersImage from './assets/images/sneakers-image.jpg' import { FaRegUser } from 'react-icons/fa' import React from 'react' @@ -23,7 +22,7 @@ function Header() { ) } -function Product() { +function Product({ name, description, price, imageUrl }) { const [isLiked, setIsLiked] = React.useState(false) const toggleLike = () => { @@ -36,10 +35,10 @@ function Product() { return (
- +
-

Sneakers Red & White 2025

+

{name}

-

NIKE

-

$38.00

+

{description}

+

${price}

) @@ -80,8 +79,6 @@ function App() { getProducts() }, []) - console.log(products) - return ( <>
@@ -89,15 +86,11 @@ function App() {