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

Feature/arnav jacob/page footer #15

Merged
merged 31 commits into from
Feb 13, 2024
Merged

Conversation

jackavh
Copy link
Contributor

@jackavh jackavh commented Feb 2, 2024

Tracking Info

Resolves #4

Changes

Frontend

  • Created the footer and added styling based on figma to files footer.tsx and Footer.module.css
  • Linked to the backend API to provide feedback on newsletter submission: invalid email / duplicate email

Backend

  • Created a schema for subscribers in the mongoDB table
  • Wrote validation chain that normalizes and validates submitted email addresses
  • Performs check to identify duplicate email submissions

Testing

  • Checked that the design of the frontend matches the backend
  • Checked that MongoDB was getting updated with email addresses (for the newsletter)
  • Ran a series of test emails invalid and duplicate to make sure that validation works

Confirmation of Change

Screenshot 2024-01-30 at 4 39 21 PM

Screenshot 2024-01-30 at 4 39 36 PM

Screenshot 2024-01-30 at 4 39 52 PM

Screenshot 2024-01-30 at 4 40 08 PM

@jackavh jackavh marked this pull request as ready for review February 2, 2024 07:57
Copy link
Collaborator

@jennymar jennymar left a comment

Choose a reason for hiding this comment

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

LGTM! I pushed some code for adding add the Footer component to layout.tsx which will apply automatically the footer to every page inside the app directory, as well as moved some fonts over to globals.css so they can be reused. Great work!

frontend/src/components/footer.tsx Outdated Show resolved Hide resolved
Copy link
Contributor

@kevindo0720 kevindo0720 left a comment

Choose a reason for hiding this comment

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

Looks good to me

@jackavh jackavh merged commit f5e0fc3 into main Feb 13, 2024
2 checks passed
@jackavh jackavh deleted the feature/arnav-jacob/page-footer branch February 13, 2024 20:31
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.

Page Footer
4 participants