diff --git a/src/App.css b/src/App.css index 3bfbe2f..caa0a07 100644 --- a/src/App.css +++ b/src/App.css @@ -163,7 +163,6 @@ body { background-size: contain; background-repeat: repeat; height: fit-content; - height: 275vh; background-color: #1b4170; background-attachment: fixed; diff --git a/src/App.js b/src/App.js index 63933b8..27a76d4 100644 --- a/src/App.js +++ b/src/App.js @@ -41,24 +41,24 @@ function App() { {!currentUser && } + {/* Add Page */} + + + + {/* View Product */} - {/* Add Page */} - - - - {/* View Profile/ Edit own Profile */} - + {/* Profile */} - + {/* About Us */} diff --git a/src/components/Products/ProductsCard.js b/src/components/Products/ProductsCard.js index 0e1cecd..1bda4e8 100644 --- a/src/components/Products/ProductsCard.js +++ b/src/components/Products/ProductsCard.js @@ -5,7 +5,7 @@ import '../../App.css'; export default function ProductsCard({ products }) { return ( -
+ <>

Techswap2 Welcome To The TechSwap @@ -21,6 +21,6 @@ export default function ProductsCard({ products }) {

))} - + ); } diff --git a/src/grading.md b/src/grading.md new file mode 100644 index 0000000..3d220c0 --- /dev/null +++ b/src/grading.md @@ -0,0 +1,16 @@ +# Tech Swap Grading Notes + +- I had a pretty hard time navigating this app -- I don't see a link to sign in or sign up or links for adding products -- I had to go searching the code to figure out how to get there -- maybe add a redirect on the home page if there isn't a signed in user to show the auth page -- also add links to your headers to make them really obvious +- I like that you went mobile first, but don't forget to consider larger monitors. You can use media queries in CSS to display different images depending on the size of the browser -- that can stop your header image from stretching on larger monitors +- Try not to use top-level `
` elements -- use fragments (crabby hands) instead (prevents a lot of extra divs in your code) +- Your split between views / components looks great -- nice job there +- You had some extraneous props on your routes -- take a look and make sure you understand where `exact` and `path` need to go +- Overall really cool app -- great job -- just a few things to think about mostly usability wise + +| Rubric | Deduction | +| ------------------------------------------------------ | --------- | +| React Router (remove a point for the extraneous props) | -1 | +| Snapshot tests for all components | -1 | +| Usability | -1 | + +**Total Points: 147 / 150**