Skip to content

Issue#44 update user greeting#47

Merged
SuperGamer001 merged 3 commits intomasterfrom
Issue#44-Update-User-Greeting
Nov 17, 2025
Merged

Issue#44 update user greeting#47
SuperGamer001 merged 3 commits intomasterfrom
Issue#44-Update-User-Greeting

Conversation

@SuperGamer001
Copy link
Member

Closes #44

This pull request introduces a user dropdown menu to the navigation bar for signed-in users, providing a more interactive and organized way to access account-related actions. It also improves the visual styling of navigation buttons and ensures static assets are correctly served.

Navigation and UI enhancements:

  • Refactored the user section in _LoginPartial.cshtml to display a dropdown menu with options for "Settings," "My Games" (currently a placeholder), and "Logout," accessible via a clickable greeting. Added the nav-btn-borders class for improved button styling.
  • Added new CSS rules in site.css to style the user dropdown menu, greeting, and navigation buttons, including positioning, hover effects, and borders for a polished look.

Functionality improvements:

  • Implemented JavaScript in site.js to handle toggling and closing of the user dropdown menu when interacting with the greeting or clicking outside the menu.
  • Enabled serving of static files in Program.cs to ensure that site assets like JavaScript and CSS are properly loaded.

Updated `_LoginPartial.cshtml` to replace the "Manage" and "Logout" links with a dropdown menu under the user's greeting. Added a "My Games" option to the dropdown, which currently displays a placeholder alert.

Styled the dropdown menu in `site.css` to ensure proper positioning, visibility on hover, and user-friendly interactivity. Added hover effects and block-level alignment for dropdown items.

Improves UI/UX and prepares for future features like "My Games."
…r styleing to the buttons on the right hand side of the navbar.
Copy link
Contributor

@logprogrammer92 logprogrammer92 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks really good to me

@SuperGamer001 SuperGamer001 merged commit 6770766 into master Nov 17, 2025
1 check passed
@SuperGamer001 SuperGamer001 deleted the Issue#44-Update-User-Greeting branch December 5, 2025 16:22
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.

Update the user greeting.

2 participants