Skip to content

Add legal and cookie consent pages with style and fixes - #22

Merged
fabienmillet merged 6 commits into
mainfrom
develop
Jun 28, 2026
Merged

Add legal and cookie consent pages with style and fixes#22
fabienmillet merged 6 commits into
mainfrom
develop

Conversation

@fabienmillet

Copy link
Copy Markdown
Member

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:

  • Added new LegalPage and CookiesPage components 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]
  • Implemented a cookie consent banner as 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]
  • Updated translations to include legal and cookie policy content, and consent banner text (src/locales/en.json, src/locales/fr.json) [1] [2]

Footer and navigation improvements:

  • Extended the footer with a new "Legal" section containing links to the new pages and updated CSS for layout and link styling (src/components/Footer.jsx, src/components/Footer.css) [1] [2] [3]
  • Minor UI improvement: made .navbar-brand text unselectable and cursor-inherit (src/components/Navbar.css)

Internationalization and language toggle:

  • Improved language toggle logic in the navbar for better reliability and clarity (src/components/Navbar.jsx) [1] [2]
  • Ensured the app is wrapped with I18nextProvider for consistent i18n context (src/main.jsx)

Other improvements and fixes:

  • Updated the status of the "GetISO" project to "indev" (src/pages/ProjectsPage.jsx)
  • Fixed naming in tests (SEOSeo) and improved scroll event test reliability (src/tests/App.test.jsx) [1] [2] [3]

@fabienmillet
fabienmillet merged commit 92cb72e into main Jun 28, 2026
4 checks passed
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