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

item page #75

Merged
merged 107 commits into from
Nov 1, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
107 commits
Select commit Hold shift + click to select a range
7be9ccc
chore(add dependency): install & configure Tailwindcss
ismail-benlaredj Oct 13, 2023
ed9f4ce
chore(global styling): configure & design system in tailwind
ismail-benlaredj Oct 13, 2023
bf322cf
chore: add react-icons library
ismail-benlaredj Oct 13, 2023
c38914d
feat(layout): add main layout
ismail-benlaredj Oct 13, 2023
c5d90eb
fix: fix Prettier error
ismail-benlaredj Oct 13, 2023
217c067
Merge pull request #42 from ismail-benlaredj/main-layout
ismail-benlaredj Oct 13, 2023
28662bb
feat(signupform): add Sign up form component
darinetag Oct 14, 2023
007bf01
fix(signupform.jsx): add responsiveness to design
darinetag Oct 15, 2023
c04c86f
feat: add category card
LaidBengli Oct 15, 2023
c6d3fe0
feat: add blog card
LaidBengli Oct 15, 2023
15bde7e
Update issue-autolink.yml
ismail-benlaredj Oct 15, 2023
4f5d398
Update issue-autolink.yml
ismail-benlaredj Oct 15, 2023
c4f3538
Merge pull request #50 from 202306-NEA-DZ-FEW/9-blog-card
LaidBengli Oct 15, 2023
791230e
Merge branch 'dev' into 10-category-card
LaidBengli Oct 15, 2023
3595019
feat: add item card
LaidBengli Oct 15, 2023
a7b6f11
Merge pull request #51 from 202306-NEA-DZ-FEW/7-item-card
LaidBengli Oct 15, 2023
ea1dce9
feat(herosection component): add hero section
darinetag Oct 15, 2023
579b79f
feat(buttons.jsx): create buttons without any functions only ui
Hadj-Said-Bouras Oct 15, 2023
8077e11
feat(component): adding ArticleCard Component
Oct 15, 2023
cc4ec1a
chore(firebase): add firebase SDK
ismail-benlaredj Oct 16, 2023
431924e
feat(firebase): configure firebase app & firebase auth
ismail-benlaredj Oct 16, 2023
67a79c9
feat: adding Tailwind to the component
Oct 16, 2023
dbf6a2e
feat(buttons.jsx): add uk flag as a button
Hadj-Said-Bouras Oct 17, 2023
8eba7a0
feat: create marketing cards
mohamed-cheraitia Oct 17, 2023
3ab43a3
feat(component): add personal information componenet and a feature to…
darinetag Oct 18, 2023
a2a85f2
feat(firebase): add firestore configuration and data management funct…
ismail-benlaredj Oct 18, 2023
d60fd1f
feat(component): adding a Developer Avatar Component
Oct 18, 2023
d87f87b
fix: removing an unnecessary comment
Oct 18, 2023
b16aaa7
Merge branch 'dev' into 43-avatar-developers
SaraBegache Oct 18, 2023
8b6dcf7
feat: create footer
mohamed-cheraitia Oct 19, 2023
5e458f9
feat: add logo , social media icons , make footer responsive
mohamed-cheraitia Oct 19, 2023
ae881da
feat: make the section responsive
mohamed-cheraitia Oct 19, 2023
25e584e
feat(component): add personal information component
darinetag Oct 20, 2023
332d79d
refactor(code update): fix prettier error
ismail-benlaredj Oct 20, 2023
5b74e0d
Merge branch 'dev' into 10-category-card
ismail-benlaredj Oct 20, 2023
2f1a043
Merge pull request #52 from 202306-NEA-DZ-FEW/10-category-card
ismail-benlaredj Oct 20, 2023
b668dff
feat(components): add 2 components
darinetag Oct 20, 2023
03a1852
Merge pull request #53 from 202306-NEA-DZ-FEW/36-hero-section
ismail-benlaredj Oct 20, 2023
704943c
feat(firebase storage): add uploadImages function
ismail-benlaredj Oct 20, 2023
4a3f37a
feat: modify the sectionWithCard component to accept elements as chil…
mohamed-cheraitia Oct 21, 2023
b8be8b5
feat: make it responsive with mobile version and fix margin
mohamed-cheraitia Oct 21, 2023
e7f1c17
Merge branch 'dev' into 8-marketing-card
mohamed-cheraitia Oct 21, 2023
b0dae40
feat(navbar): add responsive navbar
ismail-benlaredj Oct 21, 2023
83996ae
fix(navbar): fix styling
ismail-benlaredj Oct 21, 2023
a6aa597
refactor(footer): change footer placement in the layout to fit the …
ismail-benlaredj Oct 22, 2023
b9b3445
Merge pull request #62 from 6-footer
ismail-benlaredj Oct 22, 2023
08807fe
Merge pull request #61 from firebase
ismail-benlaredj Oct 22, 2023
0ef7c6e
feat(component): add 2 components
darinetag Oct 22, 2023
e4b4264
feat(component): add 2 components
darinetag Oct 22, 2023
5c216b0
Merge branch 'dev' into 5-navbar
ismail-benlaredj Oct 22, 2023
6e5d3cf
feat(navbar): add languages dropdown menu
ismail-benlaredj Oct 22, 2023
90716ef
fix: changing some code
Oct 22, 2023
13d950b
feat(navbar): add account management to the navbar
ismail-benlaredj Oct 22, 2023
d163d3e
fix: fixing components names
Oct 22, 2023
99ee4fe
feat(c new component): add new component
Oct 22, 2023
1c419a6
fix: fix code
Oct 22, 2023
38fc753
fix: adding a parent link and a user member description
Oct 22, 2023
4b84011
feat: add Avatars Developer component
Oct 22, 2023
18fba0b
Merge branch '37-sign-up-form' into dev
darinetag Oct 23, 2023
40c6d19
Merge branch '38-personal-information-1' into dev
darinetag Oct 23, 2023
bfebd2d
refactor(marketing card): update section container component
ismail-benlaredj Oct 23, 2023
6725cca
Merge pull request #60 from 202306-NEA-DZ-FEW/8-marketing-card
ismail-benlaredj Oct 23, 2023
aeffeb2
style(developer avatar): update component styles
ismail-benlaredj Oct 23, 2023
a8e8e50
refactor(developer avatar): remove unnecessary files
ismail-benlaredj Oct 23, 2023
fa00ca8
Merge pull request #59 from 202306-NEA-DZ-FEW/43-avatar-developers
ismail-benlaredj Oct 23, 2023
4822f34
Delete public/.env
ismail-benlaredj Oct 23, 2023
c439837
Merge branch 'dev' of github.com:ismail-benlaredj/recoded-capstone in…
darinetag Oct 23, 2023
dc1f285
Merge branch 'dev' into 41-blog-article-card
ismail-benlaredj Oct 24, 2023
090ccb7
feat(article card (blog page)): add article card
ismail-benlaredj Oct 24, 2023
dfccb29
Merge pull request #58 from 41-blog-article-card
ismail-benlaredj Oct 24, 2023
5239598
feat(navbar): add logout button and profile link in mobile version
ismail-benlaredj Oct 24, 2023
b95e5d9
feat(index.jsx): sende functions icons and names as props
Hadj-Said-Bouras Oct 25, 2023
dd8b246
Merge pull request #65 from 202306-NEA-DZ-FEW/5-navbar
ismail-benlaredj Oct 25, 2023
b1036f7
Merge branch 'dev' into buttons
ismail-benlaredj Oct 26, 2023
9f6a505
feat(button component): add clsx, tailwind-merge, class-variance-auth…
ismail-benlaredj Oct 26, 2023
14d636d
feat(button component): add button with different variation
ismail-benlaredj Oct 26, 2023
961fd61
Merge pull request #56 from 202306-NEA-DZ-FEW/buttons
ismail-benlaredj Oct 26, 2023
6dfc673
refactor(main layout): change Main layout from single page to _app page
ismail-benlaredj Oct 26, 2023
2beadb6
feat(blog): add blog functionalities & markdawn to html libraries and…
ismail-benlaredj Oct 26, 2023
044d9b1
Merge branch 'dev' into 27-blogs
ismail-benlaredj Oct 27, 2023
cdc7cdc
Merge pull request #68 from 202306-NEA-DZ-FEW/64-add-item-page
ismail-benlaredj Oct 27, 2023
631e879
Merge branch 'dev' into 27-blogs
ismail-benlaredj Oct 27, 2023
f3a7232
feat(article card button): add custom button component to article card
ismail-benlaredj Oct 27, 2023
f7566a1
feat(blog): add blog page & add styles to article page
ismail-benlaredj Oct 27, 2023
daee5ff
Merge pull request #67 from 202306-NEA-DZ-FEW/27-blogs
ismail-benlaredj Oct 27, 2023
8b0b435
feat(upload images api): replace firestorage function with useUploadI…
ismail-benlaredj Oct 27, 2023
a2240df
chore(react-hook-form): add react-hook-form library
ismail-benlaredj Oct 28, 2023
d2aaba7
feat(add-item page): add fileInput component and add item form
ismail-benlaredj Oct 28, 2023
79cd6be
feat: add aboutUs page
Oct 28, 2023
22356aa
feat: add single item card
LaidBengli Oct 29, 2023
7c8c845
feat: add responsiveness to single item card
LaidBengli Oct 29, 2023
5782eeb
feat(index.jsx): change link on sign up or reset password
Hadj-Said-Bouras Oct 29, 2023
a0e5b38
refactor(useuploadimage hook): remove imgeUrl state
ismail-benlaredj Oct 29, 2023
5d7996a
Merge branch 'dev' into sign-in-page
ismail-benlaredj Oct 30, 2023
83273ff
refactor(button): fix full width button
ismail-benlaredj Oct 30, 2023
9825d74
feat(add item form): create add item form & link it to firebase stora…
ismail-benlaredj Oct 30, 2023
580e762
Merge pull request #73 from 64-add-item-page
ismail-benlaredj Oct 30, 2023
3ae21ed
fix(layout): remove layout form home page
ismail-benlaredj Oct 30, 2023
6e1aa4f
refactor(login): update styles & add useRouter hook & use Button comp…
ismail-benlaredj Oct 30, 2023
c147887
Merge pull request #71 from 202306-NEA-DZ-FEW/sign-in-page
ismail-benlaredj Oct 30, 2023
0289909
chore(next config): add unsplash images
ismail-benlaredj Oct 31, 2023
dc127e4
refactor(item details component): remove fontawsome
ismail-benlaredj Oct 31, 2023
e2418e1
Merge pull request #70 from 14-single-item
ismail-benlaredj Oct 31, 2023
9eaceec
feat(firestore functions): add doc id to data & update query
ismail-benlaredj Nov 1, 2023
e9bb551
feat(item card): rebuild item card
ismail-benlaredj Nov 1, 2023
293299d
refactor(layout): add margin mobile version
ismail-benlaredj Nov 1, 2023
567b5ea
feat(single item page): add single item page
ismail-benlaredj Nov 1, 2023
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading