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

[Refactor] Add /opportunities or /resources to Related Page Paths (#710) #911

Closed
wants to merge 14 commits into from

Conversation

Krishnaag23
Copy link

This PR refactors the URLs of pages related to "opportunities" and "resources" to include their respective prefixes in the path (/opportunities or /resources).

Changes Made

  • Updated the paths for all pages under "opportunities" and "resources" sections.
  • Refactored links across the website to point to the updated paths, ensuring proper navigation.

Implementation Details

  • Refactored the following pages for resources:

    • /tools/resources/tools
    • /roadmaps/resources/roadmaps
    • /community/resources/community
    • /quiz/resources/quiz
    • /interviewQuestions/resources/interviewQuestions
  • Refactored the following pages for opportunities:

    • /internships/opportunities/internships
    • /opensec-projects/opportunities/opensec-projects
    • /community-events/opportunities/community-events
    • /community-events/:eventId/opportunities/community-events/:eventId

Testing

  • Verified that all pages are accessible through the new paths.
  • Checked for any broken links after changes.

Fixes Issue

closes #710

Changes proposed

Screenshots

Note to reviewers

Code of Conduct

  • By submitting this pull request, I confirm I've read and complied with the CoC 🖖

Check List (Check all the applicable boxes)

  • My code follows the code style of this project.
  • My change requires changes to the documentation.
  • I have updated the documentation accordingly.
  • All new and existing tests passed.
  • This PR does not contain plagiarized content.
  • The title of my pull request is a short description of the requested changes.

You can also join our Discord community.
Feel free to check out other cool repositories of the Thecyberworld.
Join the Thecyberworld GitHub Organisation by raising an issue (you will be sent an invitation).

0xk4b1r and others added 14 commits September 6, 2024 01:23
* fix: cherry pick of pr 848 (th3cyb3rhub#854)

* fix:remove comments

* fix:minor comments

* fix: fix the paste functionality and some refactoring

* refactor: image upload hook | create + use in modify feed and create blog (th3cyb3rhub#843)

* refactor: create useUploadImages hook and use inside ModifyFeed

why: to separate this functionality outside of the components
how: create hook and common components related to it

* refactor: add submit option in the useUploadImages hook

* refactor: change variable name

* refactor: use the useUploadImages hook inside CreateBlogV2 component

* fix: validate max number of uploaded images

* fix: remove unnecessary useRef, extract imageUploadApi and more fixes

* fix:minor fix

* chore:upgrade @reduxjs/toolkit by snyk suggestion (th3cyb3rhub#856)

* fix: AIChat responsive fix - cherry pick of pr 844 (th3cyb3rhub#855)

* AIChat responsive fix

* AIChat responsive fix - requested changes (th3cyb3rhub#861)

---------

Co-authored-by: SinanovicAhmed <ahmedsinanovic20@gmail.com>
Co-authored-by: Ahmed Sinanović <93159428+SinanovicAhmed@users.noreply.github.com>

* Create CNAME

* Fix: upload images+feeds (th3cyb3rhub#863)

* fix: related to image uploads

* fix:can't see feed when user is not logged in

* feat: feeds| add image compression for large files

how: with the use of canvas

* fix: move canvas inside input component

* fix: fix problem when upload one image, add option to modify width and height of image

* fix:upload many images

* fix: blogs name, and path, categories component for blogs (th3cyb3rhub#864)

* fix: blogs URL, feat: categories

* Update ViewComments.jsx

* fix: blogs URL, feat: categories

* Update package.json

* fix: upgrade axios from 1.6.8 to 1.7.2 (th3cyb3rhub#866)

Snyk has created this PR to upgrade axios from 1.6.8 to 1.7.2.

See this package in npm:
axios

See this project in Snyk:
https://app.snyk.io/org/kabir0x23/project/56a100f1-3b8e-4637-93f9-fe3df450cb41?utm_source=github&utm_medium=referral&page=upgrade-pr

Co-authored-by: snyk-bot <snyk-bot@snyk.io>

* feat: notes | Multiple Categories deletion feature  - cherry pick of pr 770 (th3cyb3rhub#858)

* Multiple Notes deletion feature

* Added Multiselect toggler

* Added Multiselect toggler

* fix:toggle button in the bottom even when creating new category

* fix:minor things

* fix:move delete button to bottom

* fix:change multiselect icons and more fixes

* refactor: remove from redux, change the element of checked

what: remove the selected categories from redux, change from checked input
to div element.
why: user select categories locally , div element is enough
how: do some refactoring

* fix:manage turn off multiselect clean selected categories

* fix:add box shadow for checked option

---------

Co-authored-by: Jazz <jazzxbusiness@outlook.com>

* [Snyk] Upgrade sass from 1.77.1 to 1.77.4 (th3cyb3rhub#870)

* fix: upgrade sass from 1.77.1 to 1.77.4

Snyk has created this PR to upgrade sass from 1.77.1 to 1.77.4.

See this package in npm:
sass

See this project in Snyk:
https://app.snyk.io/org/kabir0x23/project/56a100f1-3b8e-4637-93f9-fe3df450cb41?utm_source=github&utm_medium=referral&page=upgrade-pr

* chore: prettier

* chore: store changes of package-lock.json

---------

Co-authored-by: snyk-bot <snyk-bot@snyk.io>
Co-authored-by: ArkadiK94 <arkadi29081994@gmail.com>

* fix: AI Chat | responsive (th3cyb3rhub#874)

* Hide triple dot icon

* Added responsive and fixed button misalignment

* Left menu on top of right menu and added button to go back

* Same button style

* Removed unnecesary lines

---------

Co-authored-by: paella <paella@paellas-Mac-Pro.local>

* refactor: image upload | use web worker (th3cyb3rhub#879)

* fix: add error handling for image upload

* feat: move the compression of image to web worker

why: to not block the main thread
how: use web worker

* fix: hide three dots and modal will show (th3cyb3rhub#873)

* fix: bug responsiveness of explore search left container (th3cyb3rhub#876)

* fix: Redirect to articles page after creating new articale th3cyb3rhub#877 (th3cyb3rhub#880)

* fix: Blog validation failed: category: "Blog" is not a valid enum value for path "category" th3cyb3rhub#878 (th3cyb3rhub#881)

* Redirect to articles page after creating new articale th3cyb3rhub#877

* Fix Blog validation failed: category: "Blog" is not a valid enum value for path "category" th3cyb3rhub#878

* feat: tools/Google Dorks (th3cyb3rhub#882)

Co-authored-by: saed <saed@kali>

* feat: tools and resources (th3cyb3rhub#883)

* feat: tools and resources

* feat: tools and resources

* feat: tools and resources

* feat: tools and resources

* feat: tool | reconage (th3cyb3rhub#886)

* reconage

* reconage

* feat: tools | reconage (th3cyb3rhub#887)

* reconage

* fix: package.json & package-lock.json to reduce vulnerabilities (th3cyb3rhub#885)

The following vulnerabilities are fixed with an upgrade:
- https://snyk.io/vuln/SNYK-JS-AXIOS-7361793

Co-authored-by: snyk-bot <snyk-bot@snyk.io>

* fix: tool export issue

* fix: tool export issue

* feat: topics | Business Logic/Race Conditions (th3cyb3rhub#888)

* feat: topics | Report added Broken Auth and Info Disclosure (th3cyb3rhub#889)

* fix: upgrade @radix-ui/react-slot from 1.0.2 to 1.1.0 (th3cyb3rhub#884)

Snyk has created this PR to upgrade @radix-ui/react-slot from 1.0.2 to 1.1.0.

See this package in npm:
@radix-ui/react-slot

See this project in Snyk:
https://app.snyk.io/org/kabir0x23/project/56a100f1-3b8e-4637-93f9-fe3df450cb41?utm_source=github&utm_medium=referral&page=upgrade-pr

Co-authored-by: snyk-bot <snyk-bot@snyk.io>

* feat: Refator enchanement (th3cyb3rhub#891)

* Refator and Enchanement

* enhancements'

* Refator enchanement (th3cyb3rhub#892)

* Refator and Enchanement

* enhancements'

* enhancements'

* enhancements'

---------

Co-authored-by: Arkadi Koifman <76536506+ArkadiK94@users.noreply.github.com>
Co-authored-by: SinanovicAhmed <ahmedsinanovic20@gmail.com>
Co-authored-by: Ahmed Sinanović <93159428+SinanovicAhmed@users.noreply.github.com>
Co-authored-by: snyk-bot <snyk-bot@snyk.io>
Co-authored-by: Jazz <jazzxbusiness@outlook.com>
Co-authored-by: ArkadiK94 <arkadi29081994@gmail.com>
Co-authored-by: Gabriel Ferreiro Sedlovskij <131366333+GFerreiroS@users.noreply.github.com>
Co-authored-by: paella <paella@paellas-Mac-Pro.local>
Co-authored-by: UTKARSH SINGH <119475896+iutkarsh077@users.noreply.github.com>
Co-authored-by: $@#il <sahilsadekar249775@gmail.com>
Co-authored-by: Sreekar Gadasu <36098162+sr33kar@users.noreply.github.com>
Co-authored-by: Saedbhati <105969318+Saedbhati@users.noreply.github.com>
Co-authored-by: saed <saed@kali>
Co-authored-by: Kunal Rajour <97209296+VictoriousKnight@users.noreply.github.com>
Co-authored-by: Shubham Bhardwaj <71768868+Shubham-2k1@users.noreply.github.com>
* performance

* performance
…3cyb3rhub#710)

- Update page paths for pages related to opportunities or resources.
Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's great having you contribute to this project

🌟 Welcome to the community 🌟

  • If you would like to continue contributing to open source and would like to do it with an awesome inclusive community.
  • You should join our Discord chat and our GitHub Organisation.
  • We help and encourage each other to contribute to open source little and often 😄.
  • Any questions let us know.

@0xk4b1r 0xk4b1r deleted the branch th3cyb3rhub:dev October 10, 2024 13:16
@0xk4b1r 0xk4b1r closed this Oct 10, 2024
@Krishnaag23
Copy link
Author

could you please tell me what I have done wrong in this PR? @kabir0x23 . what should I do better?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Refactor] /opportunities or /resources add to path of related pages.
2 participants