feat(footer): CMS-editable copyright with 2002–current year range
CI Pipeline with Test Management / 🧪 Run Tests & Generate Reports (push) Waiting to run
CI Pipeline with Test Management / 🐳 Docker Integration Tests (push) Blocked by required conditions
CI Pipeline with Test Management / 🏗️ Build Docker Image (push) Blocked by required conditions
CI Pipeline with Test Management / 📊 Generate Test Summary (push) Blocked by required conditions
Test Reporting & Gherkin Analysis / 🧪 Run Tests & Generate Reports (push) Waiting to run
Test Reporting & Gherkin Analysis / 📊 Analyze Test Coverage (push) Blocked by required conditions
Test Reporting & Gherkin Analysis / 🔄 Sync with Linear (push) Blocked by required conditions
Test Reporting & Gherkin Analysis / ⚡ Performance Monitoring (push) Blocked by required conditions

The copyright text lived in site.ts with a build-time year and was not
CMS-editable. It now lives in common.json (footer.copyright, editable via
the Közös szövegek tab) with a {year} placeholder that resolves to the
current year at render: '© 2002–{year} mozdIT Bt. Minden jog fenntartva.'
Schema and types extended; site.ts keeps only the footer links.

Closes MITHOME-66
This commit is contained in:
Do Siki
2026-08-19 12:44:48 +02:00
parent 03615d5959
commit fe4a6a1e92
6 changed files with 13 additions and 5 deletions
+3
View File
@@ -16,5 +16,8 @@
},
"staging": {
"banner": "⚠ STAGING / TESZTKÖRNYEZET — A STAGING OLDALT LÁTOD"
},
"footer": {
"copyright": "© 2002{year} mozdIT Bt. Minden jog fenntartva."
}
}
+1
View File
@@ -15,6 +15,7 @@ const schemas = {
labels: object({ required: string, features: string }),
validation: object({ required: string, invalidEmail: string, minLength: string }),
staging: object({ banner: string }),
footer: object({ copyright: string }),
}),
home: object({
hero: object({ title: string, subtitle: string, description: string, trustBullets: array(string), cta: object({ primary: ctaLink, secondary: ctaLink }) }),
+3
View File
@@ -193,6 +193,9 @@ export interface CommonContent {
staging: {
banner: string
}
footer: {
copyright: string
}
}
export interface LegalPageContent {