Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[FEATURE] Enhance dropdown in navbar with improved styling and responsiveness #277

Closed
3 tasks done
Rohitswami16 opened this issue Jan 9, 2025 · 10 comments · Fixed by #278
Closed
3 tasks done

[FEATURE] Enhance dropdown in navbar with improved styling and responsiveness #277

Rohitswami16 opened this issue Jan 9, 2025 · 10 comments · Fixed by #278
Assignees
Labels
BEGINNER enhancement New feature or request SWOC Social Winter Of Code

Comments

@Rohitswami16
Copy link
Contributor

Problem Statement

Problem Statement:
The current dropdown menu in the navbar has a basic design and lacks user-friendly features such as smooth animations, responsive design, and visual indicators. These limitations result in a suboptimal user experience and a dated appearance.

##Description:
The dropdown menu in the navbar needs enhancements to improve its design, usability, and accessibility. The proposed improvements include:

Add Smooth Animations:

Implement CSS transitions to make the dropdown open and close gracefully.
Improve Responsiveness:

Ensure the dropdown adapts seamlessly to different screen sizes (desktop, tablet, mobile).
Icons or Indicators:

Add icons or visual markers to dropdown items for better navigation and clarity.
Hover/Click Trigger:

Allow users to open the dropdown via hover and click for convenience.
Accessibility Features:

Introduce ARIA roles and attributes to improve compatibility with screen readers and make navigation inclusive for all users.

Proposed Solution

Proposed Solution:
Update the CSS and JavaScript for the dropdown menu:

Add a transition property to handle smooth animations.
Use @media queries to optimize the design for smaller screens.
Include an icon library (e.g., FontAwesome) for menu item indicators.
Implement event listeners in JavaScript for hover and click toggling.
Add ARIA attributes such as role="menu" and aria-hidden to enhance accessibility.

Alternative Solutions

No response

Screenshots or Mockups

Screenshot 2025-01-10 005123

Priority

Medium

Contribution Guidelines

@Mujtabaa07
Copy link
Owner

@Rohitswami16 Assigned

@Rohitswami16
Copy link
Contributor Author

Hi @Mujtabaa07
I have already resolved this issue and submitted the pull request. Please check the PR #278

Thanks!

@Mujtabaa07
Copy link
Owner

Hi @Mujtabaa07 I have already resolved this issue and submitted the pull request. Please check the PR #278

Thanks!

Yes For Sure I'll check and merge it asap

@Mujtabaa07
Copy link
Owner

i'll say if any changes needed

@Mujtabaa07
Copy link
Owner

✅ This issue has been resolved in PR #278 by @Rohitswami16

5 similar comments
@Mujtabaa07
Copy link
Owner

✅ This issue has been resolved in PR #278 by @Rohitswami16

@Mujtabaa07
Copy link
Owner

✅ This issue has been resolved in PR #278 by @Rohitswami16

@Mujtabaa07
Copy link
Owner

✅ This issue has been resolved in PR #278 by @Rohitswami16

@Mujtabaa07
Copy link
Owner

✅ This issue has been resolved in PR #278 by @Rohitswami16

@Mujtabaa07
Copy link
Owner

✅ This issue has been resolved in PR #278 by @Rohitswami16

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
BEGINNER enhancement New feature or request SWOC Social Winter Of Code
Projects
None yet
2 participants