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

Develop #184

Open
wants to merge 34 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
34 commits
Select commit Hold shift + click to select a range
59db988
Init project
Zibi95 Jun 21, 2023
c524884
Build and style Navbar
Zibi95 Jun 21, 2023
edcf2f8
Build and style Banner - start developing HomePage
Zibi95 Jun 21, 2023
81ccdd1
Add ProductSlider
Zibi95 Jun 21, 2023
8195854
Build and style ShopCategories - finish HomePage development
Zibi95 Jun 21, 2023
0543691
Build and style custom Select component
Zibi95 Jun 21, 2023
a7bbabd
Build and style ProductsList
Zibi95 Jun 21, 2023
3b30e0c
Build and style Breadcrumbs
Zibi95 Jun 21, 2023
a3b49b1
Build and style Loader
Zibi95 Jun 21, 2023
c5503c6
Build and style NoResult component
Zibi95 Jun 21, 2023
6c07145
Build and style Pagination
Zibi95 Jun 21, 2023
118f977
Build and style ProductPage
Zibi95 Jun 21, 2023
4497859
Build and style SearchBar
Zibi95 Jun 21, 2023
6fb7b6c
Fix Select unecessary hook
Zibi95 Jun 22, 2023
72b8f30
Fix margins, add new routes for products
Zibi95 Jun 22, 2023
2a736a2
Developing ProductDetailsPage, Change for new API
Zibi95 Jun 23, 2023
1939f23
ProductDetailsPage developing
Zibi95 Jun 25, 2023
0d2ac98
Build and style CartPage
Zibi95 Jun 26, 2023
d8f41d4
Build and style FavoritesPage
Zibi95 Jun 26, 2023
2e177e9
Develop Cart features
Zibi95 Jun 26, 2023
e90d16f
Change file structure, Implement search feature,
Zibi95 Jun 27, 2023
e460f9f
Add some scss mixins fot typography
Zibi95 Jun 27, 2023
f99355b
Optimizations
Zibi95 Jun 27, 2023
c2cec28
Implement useLocaleStorage hook, implement favorites context
Zibi95 Jun 27, 2023
88a07f2
Implement Favourites feature
Zibi95 Jun 28, 2023
92f4ab1
Add new Details component, build reducer hook for ProductDetailsPage
Zibi95 Jun 28, 2023
729c8b0
add productsContext
Zibi95 Jun 28, 2023
5d082e9
Code splitting
Zibi95 Jun 29, 2023
a1ac1a1
Fix images on production,
Zibi95 Jun 30, 2023
a562ea9
Some final touches, TODO: Navbar for mobile
Zibi95 Jun 30, 2023
ff77f6a
Some final touches, TODO: Navbar for mobile
Zibi95 Jun 30, 2023
8bb3349
Merge branch 'develop' of https://github.com/Zibi95/react_phone-catal…
Zibi95 Jun 30, 2023
9af6dae
Add responsive navbar menu
Zibi95 Jul 7, 2023
630b040
Add path aliases, create barrel files,
Zibi95 Jul 13, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
28 changes: 20 additions & 8 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,12 +1,24 @@
module.exports = {
extends: ['@mate-academy/eslint-config-react-typescript', 'plugin:cypress/recommended'],
extends: [
'@mate-academy/eslint-config-react-typescript',
'plugin:cypress/recommended',
],
rules: {
'max-len': ['error', {
ignoreTemplateLiterals: true,
ignoreComments: true,
}],
'jsx-a11y/label-has-associated-control': ["error", {
assert: "either",
}],
'max-len': [
'error',
{
ignoreTemplateLiterals: true,
ignoreComments: true,
},
],
'jsx-a11y/label-has-associated-control': [
'error',
{
assert: 'either',
},
],
'implicit-arrow-linebreak': "off",
'max-len': "off",
"react/require-default-props": "off"
},
};
21 changes: 21 additions & 0 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"singleQuote": true,
"jsxSingleQuote": false,
"tabWidth": 2,
"semi": true,
"trailingComma": "all",
"bracketSpacing": true,
"singleAttributePerLine": false,
"printWidth": 80,
"bracketSameLine": false,
"arrowParens": "avoid",
"endOfLine": "lf",
"overrides": [
{
"files": "*.scss",
"options": {
"singleQuote": false
}
}
]
}
21 changes: 21 additions & 0 deletions config-overrides.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
const path = require('path');

module.exports = function override(config, env) {
config.resolve = {
...config.resolve,
alias: {
...config.resolve.alias,
"@src": path.resolve(__dirname, 'src/'),
"@assets": path.resolve(__dirname, "src/assets/"),
"@components": path.resolve(__dirname, "src/components/"),
"@routes": path.resolve(__dirname, "src/routes/"),
"@contexts": path.resolve(__dirname, "src/contexts/"),
"@helpers": path.resolve(__dirname, "src/helpers"),
"@typings": path.resolve(__dirname, "src/types/"),
"@css-utils": path.resolve(__dirname, "src/style-utils/"),
"@hooks": path.resolve(__dirname, "src/hooks/")
},
extensions: ['.ts', '.tsx', '.js', '.jsx', '.json', '.d.ts']
};
return config;
};
Loading