doc: add Product components to Home component

This commit is contained in:
Leon Xu committed 2022-05-05 19:15:22 -07:00
1 parent 701730788a
commit 71ed20b6b1
1 file changed
+14 -4
+14 -4
View File
@@ -1,4 +1,5 @@
import React from "react"; import React from "react";
import Product from "../Product/Product";
import "./Home.css"; import "./Home.css";
function Home() { function Home() {
@@ -10,11 +11,20 @@ function Home() {
src="https://images-eu.ssl-images-amazon.com/images/G/02/digital/video/merch2016/Hero/Covid19/Generic/GWBleedingHero_ENG_COVIDUPDATE__XSite_1500x600_PV_en-GB._CB428684220_.jpg" src="https://images-eu.ssl-images-amazon.com/images/G/02/digital/video/merch2016/Hero/Covid19/Generic/GWBleedingHero_ENG_COVIDUPDATE__XSite_1500x600_PV_en-GB._CB428684220_.jpg"
alt="amazon home image" alt="amazon home image"
/> />
</article>
<article className="home__row"></article> <article className="home__row">
<article className="home__row"></article> <Product />
<article className="home__row"></article> <Product />
</article>
<article className="home__row">
<Product />
<Product />
<Product />
</article>
<article className="home__row">
<Product />
</article>
</article>
</section> </section>
); );
} }