Hero uit het CMS met ingebakken terugval: markers CMS:HERO-HTML, CMS:HERO-PRELOAD en CMS:DATA, hero-teksten naar nl.json, lint ook op Hero, tests en docs

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-16 16:48:56 +01:00
co-authored by Claude Sonnet 5.5
parent 72dd381cf9
commit 27c5ecb80f
16 changed files with 400 additions and 62 deletions
+2 -5
View File
@@ -26,13 +26,10 @@ export default tseslint.config(
},
{
// Texts of the site live in the language files (src/i18n), not in the JSX. A warning for now while
// the components are moved over. Left out: the Hero (becomes a CMS module), tests and the privacy
// statement (its own feature).
// the components are moved over. Left out: tests and the privacy statement (its own feature). The Hero is
// checked too: its texts come from the CMS or from the language file (home.hero).
files: ['src/**/*.tsx'],
ignores: [
'**/Hero.tsx',
'**/Hero/**',
'**/hero/**',
'**/*.test.tsx',
'**/__tests__/**',
'src/test/**',