form submission works + updated style, added copy mail for brand page#28
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This pull request significantly modernizes the contact and sponsors pages by improving their design, accessibility, and user experience. The contact forms are redesigned with a new look and integrated with Web3Forms for easier submission and success feedback. The sponsors pages now feature a copy-to-clipboard email button with animated alerts, making it more user-friendly for sponsorship inquiries. Several legacy styles and scripts are removed or replaced to support these improvements.
Contact page redesign and form improvements:
pages/contact.htmlanden/pages/contact.htmlare rebuilt with a new, visually appealing layout, using styled inputs, improved accessibility, and Web3Forms integration for handling submissions and displaying success messages. [1] [2]css/contact.css, and new form styles are added to match the updated design and enhance usability on all devices.js/contact.jsis replaced with a simpler script that shows a success banner after form submission.Sponsors page enhancements:
pages/sponsors.html,en/pages/sponsors.html) now include a copy-to-clipboard email button for sponsorship inquiries, with a visible alert container for feedback. [1] [2]js/sponsors.jsto provide animated feedback when the email address is copied, supporting both English and Norwegian.New styles for sponsors page features:
css/sponsors.csssupports the new button container and alert system, including slide-in/out animations for alerts and improved button styling.Other improvements:
js/sponsors.jsis clarified to ensure correct localization for sponsor carousel and alerts.These changes collectively provide a more modern, accessible, and user-friendly experience for users interacting with the contact and sponsors pages.