Restyle the status page in Cottage's brand
The page (pages/, components/, styles/) is rewritten in Cottage's brand, replacing Mantine. - Brand files: tokens, fonts and component CSS copied from Hearth; logo, pod row, status pill and banner ported from the brand handbook. - Themes: light by default, dark when the OS asks. - Services: grouped; each has a status pill, uptime and 90 daily bars (30 on phones). - Bars: each bar has a text label, keyboard navigation and a day card. - Response-time chart: optional, drawn in brand colours. - Notices: colour-coded posted notices and planned maintenance. - Incident history: by month, with the brand's empty state. The check worker, D1 storage, types and Terraform are untouched, so upstream merges stay clean. uptime.config.ts lists Cottage's services (website, dashboard, apps in US East). `npm run dev` shows sample data (?sample=outage|maintenance|empty) since there's no D1. Deploys are gated on the CLOUDFLARE_DEPLOY repository variable until launch, Wrangler telemetry is off, and a Check workflow lints, type-checks and builds every pull request. Removed upstream's issue-translation workflow, funding file and translations.
This commit is contained in:
1 parent
8035521268
commit
fdc16007e3
54 files changed
+2197
-2705
No files matched your search
@@ -0,0 +1 @@
|
||||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 64 64" width="64" height="64"><title>Cottage</title><rect width="64" height="64" rx="14" fill="#2F5D46"/><g transform="translate(10.24 9.5) scale(0.68)"><rect x="43" y="7" width="8" height="19" rx="2" fill="#FBF7EF"/><path d="M8 31 32 13 56 31" fill="none" stroke="#FBF7EF" stroke-width="8" stroke-linecap="round" stroke-linejoin="round"/><rect x="5" y="40" width="14" height="17" rx="3.5" fill="#FBF7EF"/><rect x="25" y="40" width="14" height="17" rx="3.5" fill="#C2541C"/><rect x="45" y="40" width="14" height="17" rx="3.5" fill="#FBF7EF"/></g></svg>
|
||||
|
After Width: | Height: | Size: 606 B |
Reference in new issue
Block a user