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 };
|
||||
whatsapp?: string;
|
||||
youtube?: string;
|
||||
location?: { text?: string; lat?: number; lng?: number };
|
||||
}
|
||||
|
||||
/** Organisations-Block (_type: "organisations"). */
|
||||
|
||||
@@ -202,6 +202,7 @@
|
||||
rel={isInternal ? undefined : "noopener noreferrer"}
|
||||
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)}
|
||||
title={social.label || t(T.header_social_aria)}
|
||||
>
|
||||
<Icon icon={social.icon} aria-hidden="true" />
|
||||
</a>
|
||||
@@ -212,6 +213,9 @@
|
||||
aria-label={searchOpen
|
||||
? t(T.header_search_close)
|
||||
: t(T.header_search_open)}
|
||||
title={searchOpen
|
||||
? t(T.header_search_close)
|
||||
: t(T.header_search_open)}
|
||||
aria-expanded={searchOpen}
|
||||
aria-controls="search-panel"
|
||||
onclick={() => (searchOpen = !searchOpen)}
|
||||
|
||||
Reference in New Issue
Block a user