fix: localize Pages layout and implement /uslugi subpage blocks
This commit is contained in:
@@ -213,6 +213,46 @@ export interface Page {
|
||||
slug: string;
|
||||
layout?:
|
||||
| (
|
||||
| {
|
||||
title: string;
|
||||
subtitle?: string | null;
|
||||
id?: string | null;
|
||||
blockName?: string | null;
|
||||
blockType: 'pageHeader';
|
||||
}
|
||||
| {
|
||||
title: string;
|
||||
subtitle?: string | null;
|
||||
services: {
|
||||
title: string;
|
||||
description: string;
|
||||
icon?: ('fileText' | 'calculator' | 'shieldCheck' | 'scale' | 'helpCircle' | 'users' | 'coins') | null;
|
||||
id?: string | null;
|
||||
}[];
|
||||
id?: string | null;
|
||||
blockName?: string | null;
|
||||
blockType: 'servicesDetailed';
|
||||
}
|
||||
| {
|
||||
title: string;
|
||||
subtitle?: string | null;
|
||||
eligibleTitle: string;
|
||||
eligibleItems: {
|
||||
text: string;
|
||||
id?: string | null;
|
||||
}[];
|
||||
limitationsTitle: string;
|
||||
limitationsText: string;
|
||||
excludedTitle: string;
|
||||
excludedItems: {
|
||||
text: string;
|
||||
id?: string | null;
|
||||
}[];
|
||||
legalNotice?: string | null;
|
||||
id?: string | null;
|
||||
blockName?: string | null;
|
||||
blockType: 'eligibility';
|
||||
}
|
||||
| {
|
||||
title: string;
|
||||
subtitle: string;
|
||||
@@ -497,6 +537,55 @@ export interface PagesSelect<T extends boolean = true> {
|
||||
layout?:
|
||||
| T
|
||||
| {
|
||||
pageHeader?:
|
||||
| T
|
||||
| {
|
||||
title?: T;
|
||||
subtitle?: T;
|
||||
id?: T;
|
||||
blockName?: T;
|
||||
};
|
||||
servicesDetailed?:
|
||||
| T
|
||||
| {
|
||||
title?: T;
|
||||
subtitle?: T;
|
||||
services?:
|
||||
| T
|
||||
| {
|
||||
title?: T;
|
||||
description?: T;
|
||||
icon?: T;
|
||||
id?: T;
|
||||
};
|
||||
id?: T;
|
||||
blockName?: T;
|
||||
};
|
||||
eligibility?:
|
||||
| T
|
||||
| {
|
||||
title?: T;
|
||||
subtitle?: T;
|
||||
eligibleTitle?: T;
|
||||
eligibleItems?:
|
||||
| T
|
||||
| {
|
||||
text?: T;
|
||||
id?: T;
|
||||
};
|
||||
limitationsTitle?: T;
|
||||
limitationsText?: T;
|
||||
excludedTitle?: T;
|
||||
excludedItems?:
|
||||
| T
|
||||
| {
|
||||
text?: T;
|
||||
id?: T;
|
||||
};
|
||||
legalNotice?: T;
|
||||
id?: T;
|
||||
blockName?: T;
|
||||
};
|
||||
hero?:
|
||||
| T
|
||||
| {
|
||||
@@ -723,6 +812,12 @@ export interface Footer {
|
||||
logo?: (number | null) | Media;
|
||||
link?: string | null;
|
||||
};
|
||||
copyright: string;
|
||||
creator: {
|
||||
label?: string | null;
|
||||
name: string;
|
||||
url: string;
|
||||
};
|
||||
updatedAt?: string | null;
|
||||
createdAt?: string | null;
|
||||
}
|
||||
@@ -942,6 +1037,14 @@ export interface FooterSelect<T extends boolean = true> {
|
||||
logo?: T;
|
||||
link?: T;
|
||||
};
|
||||
copyright?: T;
|
||||
creator?:
|
||||
| T
|
||||
| {
|
||||
label?: T;
|
||||
name?: T;
|
||||
url?: T;
|
||||
};
|
||||
updatedAt?: T;
|
||||
createdAt?: T;
|
||||
globalType?: T;
|
||||
|
||||
Reference in New Issue
Block a user