Skip to content

Commit

Permalink
Merge pull request #75 from 4-single-product-page
Browse files Browse the repository at this point in the history
item page
  • Loading branch information
ismail-benlaredj authored Nov 1, 2023
2 parents a2eed2b + 567b5ea commit a8342a2
Show file tree
Hide file tree
Showing 58 changed files with 6,169 additions and 274 deletions.
2 changes: 1 addition & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ module.exports = {
],

//#region //*=========== Unused Import ===========
"unused-imports/no-unused-imports": "warn",
// "unused-imports/no-unused-imports": "warn",
"unused-imports/no-unused-vars": [
"warn",
{
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/issue-autolink.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,5 +9,6 @@ jobs:
steps:
- uses: tkt-actions/[email protected]
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
repo-token: "${{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 }}"

resolve: "true"
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ yarn-debug.log*
yarn-error.log*

# local env files
.env
.env.local
.env.development.local
.env.test.local
Expand Down
10 changes: 3 additions & 7 deletions jsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,9 @@
"compilerOptions": {
"baseUrl": ".",
"paths": {
"@/*": [
"./src/*"
],
"~/*": [
"./public/*"
]
"@/*": ["./src/*"],
"~/*": ["./public/*"]
},
"incremental": true
}
}
}
10 changes: 10 additions & 0 deletions next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,14 @@ module.exports = {
dirs: ["src"],
},
reactStrictMode: true,
images: {
remotePatterns: [
{
protocol: "https",
hostname: "images.unsplash.com",
port: "",
pathname: "/**",
},
],
},
};
4,438 changes: 4,190 additions & 248 deletions package-lock.json

Large diffs are not rendered by default.

15 changes: 13 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,24 +19,34 @@
"prepare": "husky install"
},
"dependencies": {
"class-variance-authority": "^0.7.0",
"clsx": "^2.0.0",
"date-fns": "^2.30.0",
"eslint-plugin-jest": "^27.4.2",
"firebase": "^10.5.0",
"gray-matter": "^4.0.3",
"i18next": "^23.5.1",
"next": "^13.5.4",
"next-i18next": "^14.0.3",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-hook-form": "^7.47.0",
"react-icons": "^4.11.0",
"react-router-dom": "^6.16.0",
"react-test-renderer": "^18.2.0"
"react-test-renderer": "^18.2.0",
"remark": "^15.0.1",
"remark-html": "^16.0.1",
"tailwind-merge": "^1.14.0"
},
"devDependencies": {
"@commitlint/cli": "^17.7.2",
"@commitlint/config-conventional": "^17.7.0",
"@svgr/webpack": "^8.1.0",
"@tailwindcss/typography": "^0.5.10",
"@testing-library/jest-dom": "^6.1.3",
"@testing-library/react": "^14.0.0",
"@types/react": "^18.2.28",
"autoprefixer": "^10.4.16",
"cz-conventional-changelog": "^3.3.0",
"eslint": "^8.51.0",
"eslint-config-next": "^13.5.4",
Expand All @@ -54,7 +64,8 @@
"postcss-nesting": "^12.0.1",
"prettier": "^3.0.3",
"react-test-renderer": "^18.2.0",
"standard-version": "^9.5.0"
"standard-version": "^9.5.0",
"tailwindcss": "^3.3.3"
},
"lint-staged": {
"src/**/*.{js,jsx,ts,tsx}": [
Expand Down
6 changes: 6 additions & 0 deletions postcss.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
module.exports = {
plugins: {
tailwindcss: {},
autoprefixer: {},
},
};
Binary file added public/Logo/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images/2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 5 additions & 0 deletions public/images/account.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
24 changes: 24 additions & 0 deletions public/images/ar-flag.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
21 changes: 21 additions & 0 deletions public/images/en-flag.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
40 changes: 40 additions & 0 deletions public/images/hero-img.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added public/images/uk.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit a8342a2

Please sign in to comment.