feat(ui): add Team block to about pages and fix Affiliation link

This commit is contained in:
MichalC
2026-09-03 23:29:14 +02:00
parent fa13a3e13d
commit 2964cf66c5
7 changed files with 146 additions and 5 deletions
+33
View File
@@ -246,6 +246,21 @@ export interface Page {
blockName?: string | null;
blockType: 'bio';
}
| {
members?:
| {
name: string;
role: string;
description?: string | null;
photo?: (number | null) | Media;
bookingUrl?: string | null;
id?: string | null;
}[]
| null;
id?: string | null;
blockName?: string | null;
blockType: 'team';
}
| {
title: string;
subtitle?: string | null;
@@ -385,6 +400,7 @@ export interface Page {
}[]
| null;
linkText?: string | null;
linkUrl?: string | null;
id?: string | null;
blockName?: string | null;
blockType: 'affiliation';
@@ -653,6 +669,22 @@ export interface PagesSelect<T extends boolean = true> {
id?: T;
blockName?: T;
};
team?:
| T
| {
members?:
| T
| {
name?: T;
role?: T;
description?: T;
photo?: T;
bookingUrl?: T;
id?: T;
};
id?: T;
blockName?: T;
};
servicesDetailed?:
| T
| {
@@ -814,6 +846,7 @@ export interface PagesSelect<T extends boolean = true> {
id?: T;
};
linkText?: T;
linkUrl?: T;
id?: T;
blockName?: T;
};