Enhance component functionality and styling across the project
Deploy to Firebase Hosting / deploy (push) Failing after 1m46s

- Updated .gitignore to include raw image files for better asset management.
- Added optional icon and color properties to Tag and TagItem interfaces for improved tag customization.
- Enhanced BlogOverview and PostCard components to support new tag features, including icon and color display.
- Refined Card component to accept target and rel attributes for better link handling.
- Improved layout responsiveness in ContentRows and PostCard components.
- Updated OrganisationsBlock to include a new CTA link feature for adding organizations.
- Enhanced QuoteBlock styling for better visual emphasis on quotes.
- Refactored image handling in various components to ensure consistent display and performance.
- Introduced utility functions for resolving body content and filtering hidden posts in blog utilities.
This commit is contained in:
Peter Meier
2026-04-09 14:39:43 +02:00
parent f5f6beeabe
commit 5b1648bf82
20 changed files with 440 additions and 131 deletions
+32 -2
View File
@@ -4300,7 +4300,9 @@ export interface components {
organisations: {
/** @description Entry identifier (filename) */
readonly _slug?: string;
/** @description Optional markdown content shown above the organisation list */
/** @description Optional CTA link in the dashed card (label from link.linkName) */
addOrganisationLink?: string;
/** @description Optional markdown body for the dashed CTA card (no link here; use addOrganisationLink) */
addOrganisationMarkdown?: string;
/** @description Optional section title shown above the organisation list */
addOrganisationTitle?: string;
@@ -4322,7 +4324,9 @@ export interface components {
organisations_input: {
/** @description URL slug (used as filename) */
_slug: string;
/** @description Optional markdown content shown above the organisation list */
/** @description Optional CTA link in the dashed card (label from link.linkName) */
addOrganisationLink?: string;
/** @description Optional markdown body for the dashed CTA card (no link here; use addOrganisationLink) */
addOrganisationMarkdown?: string;
/** @description Optional section title shown above the organisation list */
addOrganisationTitle?: string;
@@ -4547,6 +4551,11 @@ export interface components {
excerpt?: string;
/** @description Post headline */
headline: string;
/**
* @description Hide this post from all listing pages (still accessible via direct URL)
* @default false
*/
hideFromListing: boolean;
/** @description Optional icon identifier */
icon?: string;
/**
@@ -4639,6 +4648,11 @@ export interface components {
excerpt?: string;
/** @description Post headline */
headline: string;
/**
* @description Hide this post from all listing pages (still accessible via direct URL)
* @default false
*/
hideFromListing: boolean;
/** @description Optional icon identifier */
icon?: string;
/**
@@ -5193,12 +5207,20 @@ export interface components {
tag: {
/** @description Entry identifier (filename) */
readonly _slug?: string;
/** @description Optional pill color (CSS, e.g. #2d5a27 or rgb()). Admin: color picker + text field. */
color?: string;
/** @description Optional Iconify icon id (e.g. mdi:map-marker, same as link.icon). */
icon?: string;
/** @description Tag name (e.g. politik, termin). Must be unique. */
name: string;
};
tag_input: {
/** @description URL slug (used as filename) */
_slug: string;
/** @description Optional pill color (CSS, e.g. #2d5a27 or rgb()). Admin: color picker + text field. */
color?: string;
/** @description Optional Iconify icon id (e.g. mdi:map-marker, same as link.icon). */
icon?: string;
/** @description Tag name (e.g. politik, termin). Must be unique. */
name: string;
};
@@ -11976,6 +11998,8 @@ export interface operations {
addOrganisationTitle?: string;
/** @description Filter by addOrganisationMarkdown */
addOrganisationMarkdown?: string;
/** @description Filter by addOrganisationLink */
addOrganisationLink?: string;
/** @description Filter by allowedBadges */
allowedBadges?: string;
/** @description Filter by organisations */
@@ -12764,6 +12788,8 @@ export interface operations {
date?: string;
/** @description Filter by icon */
icon?: string;
/** @description Filter by hideFromListing */
hideFromListing?: boolean;
/** @description Filter by important */
important?: boolean;
/** @description Filter by linkName */
@@ -14226,6 +14252,10 @@ export interface operations {
_locale?: string;
/** @description Filter by name */
name?: string;
/** @description Filter by icon */
icon?: string;
/** @description Filter by color */
color?: string;
};
header?: never;
path?: never;