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
@@ -292,13 +292,21 @@ export interface Page {
blockType: 'trustBar';
}
| {
eyebrow?: string | null;
title: string;
description: string;
features?:
| {
text: string;
id?: string | null;
}[]
| null;
id?: string | null;
blockName?: string | null;
blockType: 'uniqueValue';
}
| {
eyebrow?: string | null;
title: string;
services?:
| {
@@ -313,7 +321,9 @@ export interface Page {
blockType: 'servicesList';
}
| {
eyebrow?: string | null;
title: string;
subtitle?: string | null;
steps?:
| {
title: string;
@@ -327,6 +337,7 @@ export interface Page {
blockType: 'process';
}
| {
eyebrow?: string | null;
title: string;
description: string;
logo?: (number | null) | Media;
@@ -349,6 +360,7 @@ export interface Page {
blockType: 'testimonials';
}
| {
eyebrow?: string | null;
title: string;
questions?:
| {
@@ -363,6 +375,7 @@ export interface Page {
blockType: 'faqTeaser';
}
| {
eyebrow?: string | null;
title: string;
subtitle?: string | null;
buttonText: string;
@@ -647,14 +660,22 @@ export interface PagesSelect<T extends boolean = true> {
uniqueValue?:
| T
| {
eyebrow?: T;
title?: T;
description?: T;
features?:
| T
| {
text?: T;
id?: T;
};
id?: T;
blockName?: T;
};
servicesList?:
| T
| {
eyebrow?: T;
title?: T;
services?:
| T
@@ -670,7 +691,9 @@ export interface PagesSelect<T extends boolean = true> {
process?:
| T
| {
eyebrow?: T;
title?: T;
subtitle?: T;
steps?:
| T
| {
@@ -685,6 +708,7 @@ export interface PagesSelect<T extends boolean = true> {
affiliation?:
| T
| {
eyebrow?: T;
title?: T;
description?: T;
logo?: T;
@@ -709,6 +733,7 @@ export interface PagesSelect<T extends boolean = true> {
faqTeaser?:
| T
| {
eyebrow?: T;
title?: T;
questions?:
| T
@@ -724,6 +749,7 @@ export interface PagesSelect<T extends boolean = true> {
finalCta?:
| T
| {
eyebrow?: T;
title?: T;
subtitle?: T;
buttonText?: T;