feat(footer): CMS-editable company address (common.json footer.address)
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

'Budapest, Magyarország' lived hardcoded in site.ts. It now lives in
common.json (footer.address), editable via the Közös szövegek tab, and both
consumers (Footer, Kapcsolat page) read it from there — single source.
Schema and types extended; site.ts keeps only the email.

Closes MITHOME-73
This commit is contained in:
Do Siki
2026-08-19 16:53:16 +02:00
parent 9c7dc1d35e
commit 9365c0f1ee
6 changed files with 7 additions and 5 deletions
+1 -1
View File
@@ -274,7 +274,7 @@ export default function ContactPage() {
<div>
<h3 className="font-semibold text-gray-900 mb-1">{pageContent.info.company.title}</h3>
<p className="text-gray-700">{siteConfig.general.name}</p>
<p className="text-sm text-gray-600">{siteConfig.contact.address}</p>
<p className="text-sm text-gray-600">{content.common.footer.address}</p>
</div>
</div>
+1 -1
View File
@@ -57,7 +57,7 @@ export default function Footer() {
>
🏢
</span>
<span>{siteConfig.contact.address}</span>
<span>{content.common.footer.address}</span>
</div>
</div>
</div>
+1 -1
View File
@@ -41,7 +41,7 @@ export const siteConfig: SiteConfig = {
contact: {
email: process.env.NEXT_PUBLIC_CONTACT_EMAIL || 'info@mozdit.hu',
address: 'Budapest, Magyarország',
// address lives in content/common.json (footer.address) — CMS-editable
form: {
title: 'Kapcsolatfelvétel',
description: 'Legyen szíves érdeklődését vagy problémáját részletesen megfogalmazni.',
+2 -1
View File
@@ -18,6 +18,7 @@
"banner": "⚠ STAGING / TESZTKÖRNYEZET — A STAGING OLDALT LÁTOD"
},
"footer": {
"copyright": "© 2002{year} mozdIT Bt. Minden jog fenntartva."
"copyright": "© 2002{year} mozdIT Bt. Minden jog fenntartva.",
"address": "Budapest, Magyarország"
}
}
+1 -1
View File
@@ -15,7 +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 }),
footer: object({ copyright: string, address: string }),
}),
home: object({
hero: object({ title: string, subtitle: string, description: string, trustBullets: array(string), cta: object({ primary: ctaLink, secondary: ctaLink }) }),
+1
View File
@@ -195,6 +195,7 @@ export interface CommonContent {
}
footer: {
copyright: string
address: string
}
}