-
+
+{
+ props.products.map((p, index) =>
+
+ )
+}
-
-
-

-
-
-
15 reviews
-
-
-
-
-
-
-
-
-
-
-
-
-
-

-
-
$64.99
-
-
This is a short description. Lorem ipsum dolor sit amet, consectetur adipiscing elit.
-
-
-
12 reviews
-
-
-
-
-
-
-
-
-
-
-
-
-
-

-
-
$74.99
-
-
This is a short description. Lorem ipsum dolor sit amet, consectetur adipiscing elit.
-
-
-
31 reviews
-
-
-
-
-
-
-
-
-
-
-
-
-
-

-
-
$84.99
-
-
This is a short description. Lorem ipsum dolor sit amet, consectetur adipiscing elit.
-
-
-
6 reviews
-
-
-
-
-
-
-
-
-
-
-
-
-
-

-
-
$94.99
-
-
This is a short description. Lorem ipsum dolor sit amet, consectetur adipiscing elit.
-
-
-
18 reviews
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
+
);
}
diff --git a/src/components/Carousel.js b/src/components/Carousel.js
new file mode 100644
index 0000000..85d8ca6
--- /dev/null
+++ b/src/components/Carousel.js
@@ -0,0 +1,38 @@
+import React from "react";
+
+function Carousel(props){
+ return(
+
+ )
+}
+
+export default Carousel;
\ No newline at end of file
diff --git a/src/components/Footer.js b/src/components/Footer.js
new file mode 100644
index 0000000..14d4f4e
--- /dev/null
+++ b/src/components/Footer.js
@@ -0,0 +1,22 @@
+import React from "react";
+
+function Footer(props){
+ return (
+
+
+
+
+
+
+
+
+ )
+}
+
+export default Footer;
\ No newline at end of file
diff --git a/src/components/Header.js b/src/components/Header.js
new file mode 100644
index 0000000..a715b48
--- /dev/null
+++ b/src/components/Header.js
@@ -0,0 +1,17 @@
+import React from "react";
+
+function Header(props) {
+ return (
+
+ )
+};
+
+export default Header;
\ No newline at end of file
diff --git a/src/components/ProductDetail.js b/src/components/ProductDetail.js
new file mode 100644
index 0000000..2e01c5d
--- /dev/null
+++ b/src/components/ProductDetail.js
@@ -0,0 +1,34 @@
+import React from "react";
+import { times } from "lodash";
+
+function ProductDetail(props){
+
+let ratings = [];
+
+for (let i = 0; i < props.product.rating-1; i++){
+ ratings.push(
)
+}
+
+console.log(props.product);
+ return (
+
+
+

+
+
{props.product.price}
+
+
{props.product.description}
+
+
+
{props.product.reviews}
+
+ {ratings}
+
+
+
+
+ )
+}
+
+export default ProductDetail;
\ No newline at end of file
diff --git a/src/index.js b/src/index.js
index e58303d..6dddfc4 100644
--- a/src/index.js
+++ b/src/index.js
@@ -4,7 +4,7 @@ import App from './App';
import './index.css';
import state from './state';
-ReactDOM.render(
-
,
+ReactDOM.render(
+
,
document.getElementById('root')
);
diff --git a/yarn.lock b/yarn.lock
index b9e4fc3..e38cf1d 100644
--- a/yarn.lock
+++ b/yarn.lock
@@ -3584,6 +3584,10 @@ lodash@4, "lodash@>=3.5 <5", lodash@^4.0.0, lodash@^4.11.2, lodash@^4.14.0, loda
version "4.17.4"
resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.4.tgz#78203a4d1c328ae1d86dca6460e369b57f4055ae"
+lodash@^4.17.5:
+ version "4.17.5"
+ resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.5.tgz#99a92d65c0272debe8c96b6057bc8fbfa3bed511"
+
longest@^1.0.1:
version "1.0.1"
resolved "https://registry.yarnpkg.com/longest/-/longest-1.0.1.tgz#30a0b2da38f73770e8294a0d22e6625ed77d0097"