rishyym0927 / Affinity_frontend

Affinity is a web application designed to match individuals based on their intellectual compatibility. Users can create profiles, take quizzes, and find matches who share similar intellectual interests and capabilities. The project aims to foster meaningful connections through a sophisticated matching algorithm.
18 stars 36 forks source link

Create a Denied Page for Inaccessible Routes #19

Closed Anshul-Sharma01 closed 1 month ago

Anshul-Sharma01 commented 1 month ago

I would like to add a dedicated "Denied" page that will be displayed when users attempt to access routes they are not authorized to view. This page will clearly inform users that they do not have the necessary permissions to access the requested route.

The proposed flow:

This feature will improve user experience by providing feedback for unauthorized access instead of silently redirecting them elsewhere.

Please assign me this issue under Hacktoberfest

rishyym0927 commented 1 month ago

Hi @Anshul-Sharma01

This issue is assigned to you, add screenshots of your page when you create the pr and do not forget to link your issue in commit message.