Add Dark Mode, Password Hashing for better security , Settings Page, Policy PDF in Policy section,UI Changes #5
Reference in New Issue
Block a user
Delete Branch "arav/Travel-policy-:main"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Security Update - Password Hashing :
The previous implementation stored and compared passwords in plain text, which is a critical security vulnerability
Features Added :
1)Dark Mode Support: Added to reduce eyestrain while using website
2)Rewritten sidebar using tailwind :
- Completely replaced external CSS with utility classes for better responsiveness.
- Added logic to conditional render links based on the user's role i.e. Applicant or Validator.
- Replaced heavy icon library imports with embedded optimized SVGs.
- Added direct navigation to the new Settings and Policy pages.
3)Settings Page: Created Settings.jsx to allow users to view account details and update their passwords securely.
4)Policy Section: Updated Policy.jsx to embed the official Travel Policy PDF directly in the page using an iframe, replacing the static placeholder text.
5)About Page: Redesigned with a modern Hero section and "Our Approach" grid.
Fixed the broken image on the about page (Fixes Issue #3 )
Testing:
All features have been tested. You can check the videos attached below
Student Side Video :
Student Website usage video
Validator Side Video:
Validator Website usage video
View command line instructions
Checkout
From your project repository, check out a new branch and test the changes.