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

Contact Us Page Implementation #452

Merged
merged 6 commits into from
Nov 5, 2024
Merged

Conversation

ShivanshPlays
Copy link
Contributor

Contact Us Page Implementation

Overview

This update introduces a fully responsive Contact Us page for Scruter, featuring a form where users can submit queries directly through the website. The feature is designed to improve user experience by allowing users to reach out for assistance or inquiries with ease. Additionally, the backend is configured to send these submissions directly to the Scruter admin via email.

Frontend Implementation

  • Developed a fully responsive frontend page with a Contact Us form.
  • The form includes input fields for:
    • Name
    • Email
    • Subject
    • Message
  • Utilized React components and Tailwind CSS for styling, ensuring a seamless user experience across desktop, tablet, and mobile devices.
  • Added a friendly message to let users know that Scruter’s team is available to address any queries.

Backend Functionality

  • Configured backend logic to handle form submissions and send emails to the Scruter admin.
  • The Nodemailer library is used for sending emails, and the email template includes:
    • The user’s name
    • Email address
    • Subject of the query
    • The message content entered by the user
  • Personalized the email content to indicate that the query was raised on Scruter, making it easier for admins to identify the source of the request.

Demo

A screen recording demonstrating the fully functional Contact Us feature is included. The video showcases:

  1. Filling out the form fields with sample data.
  2. Submitting the form and the frontend’s loading state.
  3. Confirmation of successful submission through a toast notification.
  4. The backend sending the email with the query details to the Scruter admin.

Summary

This feature improves user accessibility and provides Scruter with a streamlined way to handle inquiries, contributing to better customer service and efficient query management.

1.mp4

responsive

Screenshot 2024-11-05 031721

closes #364

Copy link

vercel bot commented Nov 4, 2024

@ShivanshPlays is attempting to deploy a commit to the Piyush's projects Team on Vercel.

A member of the Team first needs to authorize it.

@swarooppatilx swarooppatilx added gssoc-ext GirlScript Summer of Code Extended 2024 level3 GirlScript Summer of Code Level 3 Issue hacktoberfest-accepted Hacktoberfest labels Nov 5, 2024
Copy link
Owner

@swarooppatilx swarooppatilx left a comment

Choose a reason for hiding this comment

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

lgtm

@swarooppatilx swarooppatilx merged commit 22ec0cf into swarooppatilx:main Nov 5, 2024
2 of 4 checks passed
@swarooppatilx
Copy link
Owner

I'll delete the previous contact page and update the footer

@ShivanshPlays
Copy link
Contributor Author

@swarooppatilx I have this page is linked to the contact us button in the footer already. So no need to modify i guess

@swarooppatilx
Copy link
Owner

@swarooppatilx I have this page is linked to the contact us button in the footer already. So no need to modify i guess

Yep, I only changed the route to /contact
trying not to break anything

@ShivanshPlays
Copy link
Contributor Author

@swarooppatilx great, hope the functionality is working, tell me if an changes are needed

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
gssoc-ext GirlScript Summer of Code Extended 2024 hacktoberfest-accepted Hacktoberfest level3 GirlScript Summer of Code Level 3 Issue
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[Feat] Add contact us page with backend functionality
2 participants