Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v3 - announcement banner #843

Merged
merged 2 commits into from
Nov 4, 2024
Merged

v3 - announcement banner #843

merged 2 commits into from
Nov 4, 2024

Conversation

mathiazom
Copy link
Contributor

@mathiazom mathiazom commented Oct 30, 2024

See #819

Adds a site setting for defining a page announcement, displayed in the header of each page. In addition to a required text, an optional link and "expiration date" can be added. If no date is specified, the announcement is always displayed, otherwise the date is compared to the current time.

To remove the announcement manually, the document can simply be unpublished or deleted.

with link

image image

without link

image image

Studio

image

Copy link

vercel bot commented Oct 30, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
variant-no ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 31, 2024 3:00pm
variant-se-2 ✅ Ready (Inspect) Visit Preview 💬 Add feedback Oct 31, 2024 3:00pm

@mathiazom mathiazom merged commit 62fbda9 into v3 Nov 4, 2024
6 checks passed
@mathiazom mathiazom deleted the feat/v3-announcement-banner branch November 4, 2024 07:18
@mathiazom mathiazom mentioned this pull request Nov 4, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants