Skip to content

Conversation

akofficial10
Copy link
Contributor

Fixes #533

What’s New

  • Added a toast notification to the newsletter subscription form in the footer.
  • Toast displays a success message (Successfully Subscribed!) when a user subscribes.
  • Auto-hides after 3 seconds, with manual close option.
  • Ensured toast styling is consistent with the design (solid white background, subtle shadow, green accent).

Why

Improves UX by giving users immediate feedback on successful newsletter subscription.

Changes

  • Updated FooterLayout.tsx to handle toast state (showToast).
  • Integrated toast rendering directly in the newsletter section.
  • Added new CSS styles (.newsletter-toast, .toast-content, etc.) for proper positioning and styling.

Testing

  • Subscribed via footer form → toast appears ✅
  • Toast disappears automatically after 3s ✅
  • Close button hides toast instantly ✅
  • Works across mobile and desktop ✅

Screenshot

Screenshot 2025-09-19 141220

Copy link

vercel bot commented Sep 19, 2025

@akofficial10 is attempting to deploy a commit to the recode Team on Vercel.

A member of the Team first needs to authorize it.

Copy link

Thank you for submitting your pull request! 🙌 We'll review it as soon as possible. The estimated time for response is 5–8 hrs.

In the meantime, please provide all necessary screenshots and make sure you run - npm build run , command and provide a screenshot, a video recording, or an image of the update you made below, which helps speed up the review and assignment. If you have questions, reach out to LinkedIn. Your contributions are highly appreciated!😊

Note: I maintain the repo issue every day twice at 8:00 AM IST and 9:00 PM IST. If your PR goes stale for more than one day, you can tag and comment on this same issue by tagging @sanjay-kv.

We are here to help you on this journey of open source. Consistent 20 contributions are eligible for sponsorship 💰

🎁 check our list of amazing people we sponsored so far: GitHub Sponsorship. ✨

📚Your perks for contribution to this community 👇🏻

  1. Get free Consultation use code recode50 to get free: Mentorship for free.

  2. Get the Ebook for free use code recode at checkout: Data Science cheatsheet for Beginners.

  3. Check out this weekly Newsletter: Sanjay's Newsletter.

If there are any specific instructions or feedback regarding your PR, we'll provide them here. Thanks again for your contribution! 😊

Copy link

vercel bot commented Sep 19, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
recode-website Ready Ready Preview Comment Sep 19, 2025 0:41am

@sanjay-kv
Copy link
Member

https://www.loom.com/share/f434f93afa734cbe9600c53c29f0c926?sid=170da12e-e4ba-4182-b1f9-873756771af0

@akofficial10 i love the work . can you check the above requirement if yes u can open a new issue.

after completing 15 Pull request i will do sponosor as well.

@sanjay-kv sanjay-kv merged commit ec7be1c into recodehive:main Sep 19, 2025
4 checks passed
@github-project-automation github-project-automation bot moved this from In Progress to Done in @recode-web Sep 19, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

💡[Feature]: Add toast in the Newsletter for the better UX

2 participants