Skip to content

Commit 0704789

Browse files
updated README
1 parent dc37152 commit 0704789

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

README.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,15 +52,15 @@ I want to be able to sort the menu by categories, as well as be able to find som
5252
- [x] Sale category
5353

5454
2. [x] Search input available
55-
3. [x] Menu items have
56-
55+
Menu items have:
5756
- [x] Pricing
5857
- [x] Name
5958
- [x] Ingredients
6059
- [x] Image
6160
- [x] Sizings (in case of pizza)
6261
- [x] Add to cart button
6362

63+
6464
5. [ ] Add pagination
6565
6. [x] Menu side-cotainer
6666

@@ -102,6 +102,7 @@ I want to be able to sort the menu by categories, as well as be able to find som
102102
- [ ] Total amount of items
103103
- [ ] Total price
104104
- [ ] Buttons to cart/checkout page
105+
- [ ] Disable cart overlay on mobile version and direct the visitor straight to the cart page
105106

106107
#### Blog
107108

@@ -215,6 +216,8 @@ Secondly, I will add more interactivity this time, like adding items to the cart
215216

216217
#### Day 1
217218

219+
I created a separate file for all menu items and categories which saved me tons of space. Instead of having separate data for each category, I created just one and added the possibility to filter each of them by category. This helped me to get rid of 10 extra components! I do not want to do this now however I would gladly also make a GraphQL for this data. Now, I do not have to load different components every time I change a category. I simply render different data. This was remade to make the add to cart function and separate menu item page easier to create.
220+
218221
## Useful Resources
219222

220223
- <a href="https://magic.reactjs.net/htmltojsx.htm">HTML to JSX</a> - a great tool to compile HTML to JSX.

0 commit comments

Comments
 (0)