From 858d02027bb4d5f5198737a7993ee5d0767abf55 Mon Sep 17 00:00:00 2001 From: Toni Bergholm Date: Fri, 20 Nov 2026 15:12:13 +0200 Subject: [PATCH 1/8] Redesign the website with a shared design system The site was a single narrow column of monospaced text and described all three projects as experiments. This replaces it with a design system in Base.astro (color, type, spacing and radius tokens, light and dark themes from the system setting, a sans-serif stack for prose and mono for code only) and rebuilds every page on it. Base now renders the skip link, header, main landmark and footer. The three project pages share one template in layouts/Project.astro: hero with a status panel, section nav, quickstart, features, how it works, security and limits, recent changes, FAQ and doc links. data/projects.ts holds one status badge vocabulary used by the home cards and the project pages. Content changes follow the 2026-11-20 fact sheet. The home page and the src-control and Sentinel pages now say what Codento Engine runs in production: sc-forge as its project Git host, and Sentinel as its auditing npm proxy in observe mode. Each "In production use" badge sits next to its scope. The pages keep the caveats: git.agentic is not in production and its rollback target at 1M-row scale is unverified, src-control is pre-1.0 with unaudited cryptography, and Sentinel is a pre-1.0 alpha whose block mode is not proven in production. Routes, canonical URLs and JSON-LD types are unchanged. The only script is an inline copy button for command panels, added by JS so the pages work without it. --- website/src/components/Badge.astro | 8 + website/src/components/FAQ.astro | 12 +- website/src/components/Footer.astro | 49 ++- website/src/components/Header.astro | 36 +- website/src/components/Panel.astro | 13 + website/src/components/Section.astro | 19 + website/src/data/articles.ts | 13 +- website/src/data/projects.ts | 62 ++++ website/src/layouts/Base.astro | 535 +++++++++++++++------------ website/src/layouts/Project.astro | 121 ++++++ website/src/pages/git-agentic.astro | 382 ++++++++++--------- website/src/pages/index.astro | 285 ++++++++------ website/src/pages/learn/[slug].astro | 55 ++- website/src/pages/learn/index.astro | 55 ++- website/src/pages/sentinel.astro | 482 ++++++++++++++---------- website/src/pages/src-control.astro | 460 +++++++++++++---------- 16 files changed, 1617 insertions(+), 970 deletions(-) create mode 100644 website/src/components/Badge.astro create mode 100644 website/src/components/Panel.astro create mode 100644 website/src/components/Section.astro create mode 100644 website/src/data/projects.ts create mode 100644 website/src/layouts/Project.astro diff --git a/website/src/components/Badge.astro b/website/src/components/Badge.astro new file mode 100644 index 00000000..b29a8f89 --- /dev/null +++ b/website/src/components/Badge.astro @@ -0,0 +1,8 @@ +--- +import { badgeLabel, type BadgeKind } from '../data/projects'; +interface Props { + kind: BadgeKind; +} +const { kind } = Astro.props; +--- +{badgeLabel[kind]} diff --git a/website/src/components/FAQ.astro b/website/src/components/FAQ.astro index 3aa1d439..a61893a2 100644 --- a/website/src/components/FAQ.astro +++ b/website/src/components/FAQ.astro @@ -1,4 +1,5 @@ --- +import Section from './Section.astro'; interface Item { question: string; answer: string; @@ -10,14 +11,13 @@ interface Props { const { items } = Astro.props; --- -
-

Frequently asked questions

-
+
+
{items.map((item) => ( - <> +
{item.question}
{item.answer}
- +
))}
-
+
diff --git a/website/src/components/Footer.astro b/website/src/components/Footer.astro index 3c65a472..4b768990 100644 --- a/website/src/components/Footer.astro +++ b/website/src/components/Footer.astro @@ -1,15 +1,42 @@ --- +import { projects } from '../data/projects'; const gh = 'https://github.com/git-agentic'; --- -
-