From 8a11f6a5400b443d6897dde785204a736f9af084 Mon Sep 17 00:00:00 2001 From: Diego Resendez Date: Fri, 30 Oct 2026 09:43:19 -0500 Subject: [PATCH] feat: announce the API freeze and deprecation policy on every page A banner above the header, from core's CARD-22 and D18: the API is frozen at RC.1, releases are fixes only until stable, and after stable nothing is removed without at least two releases' notice. It links to the stability page in the docs. Merge when RC.1 is tagged, not before. Signed-off-by: Diego Resendez --- src/components/StabilityBanner.astro | 43 ++++++++++++++++++++++++++++ src/layouts/Base.astro | 2 ++ 2 files changed, 45 insertions(+) create mode 100644 src/components/StabilityBanner.astro diff --git a/src/components/StabilityBanner.astro b/src/components/StabilityBanner.astro new file mode 100644 index 0000000..2bdbc89 --- /dev/null +++ b/src/components/StabilityBanner.astro @@ -0,0 +1,43 @@ +--- +// Site-wide notice of the API freeze and the deprecation policy (core CARD-22, D18). It sits above +// the header on every page because it is a promise about the product, not a feature of one section. +// The full policy lives in the docs; this states only what a reader needs before upgrading. +const policyURL = 'https://green-tea.expressive-tea.io/docs/stability/'; +--- + + + + diff --git a/src/layouts/Base.astro b/src/layouts/Base.astro index c04dcdf..191502d 100644 --- a/src/layouts/Base.astro +++ b/src/layouts/Base.astro @@ -1,6 +1,7 @@ --- import Header from '../components/Header.astro'; import Footer from '../components/Footer.astro'; +import StabilityBanner from '../components/StabilityBanner.astro'; import '../styles/global.css'; type OpenGraphType = 'website' | 'article'; @@ -97,6 +98,7 @@ const serializedStructuredData = structuredData src="//gc.zgo.at/count.js"> +