fix: migrate all hardcoded eyebrow labels and text to CMS to fix locale bleeding

This commit is contained in:
MichalC
2026-09-02 22:46:27 +02:00
parent a24c239ae1
commit 6c87816d13
22 changed files with 427 additions and 44 deletions
+26
View File
@@ -27,6 +27,7 @@ const homeLayoutPl = [
},
{
blockType: 'trustBar',
eyebrow: 'Zaufanie',
items: [
{ text: 'Działam w ramach b.b.h.', icon: 'shield' },
{ text: 'Doradztwo 100% po polsku', icon: 'message' },
@@ -36,11 +37,14 @@ const homeLayoutPl = [
},
{
blockType: 'uniqueValue',
eyebrow: 'Wartość',
title: 'Rozliczenia bez bariery językowej',
features: [{ text: 'Bez barier językowych' }, { text: 'Indywidualne podejście' }],
description: 'Niemieckie prawo podatkowe bywa skomplikowane. Przeprowadzę Cię przez cały proces w Twoim ojczystym języku, dbając o maksymalny zwrot i zero stresu.',
},
{
blockType: 'stats',
eyebrow: 'Statistiken',
items: [
{
stat: '20+',
@@ -61,6 +65,7 @@ const homeLayoutPl = [
},
{
blockType: 'servicesList',
eyebrow: 'Usługi',
title: 'Czym się zajmuję',
services: [
{ title: 'Deklaracje podatkowe', description: 'Kompleksowe sporządzenie i złożenie zeznania rocznego (Einkommensteuererklärung).', linkText: 'Zobacz więcej' },
@@ -70,7 +75,9 @@ const homeLayoutPl = [
},
{
blockType: 'process',
eyebrow: 'Proces',
title: 'Jak to działa',
subtitle: 'Prosty i przejrzysty proces rozliczenia w 3 krokach — bez zbędnych formalności.',
steps: [
{ title: 'Napisz na WhatsApp', description: 'Wyślij krótką wiadomość lub zadzwoń, by rozpocząć proces.' },
{ title: 'Przekaż dokumenty', description: 'Prześlij nam wymagane dokumenty bezpiecznie online lub dostarcz osobiście.' },
@@ -80,6 +87,7 @@ const homeLayoutPl = [
},
{
blockType: 'affiliation',
eyebrow: 'Zaufanie',
title: 'Zaufanie i bezpieczeństwo',
description: 'Działam w ramach b.b.h. Lohnsteuerhilfeverein e.V. (Beratungsstelle). Oferujemy profesjonalną pomoc w sprawach podatku dochodowego w ramach uprawnień wynikających z §4 Nr. 11 StBerG.',
linkText: 'Poznaj stowarzyszenie',
@@ -95,6 +103,7 @@ const homeLayoutPl = [
},
{
blockType: 'faqTeaser',
eyebrow: 'FAQ',
title: 'Częste pytania',
questions: [
{ question: 'Czy muszę przyjeżdżać osobiście?', answer: 'Nie, wszystkie formalności możemy załatwić zdalnie, przesyłając dokumenty online.' },
@@ -104,6 +113,7 @@ const homeLayoutPl = [
},
{
blockType: 'finalCta',
eyebrow: 'Kontakt',
title: 'Gotowy na wyższy zwrot podatku?',
subtitle: 'Napisz do mnie już teraz. Odpowiem najszybciej jak to możliwe.',
buttonText: 'Rozpocznij na WhatsApp',
@@ -121,6 +131,7 @@ const homeLayoutDe = [
},
{
blockType: 'trustBar',
eyebrow: 'Zaufanie',
items: [
{ text: 'Teil der b.b.h.', icon: 'shield' },
{ text: '100% Beratung auf Polnisch', icon: 'message' },
@@ -130,11 +141,14 @@ const homeLayoutDe = [
},
{
blockType: 'uniqueValue',
eyebrow: 'Wert',
title: 'Steuererklärungen ohne Sprachbarriere',
features: [{ text: 'Ohne Sprachbarrieren' }, { text: 'Individueller Ansatz' }],
description: 'Das deutsche Steuerrecht kann kompliziert sein. Ich begleite Sie durch den gesamten Prozess in Ihrer Muttersprache, sorge für die maximale Erstattung und garantiere null Stress.',
},
{
blockType: 'stats',
eyebrow: 'Statistiken',
items: [
{
stat: '20+',
@@ -155,6 +169,7 @@ const homeLayoutDe = [
},
{
blockType: 'servicesList',
eyebrow: 'Leistungen',
title: 'Was ich anbiete',
services: [
{ title: 'Steuererklärungen', description: 'Umfassende Erstellung und Einreichung der jährlichen Einkommensteuererklärung.', linkText: 'Mehr anzeigen' },
@@ -164,7 +179,9 @@ const homeLayoutDe = [
},
{
blockType: 'process',
eyebrow: 'Prozess',
title: 'Wie es funktioniert',
subtitle: 'Ein einfacher und transparenter 3-Schritte-Abrechnungsprozess — ohne unnötige Formalitäten.',
steps: [
{ title: 'Auf WhatsApp schreiben', description: 'Senden Sie eine kurze Nachricht oder rufen Sie an, um den Prozess zu starten.' },
{ title: 'Dokumente einreichen', description: 'Senden Sie uns die erforderlichen Dokumente sicher online oder bringen Sie sie persönlich vorbei.' },
@@ -174,6 +191,7 @@ const homeLayoutDe = [
},
{
blockType: 'affiliation',
eyebrow: 'Vertrauen',
title: 'Vertrauen und Sicherheit',
description: 'Ich bin im Rahmen des b.b.h. Lohnsteuerhilfevereins e.V. (Beratungsstelle) tätig. Wir bieten professionelle Hilfe in Lohnsteuersachen im Rahmen der Befugnisse nach §4 Nr. 11 StBerG.',
linkText: 'Den Verein kennenlernen',
@@ -189,6 +207,7 @@ const homeLayoutDe = [
},
{
blockType: 'faqTeaser',
eyebrow: 'FAQ',
title: 'Häufige Fragen',
questions: [
{ question: 'Muss ich persönlich kommen?', answer: 'Nein, alle Formalitäten können online erledigt werden, indem Sie uns die Dokumente zusenden.' },
@@ -198,6 +217,7 @@ const homeLayoutDe = [
},
{
blockType: 'finalCta',
eyebrow: 'Kontakt',
title: 'Bereit für eine höhere Steuererstattung?',
subtitle: 'Schreiben Sie mir jetzt. Ich werde so schnell wie möglich antworten.',
buttonText: 'Auf WhatsApp starten',
@@ -212,6 +232,7 @@ const uslugiLayoutPl = [
},
{
blockType: 'servicesDetailed',
eyebrow: 'Usługi',
title: 'Czym się zajmuję',
subtitle: 'Zapewniam rzetelne i kompleksowe wsparcie na każdym etapie rozliczenia podatku dochodowego w Niemczech.',
services: [
@@ -254,6 +275,7 @@ const uslugiLayoutPl = [
},
{
blockType: 'eligibility',
eyebrow: 'Zakres uprawnień doradczych',
title: 'Dla kogo — zakres uprawnień doradczych wg §4 Nr. 11 StBerG',
subtitle: 'Jako punkt doradczy b.b.h. Lohnsteuerhilfeverein e.V. działamy ściśle w ramach ustawowych uprawnień dla stowarzyszeń pomocy podatkowej.',
eligibleTitle: 'Kto może skorzystać z naszej pomocy',
@@ -277,6 +299,7 @@ const uslugiLayoutPl = [
},
{
blockType: 'finalCta',
eyebrow: 'Kontakt',
title: 'Masz pytania dotyczące Twojego rozliczenia?',
subtitle: 'Skontaktuj się bezpośrednio przez WhatsApp. Przeanalizujemy Twoją sytuację i pomożemy uzyskać należny zwrot.',
buttonText: 'Napisz na WhatsApp',
@@ -291,6 +314,7 @@ const uslugiLayoutDe = [
},
{
blockType: 'servicesDetailed',
eyebrow: 'Leistungen',
title: 'Was ich anbiete',
subtitle: 'Umfassende und zuverlässige Betreuung bei allen Fragen rund um Ihre Einkommensteuererklärung.',
services: [
@@ -333,6 +357,7 @@ const uslugiLayoutDe = [
},
{
blockType: 'eligibility',
eyebrow: 'Umfang der Beratungsbefugnis',
title: 'Beratungsbefugnis gemäß § 4 Nr. 11 StBerG',
subtitle: 'Als Beratungsstelle des b.b.h. Lohnsteuerhilfevereins e.V. betreuen wir Sie streng im Rahmen der gesetzlichen Befugnisse.',
eligibleTitle: 'Wer von uns beraten werden darf',
@@ -356,6 +381,7 @@ const uslugiLayoutDe = [
},
{
blockType: 'finalCta',
eyebrow: 'Kontakt',
title: 'Haben Sie Fragen zu Ihrer Steuererklärung?',
subtitle: 'Kontaktieren Sie uns direkt per WhatsApp. Wir prüfen Ihre Situation und helfen Ihnen bei der Rückerstattung.',
buttonText: 'Auf WhatsApp schreiben',