├── .gitignore ├── .idea ├── .gitignore ├── modules.xml ├── react-pizza.iml ├── vcs.xml └── workspace.xml ├── README.md ├── package-lock.json ├── package.json ├── public ├── arrow-top.svg ├── cart.svg ├── empty-cart.png ├── favicon.ico ├── grey-arrow-left.svg ├── index.html ├── logo192.png ├── logo512.png ├── manifest.json ├── pizza-logo.svg ├── plus.svg ├── robots.txt └── trash.svg ├── src ├── @types │ └── assets.d.ts ├── App.css ├── App.test.js ├── App.tsx ├── assets │ └── img │ │ ├── arrow-top.svg │ │ ├── cart.svg │ │ ├── empty-cart.png │ │ ├── grey-arrow-left.svg │ │ ├── pizza-logo.svg │ │ ├── plus.svg │ │ └── trash.svg ├── components │ ├── CartEmpty.tsx │ ├── CartItem.tsx │ ├── Categories.tsx │ ├── Header.tsx │ ├── NotFoundBlock │ │ ├── NotFoundBlock.module.scss │ │ └── index.tsx │ ├── Pagination │ │ ├── Pagination.module.scss │ │ └── index.tsx │ ├── PizzaBlock │ │ ├── Skeleton.tsx │ │ └── index.tsx │ ├── Search │ │ ├── Search.module.scss │ │ └── index.tsx │ ├── Sort.tsx │ └── index.ts ├── index.tsx ├── layouts │ └── MainLayout.tsx ├── logo.svg ├── pages │ ├── Cart.tsx │ ├── FullPizza.tsx │ ├── Home.tsx │ └── NotFound.tsx ├── redux │ ├── cart │ │ ├── selectors.ts │ │ ├── slice.ts │ │ └── types.ts │ ├── filter │ │ ├── selectors.ts │ │ ├── slice.ts │ │ └── types.ts │ ├── pizza │ │ ├── asyncActions.ts │ │ ├── selectors.ts │ │ ├── slice.ts │ │ └── types.ts │ └── store.ts ├── reportWebVitals.js ├── scss │ ├── _variables.scss │ ├── app.scss │ ├── components │ │ ├── _all.scss │ │ ├── _button.scss │ │ ├── _categories.scss │ │ ├── _header.scss │ │ ├── _pizza-block.scss │ │ └── _sort.scss │ └── libs │ │ └── _normalize.scss ├── setupTests.js └── utils │ ├── calcTotalPrice.ts │ ├── getCartFromLS.ts │ └── math.ts └── tsconfig.json /.gitignore: -------------------------------------------------------------------------------- 1 | # See https://help.github.com/articles/ignoring-files/ for more about ignoring files. 2 | 3 | # dependencies 4 | /node_modules 5 | /.pnp 6 | .pnp.js 7 | 8 | # testing 9 | /coverage 10 | 11 | # production 12 | /build 13 | 14 | # misc 15 | .DS_Store 16 | .env.local 17 | .env.development.local 18 | .env.test.local 19 | .env.production.local 20 | 21 | npm-debug.log* 22 | yarn-debug.log* 23 | yarn-error.log* 24 | -------------------------------------------------------------------------------- /.idea/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/dacorm/react-pizza/4897bf2844b55476cb682d0cdf4feccf3a2cad0b/.idea/.gitignore -------------------------------------------------------------------------------- /.idea/modules.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /.idea/react-pizza.iml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | -------------------------------------------------------------------------------- /.idea/vcs.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | -------------------------------------------------------------------------------- /.idea/workspace.xml: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 48 | 49 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 74 | 75 | 76 | 77 | 78 | 79 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 | 96 |