feat: implement UX patterns inspired by Greenback (Hero slider, Stats block, numbered Process cards)

This commit is contained in:
MichalC
2026-09-01 23:21:36 +02:00
parent 66c62f8a31
commit 441ae8f272
8 changed files with 259 additions and 61 deletions
+29
View File
@@ -266,6 +266,19 @@ export interface Page {
blockName?: string | null;
blockType: 'hero';
}
| {
title?: string | null;
subtitle?: string | null;
items: {
stat: string;
label: string;
description?: string | null;
id?: string | null;
}[];
id?: string | null;
blockName?: string | null;
blockType: 'stats';
}
| {
items?:
| {
@@ -602,6 +615,22 @@ export interface PagesSelect<T extends boolean = true> {
id?: T;
blockName?: T;
};
stats?:
| T
| {
title?: T;
subtitle?: T;
items?:
| T
| {
stat?: T;
label?: T;
description?: T;
id?: T;
};
id?: T;
blockName?: T;
};
trustBar?:
| T
| {