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

feat(home): Added hover effect to Discord button (#1825) #1831

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

Devanshusharma2005
Copy link

What does this PR do?

This PR adds a hover effect to the Discord button in the home page, implementing a smooth background color transition from gray to dark blue when users hover over the button. This enhancement improves the button's interactivity and visual feedback for users.

Closes #1825

Type of change

  • New feature (non-breaking change which adds functionality)

How should this be tested?

  • Navigate to the home page
  • Hover over the "Join Discord Server" button to verify the background color smoothly transitions to dark blue
  • Test on both desktop and mobile viewports to ensure consistent behavior
  • Verify that the existing gradient animation around the button remains functional
  • Check that the transition is smooth and takes 200ms (using the existing duration-200 class)

Mandatory Tasks

  • Make sure you have self-reviewed the code. A decent size PR without self-review might be rejected.

Changes Made

  1. Added hover:bg-blue-900 class to Discord button components
  2. Verified consistency across mobile and desktop views
  3. Maintained existing animation and transition effects

Checklist

Screenshots/Videos

Recording.2025-01-31.173645.mp4

Copy link

vercel bot commented Jan 31, 2025

@Devanshusharma2005 is attempting to deploy a commit to the Piyush Garg'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.

[Feature] You can add a background color change while hovering on Join Discord button in home page
1 participant