-
Notifications
You must be signed in to change notification settings - Fork 1
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
Conversation
YB-BigSwan
commented
Aug 30, 2024
- 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.
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 |
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'.
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.