Free-courses-with-Certificates
Free-courses-with-Certificates copied to clipboard
fix: Improve sidebar behavior and layout responsiveness
closes #857 Description:
- Implemented active-tab highlighting using useLocation/isActive.
- Added logout handling (handleAuth + redirect to /login).
- Adjusted CSS for collapsed sidebar — icons now stay centered.
- Introduced --sidemenu-width variable and synced it via useEffect on collapse/expand.
- Updated Main.jsx, Dashboard.jsx, and LearningRoadmap.jsx to shift with sidebar width.
- Centered LearningRoadmap content with a responsive, max-width layout.
- Added smooth transitions for width/margin changes.
https://github.com/user-attachments/assets/232439d0-7ef4-4ad8-8069-43aee6522d05
Deploy Preview for free-courses-with-certificates ready!
| Name | Link |
|---|---|
| Latest commit | 90a926308ca1aaa9bca7ecf4ede5707b66501057 |
| Latest deploy log | https://app.netlify.com/projects/free-courses-with-certificates/deploys/69058a29615815000824664d |
| Deploy Preview | https://deploy-preview-865--free-courses-with-certificates.netlify.app |
| Preview on mobile | Toggle QR Code...Use your smartphone camera to open QR code link. |
To edit notification comments on pull requests, go to your Netlify project configuration.
Please resolve the conflicts
@avinash201199