Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Update Next 13 & DSFR Integration (#1388)
Integration of https://github.com/dataesr/react-dsfr for header and footer ⬆️ Update NextJS 12 => 13 (React 18) ➕ Install dsfr for React Numerous dependencies upgrades 💄 Change global font for Marianne 🐛 Prevent NPE when themes are not loaded ✨ Creation of the header in DSFR format ✨ Creation of the footer in DSFR format ✨ Creation of the backend header in DSFR format 🌍 Add translations 🧪 Update tests Impacts : Image import => using legacy mode Linter : most of modified files are linted by prettier reacti18n : rewrites to Typescript => typings adapations links : use legacyBehavior on every pre-existing <Link> (to be processed later) SubscribeNewsletterModal rewrites to use redux for is state (show / hide) ---- * feat: ⬆️ Upgrade Next feat: ⬆️ Upgrade to Next 12.2 Modify i18n configuration : i18next/next-i18next#1920 / https://github.com/i18next/next-i18next#passing-other-config-options Rename middleware file : https://nextjs.org/docs/messages/middleware-upgrade-guide#how-to-upgrade fix: 🐛 Fix typing bug => src take only string input chore: ⬆️ Upgrade i18next version 22 wip refactor: ⬆️ Run next-image-to-legacy-image codemod fix: 🐛 Fix middleware.ts folder fix: ♻️ Fix TS linter error with react-i18next mainly chore: ⬆️ Upgrade some dependencies chore: ⬆️ Upgrades dependencies fix: ♻️ TS types fixes chore: ⬆️ Upgrades dependencies fix: ✅ 🚀 * chore: ➕ Install dsfr for React * feat: 💄 Change global font for Marianne * fix: 🐛 Prevent NPE when themes are not loaded * feat: ✨ Creation of the header in DSFR format * feat: ✨ Creation of the Footer & Backend Header in DSFR format Many other adjustment after technical upgrades and UI updates * fix: 🚸 The translation menu is visible even if the screen is small * fix: 💄 Fix footer copyright label size
- Loading branch information