feat(layout): add global announcement banner above nav
Deploy / verify (push) Successful in 1m12s
Deploy / deploy (push) Successful in 1m6s

Adds AnnouncementBanner component fed by a new top_banner CMS entry
(site-announcement). Extended top_banner schema and TS types with
optional link + linkLabel fields. Rendered inline-markdown text.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
Peter Meier
2026-05-08 21:56:42 +02:00
parent 8db68e073c
commit ef163fb336
5 changed files with 70 additions and 0 deletions
+8
View File
@@ -5446,6 +5446,10 @@ export interface components {
id: string;
/** @description Banner text (e.g. notice at top of page) */
text: string;
/** @description Optional URL the banner links to */
link?: string;
/** @description CTA label for the link */
linkLabel?: string;
};
top_banner_input: {
/** @description URL slug (used as filename) */
@@ -5454,6 +5458,10 @@ export interface components {
id: string;
/** @description Banner text (e.g. notice at top of page) */
text: string;
/** @description Optional URL the banner links to */
link?: string;
/** @description CTA label for the link */
linkLabel?: string;
};
translation_bundle: {
/** @description Entry identifier (filename) */