diff --git a/README.md b/README.md index 258a878..e4c5852 100644 --- a/README.md +++ b/README.md @@ -1,3 +1,6 @@ +#### Name +Tony Rinaldi + #### Setup Fork, clone, run yarn install, yarn start, pull request diff --git a/public/css/shop-homepage.css b/public/css/shop-homepage.css index b498194..3647b7f 100755 --- a/public/css/shop-homepage.css +++ b/public/css/shop-homepage.css @@ -40,6 +40,11 @@ body { color: #d17581; } +.reviews { + clear: both; + text-align: left; +} + .thumbnail { padding: 0; } diff --git a/src/App.js b/src/App.js index 8dfa97f..55b50ee 100644 --- a/src/App.js +++ b/src/App.js @@ -1,5 +1,4 @@ -import React, { Component } from 'react'; -import logo from './logo.svg'; +import React from 'react'; import './App.css'; import NavBar from './components/NavBar'; import Footer from './components/Footer'; @@ -7,33 +6,33 @@ import ProductDetail from './components/ProductDetail'; import Carousel from './components/Carousel'; function App (props) { - var products = props.state.products.map(function(prod){ - return ; - }); - return ( -
- -
-
-
-

Shop Name

- -
-
- -
- {products} -
-
-
+ const products = props.state.products.map(function(prod){ + return ; + }); + return ( +
+ +
+
+
+

Shop Name

+ -
- ); +
+ +
+ {products} +
+
+
+
+
+
+ ); } export default App; diff --git a/src/components/Carousel.js b/src/components/Carousel.js index a10b02b..a9e441e 100644 --- a/src/components/Carousel.js +++ b/src/components/Carousel.js @@ -1,4 +1,4 @@ -import React, { Component } from 'react'; +import React from 'react'; function Carousel(){ return ( diff --git a/src/components/Footer.js b/src/components/Footer.js index b1cffbd..c24bb65 100644 --- a/src/components/Footer.js +++ b/src/components/Footer.js @@ -1,4 +1,4 @@ -import React, { Component } from 'react'; +import React from 'react'; function Footer(){ return ( diff --git a/src/components/NavBar.js b/src/components/NavBar.js index 0fc4200..f44a1d1 100644 --- a/src/components/NavBar.js +++ b/src/components/NavBar.js @@ -1,4 +1,4 @@ -import React, { Component } from 'react'; +import React from 'react'; function NavBar(){ return (