diff --git a/site/src/components/WarmupPoolNotice.astro b/site/src/components/WarmupPoolNotice.astro new file mode 100644 index 00000000..f5303e69 --- /dev/null +++ b/site/src/components/WarmupPoolNotice.astro @@ -0,0 +1,42 @@ +--- +/** + * Reusable notice: the shared warmup pool is a cloud feature, and a single + * self-hosted instance starts with an empty pool. Drop it on any light- + * background page where a reader might assume self-hosting gives them a + * working warmup pool (warmup, deliverability, open-source sections). + * + * The numbers and behaviour match the warmup pool model in the repo + * (internal/repository/pg_warmup.go, migration 000010). + */ +import Icon from './Icon.astro'; + +interface Props { + /** extra margin/utility classes on the outer card */ + class?: string; + /** show the cloud waitlist link (default true) */ + showWaitlist?: boolean; +} +const { class: className = '', showWaitlist = true } = Astro.props; +--- +