Carousselle des produits vedettes et search bar reconstitué
This commit is contained in:
@@ -5,14 +5,37 @@ import FeatuerdList from "../components/FeaturedList";
|
||||
|
||||
const Home = () => {
|
||||
|
||||
const products = [
|
||||
{
|
||||
"title": "Ceinture flèchée",
|
||||
"description": "Pour faire votre propre bonhomme de 1837, comme dans le bon vieux temps.",
|
||||
"price": "85,86",
|
||||
"imageUrl":"/images/ceintureflechee.jpg"
|
||||
},
|
||||
{
|
||||
"title": "Pantoufles du Canadien en Phentex",
|
||||
"description": "Parce que ça sent la coupe!",
|
||||
"price": "15,64",
|
||||
"imageUrl":"/images/pantouflesCH.jpg"
|
||||
},
|
||||
{
|
||||
"title": "Jean-Luc Mongrain",
|
||||
"description": "On ne lui ferait pas mal, en tout cas!!",
|
||||
"price": "1453,12",
|
||||
"imageUrl":"/images/jeanlucmongrain.jpg"
|
||||
}
|
||||
];
|
||||
|
||||
useEffect(() => {
|
||||
document.title = 'Maison';
|
||||
});
|
||||
|
||||
return (
|
||||
<>
|
||||
<ResearchBar/>
|
||||
<FeatuerdList/>
|
||||
<ResearchBar />
|
||||
<FeatuerdList
|
||||
products={products}
|
||||
/>
|
||||
Maison
|
||||
</>
|
||||
);
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
import React from "react";
|
||||
import {Outlet} from "react-router-dom";
|
||||
import { Outlet } from "react-router-dom";
|
||||
import Navbar from "../components/Navbar";
|
||||
import Footer from "../components/Footer";
|
||||
|
||||
@@ -8,7 +8,7 @@ const Layout = () => {
|
||||
<>
|
||||
<Navbar />
|
||||
<Outlet />
|
||||
<Footer/>
|
||||
<Footer />
|
||||
</>
|
||||
);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user