feat(contacts): ContactCard + ContactsBlock-Komponente, BlockRenderer registriert
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -331,6 +331,24 @@ export interface OrganisationsBlockData {
|
||||
layout?: BlockLayout;
|
||||
}
|
||||
|
||||
export interface ContactEntry {
|
||||
_type?: "contact";
|
||||
_slug?: string;
|
||||
name?: string;
|
||||
role?: string;
|
||||
email?: string;
|
||||
phone?: string;
|
||||
note?: string;
|
||||
}
|
||||
|
||||
export interface ContactsBlockData {
|
||||
_type?: "contacts_block";
|
||||
_slug?: string;
|
||||
headline?: string;
|
||||
contacts?: (string | ContactEntry)[];
|
||||
layout?: BlockLayout;
|
||||
}
|
||||
|
||||
/** Live-Strommix-Widget (_type: "live_strommix"). Editorial-Konfig + Platzierungs-Instanz.
|
||||
* Fetched live data from /api/strommix (aggregator) and renders status bucket
|
||||
* derived from `(wind_onshore + wind_offshore + solar) / load * 100`. */
|
||||
|
||||
Reference in New Issue
Block a user