feat(quote-carousel): add QuoteCarouselBlock component and related types
Deploy / verify (push) Successful in 41s
Deploy / deploy (push) Successful in 1m1s

- Introduced a new QuoteCarouselBlock component for displaying rotating quotes.
- Added QuoteCarouselBlockData interface to define the structure of the quote carousel data.
- Updated existing components and types to integrate the new quote carousel functionality.
- Enhanced blog-utils to support filtering posts by tags more effectively.
- Made various UI improvements in the Footer and PostCard components for better user experience.
This commit is contained in:
Peter Meier
2026-04-18 13:19:59 +02:00
parent 3949df31bb
commit 597b920e7c
8 changed files with 285 additions and 52 deletions
+19
View File
@@ -140,6 +140,25 @@ export interface QuoteBlockData {
layout?: BlockLayout;
}
/** Zitat-Karussell (_type: "quote_carousel"). Rotiert durch aufgelöste quote-Einträge. */
export interface QuoteCarouselBlockData {
_type?: "quote_carousel";
_slug?: string;
headline?: string;
quotes?: Array<
| string
| {
_slug?: string;
quote?: string;
author?: string;
variant?: "left" | "right";
}
>;
autoRotate?: boolean;
intervalSeconds?: number;
layout?: BlockLayout;
}
/** Link-Liste (_type: "link_list"). links können Slugs oder aufgelöste link-Objekte sein. */
export interface LinkListBlockData {
_type?: "link_list";