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: Add wallet connection message to LoginPage #85

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

Conversation

ParagGhatage
Copy link
Contributor

Description

This PR enhances the LoginPage component by adding a message prompting users to connect their wallet to access the election dashboard. It also improves the design by introducing a structured layout and responsive alignment using Tailwind CSS.


Changes Made

  1. Added a Wallet Connection Message:

    • Introduced a title and subtitle prompting users to connect their wallet for accessing the election dashboard.
  2. Refactored Layout:

    • Replaced the existing div structure with a flexbox-based layout for proper alignment and responsiveness.
    • Centered content to provide a better user experience.
  3. Improved Styling:

    • Retained the background image of AossieImg with proper styling.
    • Used Tailwind CSS utilities for consistent spacing, centering, and typography.

Before vs After


Screenshots

Before:
(Only background image)
Screenshot 2025-01-07 050348

After:

  • A centered login page with the wallet connection prompt.

Screenshot 2025-01-07 051409


Testing

  • Verified that the wallet connection message renders correctly.
  • Ensured responsive design across different screen sizes.

- Added a message prompting users to connect their wallet to access the election dashboard.
- Refactored the layout to include a flexbox container for proper alignment of the content.
- Ensured responsive and clean design with Tailwind CSS.
@ParagGhatage
Copy link
Contributor Author

ParagGhatage commented Jan 7, 2025

Hey @Ronnieraj37 ,
Please review these changes in LoginPage component and let me know if any changes need to be done in PR.

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.

1 participant