Skip to content

fix: make role selector navigation circular on landing page#129

Open
Nandini-1811 wants to merge 1 commit into
arshchouhan:mainfrom
Nandini-1811:fix/circular-role-selector-navigation
Open

fix: make role selector navigation circular on landing page#129
Nandini-1811 wants to merge 1 commit into
arshchouhan:mainfrom
Nandini-1811:fix/circular-role-selector-navigation

Conversation

@Nandini-1811
Copy link
Copy Markdown

Summary

Fixes #123

Changes Made

Updated the onClick handlers for the left and right arrow buttons
in the role selector section of LandingPage.jsx to implement
circular navigation.

Before

  • Left arrow only navigated to Student (dead end)
  • Right arrow only navigated to Mentor (dead end)

After

  • Left arrow on Student wraps to Mentor
  • Right arrow on Mentor wraps to Student
  • Navigation is now fully circular

Type of Change

  • Bug fix

Screenshots

Screen.Recording.2026-05-21.192326.mp4

@vercel
Copy link
Copy Markdown

vercel Bot commented May 21, 2026

@Nandini-1811 is attempting to deploy a commit to the Arsh Chauhan's projects Team on Vercel.

A member of the Team first needs to authorize it.

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.

[Bug]: Role selector navigation (Mentor/Student) is not circular — arrows stop at endpoints

1 participant