Free-courses-with-Certificates icon indicating copy to clipboard operation
Free-courses-with-Certificates copied to clipboard

fix: Improve sidebar behavior and layout responsiveness

Open Ayushdas1904 opened this issue 1 month ago • 3 comments

closes #857 Description:

  1. Implemented active-tab highlighting using useLocation/isActive.
  2. Added logout handling (handleAuth + redirect to /login).
  3. Adjusted CSS for collapsed sidebar — icons now stay centered.
  4. Introduced --sidemenu-width variable and synced it via useEffect on collapse/expand.
  5. Updated Main.jsx, Dashboard.jsx, and LearningRoadmap.jsx to shift with sidebar width.
  6. Centered LearningRoadmap content with a responsive, max-width layout.
  7. Added smooth transitions for width/margin changes.

https://github.com/user-attachments/assets/232439d0-7ef4-4ad8-8069-43aee6522d05

Ayushdas1904 avatar Oct 31 '25 07:10 Ayushdas1904

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...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

netlify[bot] avatar Oct 31 '25 07:10 netlify[bot]

Please resolve the conflicts

avinash201199 avatar Oct 31 '25 18:10 avinash201199

@avinash201199

Ayushdas1904 avatar Nov 02 '25 04:11 Ayushdas1904