Not quite the style yet... But!

This commit is contained in:
DavidBelisle
2022-10-14 23:36:59 -04:00
parent 1f7c97949d
commit 355e1761b4
8 changed files with 104 additions and 8 deletions

View File

@@ -0,0 +1,39 @@
import { useEffect } from "react";
import ItemList from "../components/ItemList";
const Morceaux = () => {
const products = [
{
"name": "Ceinture flèchée",
"status": "Disponible!",
"price": "85,86",
"imageUrl": "/images/ceintureflechee.jpg"
},
{
"name": "Pantoufles du Canadien en Phentex",
"status": "Non disponible...",
"price": "15,64",
"imageUrl": "/images/pantouflesCH.jpg"
},
{
"name": "Jean-Luc Mongrain",
"status": "Disponible!",
"price": "1453,12",
"imageUrl": "/images/jeanlucmongrain.jpg"
}
];
useEffect(() => {
document.title = 'Morceaux';
});
return (
<div className="morceaux-container">
<h3>QWERTY</h3>
<ItemList items={products} />
</div>
);
}
export default Morceaux;