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 a page to sign up for an email newsletter #1

Open
jimbobbennett opened this issue Sep 13, 2024 · 2 comments
Open

Create a page to sign up for an email newsletter #1

jimbobbennett opened this issue Sep 13, 2024 · 2 comments

Comments

@jimbobbennett
Copy link
Collaborator

Our sci-fi store is not yet ready to open, so we need a way to notify potential new customers when sales are ready.

To do this, we need a signup form. This should ask the user for their details:

  • name
  • phone number
  • email

We can then store these in a database, so that we can contact them when the store is open.

This page needs to be added to the nav bar, just after the about page. It should be a simple web form that posts the users details to a new endpoint.

@jimbobbennett
Copy link
Collaborator Author

The endpoint to post to should be /subscribe_user, and we need to create this endpoint in the app.

@jimbobbennett
Copy link
Collaborator Author

jimbobbennett commented Sep 13, 2024

The page should have the same look and feel as the other pages, with a simple form in the center, using up 50% of the page width. This form should have introductory text at the top, the required fields, and a submit button.

The introductory text should read:

Thank you for your interest in Sci-Fi store. We can't wait to sell you the best Sci-Fi inspired
plushie toys in this or any other galaxy.

Please fill in this form so we can notify you as soon as we are open for business.

When the user clicks the submit button, a thank you message should appear.

@pieces-app pieces-app locked as too heated and limited conversation to collaborators Sep 27, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant