feat: location-Feld an Organisation, Header-Tooltips
- block-types: OrganisationEntry.location { text, lat, lng }
- Header: title-Attribut auf Social-Icons + Suche-Button
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -315,6 +315,7 @@ export interface OrganisationEntry {
|
|||||||
badge?: string | { label?: string; color?: string };
|
badge?: string | { label?: string; color?: string };
|
||||||
whatsapp?: string;
|
whatsapp?: string;
|
||||||
youtube?: string;
|
youtube?: string;
|
||||||
|
location?: { text?: string; lat?: number; lng?: number };
|
||||||
}
|
}
|
||||||
|
|
||||||
/** Organisations-Block (_type: "organisations"). */
|
/** Organisations-Block (_type: "organisations"). */
|
||||||
|
|||||||
@@ -202,6 +202,7 @@
|
|||||||
rel={isInternal ? undefined : "noopener noreferrer"}
|
rel={isInternal ? undefined : "noopener noreferrer"}
|
||||||
class="p-1.5 -m-1.5 rounded-xs transition-colors flex items-center justify-center"
|
class="p-1.5 -m-1.5 rounded-xs transition-colors flex items-center justify-center"
|
||||||
aria-label={social.label || t(T.header_social_aria)}
|
aria-label={social.label || t(T.header_social_aria)}
|
||||||
|
title={social.label || t(T.header_social_aria)}
|
||||||
>
|
>
|
||||||
<Icon icon={social.icon} aria-hidden="true" />
|
<Icon icon={social.icon} aria-hidden="true" />
|
||||||
</a>
|
</a>
|
||||||
@@ -212,6 +213,9 @@
|
|||||||
aria-label={searchOpen
|
aria-label={searchOpen
|
||||||
? t(T.header_search_close)
|
? t(T.header_search_close)
|
||||||
: t(T.header_search_open)}
|
: t(T.header_search_open)}
|
||||||
|
title={searchOpen
|
||||||
|
? t(T.header_search_close)
|
||||||
|
: t(T.header_search_open)}
|
||||||
aria-expanded={searchOpen}
|
aria-expanded={searchOpen}
|
||||||
aria-controls="search-panel"
|
aria-controls="search-panel"
|
||||||
onclick={() => (searchOpen = !searchOpen)}
|
onclick={() => (searchOpen = !searchOpen)}
|
||||||
|
|||||||
Reference in New Issue
Block a user