Commit Graph
42 Commits
Author SHA1 Message Date
Leon Xu d64671d0f5 doc: add getBasketTotal method 2022-05-05 21:37:10 -07:00
Leon Xu 27462887ac doc" add useStateValue to Header component to change the hardcode value to dynamic value 2022-05-05 21:34:14 -07:00
Leon Xu 872938bdd1 doc: add id as prop to Product function 2022-05-05 21:32:37 -07:00
Leon Xu 9dc80c75ad doc: add addToBasket method 2022-05-05 21:32:15 -07:00
Leon Xu 47d41ab683 doc: add StateProvider, reducer, and initialState to entry file 2022-05-05 21:27:38 -07:00
Leon Xu 775c4fb5b1 doc: create initialState and reducer method 2022-05-05 21:26:27 -07:00
Leon Xu 9e5f2605f3 file: create reducer file in redux directory 2022-05-05 21:24:30 -07:00
Leon Xu cffbed42a5 doc: add StateProvider and StateValue 2022-05-05 21:22:41 -07:00
Leon Xu 0ecc546f6c file: create StateProvider in redux directory 2022-05-05 21:21:32 -07:00
Leon Xu fa9e1acda1 doc: add style to subtotal input and subtotal button 2022-05-05 21:19:51 -07:00
Leon Xu c379b1ec72 doc: add CurrencyFormatter to Subtotal component along with its style 2022-05-05 21:17:07 -07:00
Leon Xu 1c48a6260a doc: add subtotal component 2022-05-05 21:16:19 -07:00
Leon Xu 64da4e8f8a file: create Subtotal component with its own style 2022-05-05 21:14:36 -07:00
Leon Xu 1d7386db3f doc: add checkout ads and texts with its styles 2022-05-05 21:13:51 -07:00
Leon Xu b736a4602f doc: add checkout route to shopping cart 2022-05-05 21:08:40 -07:00
Leon Xu 8515e0b9fc doc: add Link route back to home when clicked on amazon logo 2022-05-05 21:07:25 -07:00
Leon Xu 0386f5815c doc: add checkout route with checkout component 2022-05-05 20:52:32 -07:00
Leon Xu 9a0a1aa344 file: create Checkout component along with its stylesheet 2022-05-05 20:51:49 -07:00
Leon Xu 83b2b70214 doc: add React Router to the entire application 2022-05-05 20:50:57 -07:00
Leon Xu 1258f03a46 doc: add six products 2022-05-05 19:20:07 -07:00
Leon Xu 1f503b89fb doc: add home and home__row class selector 2022-05-05 19:15:53 -07:00
Leon Xu 71ed20b6b1 doc: add Product components to Home component 2022-05-05 19:15:22 -07:00
Leon Xu 701730788a doc: add background-color 2022-05-05 19:12:39 -07:00
Leon Xu 4d4b7ff31b doc: pass title, image, price, and rating as props 2022-05-05 19:12:30 -07:00
Leon Xu 537365cb90 doc: modify product component and its stylesheet 2022-05-05 19:10:59 -07:00
Leon Xu 24c3cce33c doc: style home__image selector 2022-05-05 18:56:41 -07:00
Leon Xu 065660e662 doc: add home__image and home__row that will contains a product 2022-05-05 18:56:29 -07:00
Leon Xu 0dd15e6e0e doc: add Home component 2022-05-05 18:53:15 -07:00
Leon Xu 40228ffdef fix: closing tag error 2022-05-05 18:53:00 -07:00
Leon Xu 1a4d89dc30 file: create Home component with its own stylesheet 2022-05-05 18:52:04 -07:00
Leon Xu ae45a2d66e doc: add optionBasket class along with ShoppingCart and static number for now 2022-05-05 18:40:14 -07:00
Leon Xu ca2757ac04 doc: add optionBasket and basketCount stylesheet 2022-05-05 18:39:50 -07:00
Leon Xu 280b749900 doc: add header__nav, header__option, optionLineOne and optionLineTwo selector to header stylesheet 2022-05-05 18:32:59 -07:00
Leon Xu e625537f85 doc: add Search icon from material-ui/icons 2022-05-05 18:30:07 -07:00
Leon Xu 41972b3437 doc: add styles to Header stylesheet 2022-05-05 18:29:49 -07:00
Leon Xu 13d4685578 doc: add header__logo, header__search and header__nav class to Header component 2022-05-05 18:24:15 -07:00
Leon Xu 52bde0f6bf file: create Header component along with its own stylesheet 2022-05-05 18:23:39 -07:00
Leon Xu 6a532c0f3d doc: add Header component 2022-05-05 18:22:44 -07:00
Leon Xu db1f29b775 file: initialize default React file 2022-05-05 18:04:28 -07:00
Leon Xu 7194adb0db doc: update README 2022-05-05 17:53:26 -07:00
Leon Xu bb690e486f Configure SAST in .gitlab-ci.yml, creating this file if it does not already exist 2022-05-06 00:52:19 +00:00
Leon Xu 5de1a6051a Initial commit 2022-05-06 00:52:19 +00:00