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
+4
View File
@@ -7,6 +7,7 @@
import ImageGalleryBlock from "./blocks/ImageGalleryBlock.svelte";
import YoutubeVideoBlock from "./blocks/YoutubeVideoBlock.svelte";
import QuoteBlock from "./blocks/QuoteBlock.svelte";
import QuoteCarouselBlock from "./blocks/QuoteCarouselBlock.svelte";
import LinkListBlock from "./blocks/LinkListBlock.svelte";
import PostOverviewBlock from "./blocks/PostOverviewBlock.svelte";
import SearchableTextBlock from "./blocks/SearchableTextBlock.svelte";
@@ -27,6 +28,7 @@
ImageGalleryBlockData,
YoutubeVideoBlockData,
QuoteBlockData,
QuoteCarouselBlockData,
LinkListBlockData,
PostOverviewBlockData,
SearchableTextBlockData,
@@ -112,6 +114,8 @@
<YoutubeVideoBlock block={item as YoutubeVideoBlockData} />
{:else if blockType(item) === "quote"}
<QuoteBlock block={item as QuoteBlockData} />
{:else if blockType(item) === "quote_carousel"}
<QuoteCarouselBlock block={item as QuoteCarouselBlockData} />
{:else if blockType(item) === "link_list"}
<LinkListBlock block={item as LinkListBlockData} />
{:else if blockType(item) === "post_overview"}