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

Refactor cards, styling changes, and page blocking #32

Merged
merged 9 commits into from
Sep 3, 2024
Merged

Conversation

YB-BigSwan
Copy link
Collaborator

  • Adds two new reusable components, HorizontalCard and VerticalCard.
  • Removes lots of duplicate styling and moves them to globals.css.
  • Updates styles to match the designs made by Saga.

…moves lots of duplicate styling and moves them to globals.css. Updates styles to match the designs make by Saga.
Copy link

github-actions bot commented Aug 30, 2024

Visit the preview URL for this PR (updated for commit 26f2923):

https://satakuntalainenosakunta--pr32-next-site-frg8e3b8.web.app

(expires Mon, 09 Sep 2024 15:06:01 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

Sign: 1ec35f964edce5d08911a93688b4dc7a051b997f

@YB-BigSwan
Copy link
Collaborator Author

May need to update some of the card prop types in the future to work with the CMS WYSIWYG editor. At the moment they are all strings.

…g so this hasn't been showing on my gh profile...
…cts from the new CMS collection 'Contact'. Updates cmsClient to add typing for CMS 'Contact'.
- Adds formik and yup to project
- Adds harassment form page and component
- Made some spelling corrections in placeholder text
- Moves proceedings from official documents page to archive page'
@YB-BigSwan
Copy link
Collaborator Author

Will continue working on the harassment and board contact forms tomorrow.

- Updates form component to have honeypots for bots
- Updates validationSchema logic to fix bug where name and email were still required when wantsAnswer not selected
- Adds logic to post to google form and give snackbar status messages on submit/submit attempts
- Disables sumbit button and changes text to 'Sending' while form is sending to provide user with feedback and prevent duplicate messages.
@YB-BigSwan YB-BigSwan merged commit 0c1e799 into main Sep 3, 2024
2 checks passed
@YB-BigSwan YB-BigSwan deleted the next-site branch September 3, 2024 12:42
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.

1 participant