Add legal and cookie consent pages with style and fixes - #22
Merged
Conversation
Add legal and cookie consent pages with style and i18n updates
Fix invisible content on legal and cookie pages due to CSS variables
fix: rename cookie classes to bypass adblockers and fix mojibake
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 adds legal compliance and cookie management features to the site, improves footer navigation, and enhances language toggle logic. It introduces new Legal and Cookie Policy pages, a cookie consent banner, and updates the footer to link to these pages. There are also minor UI and test improvements.
Legal compliance and cookie management:
LegalPageandCookiesPagecomponents with corresponding routes, content, and styles for legal notices and cookie policy (src/pages/LegalPage.jsx,src/pages/LegalPage.css,src/pages/CookiesPage.jsx,src/pages/CookiesPage.css,src/App.jsx) [1] [2] [3] [4] [5] [6]SiteNotice, with localStorage-based consent tracking and links to the cookie policy (src/components/SiteNotice.jsx,src/components/SiteNotice.css,src/App.jsx) [1] [2] [3] [4]src/locales/en.json,src/locales/fr.json) [1] [2]Footer and navigation improvements:
src/components/Footer.jsx,src/components/Footer.css) [1] [2] [3].navbar-brandtext unselectable and cursor-inherit (src/components/Navbar.css)Internationalization and language toggle:
src/components/Navbar.jsx) [1] [2]I18nextProviderfor consistent i18n context (src/main.jsx)Other improvements and fixes:
src/pages/ProjectsPage.jsx)SEO→Seo) and improved scroll event test reliability (src/tests/App.test.jsx) [1] [2] [3]