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

Create the Landing Page and Routing to "/send" #3

Open
adisuyash opened this issue Oct 6, 2024 · 2 comments
Open

Create the Landing Page and Routing to "/send" #3

adisuyash opened this issue Oct 6, 2024 · 2 comments
Assignees
Labels
enhancement New feature or request good first issue Good for newcomers hacktoberfest help wanted Extra attention is needed

Comments

@adisuyash
Copy link
Owner

Description

We need to enhance the user experience by implementing a dedicated landing page that allows users to connect their MetaMask wallet and then route them to a new /send page after a successful connection.

Tasks:

1. Landing Page:

  • Create a landing page or homepage / that includes:
    • A button to connect the MetaMask wallet (only MetaMask, no other wallet).
    • After the wallet is connected, change the button text to Send Coffee to Adi.
    • Optionally, display the connected wallet address in a user-friendly manner.

2. Routing:

  • Add routing logic so that when the Send Coffee to Adi button is clicked, the user is redirected to the /send page.

3. MetaMask Integration:

  • Ensure that only MetaMask can be used to connect.
  • Handle wallet connection events and states, such as when the user connects or disconnects their wallet.

Expected Outcome:

  • When the user first visits the site, they see the landing page with a "Connect Wallet" button.
  • After connecting MetaMask, the button changes to "Send Coffee to Adi".
  • Clicking the button routes the user to the /send page.

Please Note:

  • Make the landing page visually appealing and simple. Contributions to the design and layout are welcome!
  • For any queries or clarifications, use the #general channel in the Tech Bastic Discord server and tag @adisuyash for assistance.
  • Feel free to ping me if you need any support! I'm always there to help you 👀
@adisuyash adisuyash added enhancement New feature or request help wanted Extra attention is needed good first issue Good for newcomers hacktoberfest labels Oct 6, 2024
@PALLAVIKHEDLE
Copy link

Can you pls assign it to me?

@adisuyash
Copy link
Owner Author

Assigned to you @PALLAVIKHEDLE. Feel free to update your progress here :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers hacktoberfest help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants