Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Aaron Adler - Completed code and live deployment #3

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

aarnadlr
Copy link

@aarnadlr aarnadlr commented Jul 20, 2020

Hi Nate, please find completed code in this PR.

To run locally: yarn start

To run tests: yarn test

Deployed live at: https://ajmad.vercel.app/

Notes:

  • The SHOW MORE button at the bottom of the page is functional. It currently renders 4 additional products on each click. This setting can be modified in App.js state. When all products are rendered, the button is removed from the DOM.

  • The breakpoint from mobile to tablet design is intentionally set to 720px in this demo. Wider breakpoints are best practice when no tablet design has been built. Easy to change with a single variable.

  • "1-4 of 26 Items" pagination values in the mobile view are dynamic.

  • All products in the provided API have value is_quick_ship: false. Therefore, this demo does not render the QuickShip badge dynamically (because then no QuickShip badges would display, per its value false). In ProductCard.jsx, you can see sample commented code for dynamic render of the QuickShip badge.

  • PropTypes for each component.

  • Unit tests for each component.

Thank you
a

@aarnadlr aarnadlr changed the title Add completed code to branch. Aaron Adler - Completed code and live deployment Jul 20, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant