Skip to content

Conversation

@gunjanghate
Copy link

📝 Pull Request Description
This PR adds social sharing functionality across key user actions on RegenBazar to drive visibility and engagement on X (formerly Twitter). It also includes formatting and hydration-related fixes.

✨ Features Added
✅ TweetButton Component
Created a reusable TweetButton at:
src/components/TweetButton.tsx
→ Leverages Twitter Web Intent for sharing pre-written tweet content in one click.

📤 Integrated TweetButton on:
app/create-nonprofit-profile/page.tsx: after a nonprofit (Seller) lists a product
app/project/page.tsx: after a Buyer purchases a product
app/stake/page.tsx: after staking RWIP NFTs
app/stake/page.tsx: after earning staking rewards

🔗 All tweets link to: https://regenbazar.com/ to promote the platform (or whatever the actual domain will be)

🧹 Cleanup & Fixes
🧼 Ran npx prettier --write . across the project for consistent code formatting

🛠️ Fixed minor hydration mismatch warnings in dynamic pages like /stake

⚠️ Known Issue
While testing on Brave browser, I encountered an issue where the app prompts to "Install MetaMask" despite MetaMask already being installed.
This could be due to Brave's built-in Web3 wallet interfering with the MetaMask detection logic — needs further investigation.

image

@pratiksardar
Copy link
Member

Can you share some screenshot if possible a vercel link would be great

@gunjanghate
Copy link
Author

gunjanghate commented Jul 10, 2025

Hey @pratiksardar,
Here’s the Vercel link for the deployed version: [vercel-link]

I couldn’t test the on-chain functionality yet as I’m currently facing issues getting Base Sepolia ETH, the faucet requires a mainnet balance, which I don’t have at the moment.
Everything else is wired up, and I’ll share full screenshots as soon as I get test ETH. Let me know if you’d prefer I switch networks or if you can help with a faucet alternative.

Thanks!

image image

@gunjanghate
Copy link
Author

any update?

@pratiksardar
Copy link
Member

Sorry for delay reviewing this

Copy link
Member

@pratiksardar pratiksardar left a comment

Choose a reason for hiding this comment

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

LGTM

@gunjanghate
Copy link
Author

Thanks for the response! Glad to work on it! Can you tell me what the next process is?

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.

2 participants