@spunto/brand-kit 0.16.0 → 0.18.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -5,34 +5,30 @@ colours it wears (the design system's `data-product` tokens are generated from t
5
5
  may quote (each with its source), **every product's home page as data**, 3D modules, illustrations,
6
6
  heroes, and the templates — social cards, video scenes, stories — that **Brand Studio** fills in.
7
7
 
8
- ## A product's home page, imported
8
+ ## A product's home page, in its own repository
9
9
 
10
- Each product's landing page is composed in the kit (an *edition*: sections, words in both languages,
11
- figures quoted from sourced facts) and published by one line (`PUBLISHED` in `src/home/editions.ts`).
12
- The product's site renders it:
13
-
14
- ```bash
15
- npm i @spunto/brand-kit three # three: the 3D modules, loaded only when one comes on screen
16
- ```
10
+ The way forward: a product's home lives **in its own repository**, where it is changed without a release of
11
+ the kit. The site copies an edition of the kit (they are examples), keeps it as typed data next to its pages,
12
+ and draws it with the kit's sections — figures written whole, with their source:
17
13
 
18
14
  ```tsx
19
- import { ProductHome } from "@spunto/brand-kit/home"
20
-
21
- <ProductHome product="lite" locale="fr" />
15
+ import { HomeEditionView, checkEdition, type HomeEdition } from "@spunto/brand-kit/home"
16
+
17
+ export const HOME: HomeEdition = {
18
+ id: "console-home", name: "Home", note: "…", product: "console", date: "2026-12-04",
19
+ sections: [
20
+ { id: "hero", kind: "hero", layout: "split", theme: "night", title: { en: "…", fr: "…" }, scene: { module: "fleet" } },
21
+ { id: "measured", kind: "facts", theme: "paper",
22
+ facts: [{ id: "switch", value: { en: "0 / 8,261", fr: "0 / 8 261" }, label: { en: "…", fr: "…" }, source: "README.md" }] },
23
+ ],
24
+ }
25
+
26
+ <HomeEditionView edition={HOME} locale="fr" slots={{ signup: { label: "…", href: "/login" } }} />
22
27
  ```
23
28
 
24
- - Renders nothing while the product has no published edition — import it first, publish later.
25
- - Internal links stay on your site and take its French prefix (`/fr`), so every prop is serialisable:
26
- in Astro, `<ProductHome product="lite" locale="en" client:visible />` (hydrated, so the 3D plays).
27
- - Buttons only your site can fill are **slots**: `slots={{ install: { label, href } }}` (CI's GitHub
28
- app), `access` (Desktop's form). A slot you don't fill falls back to the edition's link, or is left out.
29
- Boiler's « Get started » needs none: a plain `/docs` link, served by its own site. The console of
30
- cloud.spunto.net fills `signup` (« Request an invitation »: it is on invitation); left empty, the
31
- edition's own fallback (`/signup`) is used — an edition's fallback comes before the kit's default words.
32
- - Next: add `"@spunto/brand-kit"` to `transpilePackages` (the package ships TypeScript source, like
33
- `@spunto/design-system`, which it builds on — peer `>= 0.67`).
34
- - The page is drawn with inline styles and hex colours: it doesn't depend on your Tailwind build, only
35
- on the design system's fonts (Young Serif, Geist, JetBrains Mono) being loaded.
29
+ `checkEdition(HOME)` in the site's tests keeps it honest (both languages, sources, real modules).
30
+ `OWN_HOME` (`src/home/editions.ts`) says where each product's home lives. Since 0.18.0 they all do — `PUBLISHED`,
31
+ `PUBLISHED_HOME`, `publishedHome` and `ProductHome` are gone: the kit's editions are examples.
36
32
 
37
33
  ## Everything else
38
34
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@spunto/brand-kit",
3
- "version": "0.16.0",
3
+ "version": "0.18.0",
4
4
  "description": "Spunto's brand kit — the centre of the brand: the product family and its paints (the colours the design system renders), the voice, the sourced figures, the home editions, the illustrations and the templates (social cards, video scenes, stories) everything we say about Spunto is made from.",
5
5
  "type": "module",
6
6
  "license": "MIT",
package/src/coherence.ts CHANGED
@@ -4,7 +4,7 @@
4
4
  // (coherence.test.ts); the studio's Coherence page shows errors and warnings alike. Pure.
5
5
 
6
6
  import { ALL_FACTS as FACTS } from "./home/facts-index"
7
- import { HOME_EDITIONS, HOME_EDITION_BY_ID, PUBLISHED } from "./home/editions"
7
+ import { HOME_EDITIONS, HOME_EDITION_BY_ID, OWN_HOME } from "./home/editions"
8
8
  import { checkEdition } from "./home/check"
9
9
  import { PAINTS, PAINT_BY_ID, paintContrast } from "./paints"
10
10
  import { BRAND_PRODUCTS, type BrandText } from "./products"
@@ -49,11 +49,10 @@ export function coherence(): CoherenceIssue[] {
49
49
 
50
50
  for (const e of HOME_EDITIONS)
51
51
  for (const i of checkEdition(e)) add(i.level, `edition ${e.id}${i.section ? ` · ${i.section}` : ""}`, i.message)
52
- for (const [product, id] of Object.entries(PUBLISHED)) {
53
- if (!id) continue
54
- const e = HOME_EDITION_BY_ID[id]
55
- if (!e) add("error", `home of ${product}`, `PUBLISHED.${product} is "${id}", which is not an edition`)
56
- else if (e.product !== product) add("error", `home of ${product}`, `PUBLISHED.${product} is "${id}", an edition of ${e.product}`)
52
+ for (const [product, own] of Object.entries(OWN_HOME)) {
53
+ const e = HOME_EDITION_BY_ID[own.from]
54
+ if (!e) add("error", `home of ${product}`, `OWN_HOME.${product} comes from "${own.from}", which is not an edition`)
55
+ else if (e.product !== product) add("error", `home of ${product}`, `OWN_HOME.${product} comes from "${own.from}", an edition of ${e.product}`)
57
56
  }
58
57
  for (const p of BRAND_PRODUCTS)
59
58
  if (!HOME_EDITIONS.some((e) => e.product === p.id)) add("warning", p.name, "no home edition yet")
package/src/home/check.ts CHANGED
@@ -86,7 +86,16 @@ export function checkEdition(e: HomeEdition): EditionIssue[] {
86
86
  case "facts":
87
87
  words("title", s.title)
88
88
  if (!s.facts.length) err("no facts", s.id)
89
- for (const f of s.facts) if (!FACT_BY_ID[f]) err(`unknown fact "${f}" — a figure is quoted from FACTS, never typed`, s.id)
89
+ for (const f of s.facts) {
90
+ if (typeof f === "string") {
91
+ if (!FACT_BY_ID[f]) err(`unknown fact "${f}" — quote one of the kit's facts, or write it whole (value, label, source)`, s.id)
92
+ continue
93
+ }
94
+ if (!f.id?.trim()) err("a fact written in the edition needs an id", s.id)
95
+ words(`fact "${f.id}" value`, f.value, true)
96
+ words(`fact "${f.id}" label`, f.label, true)
97
+ if (!f.source?.trim()) err(`fact "${f.id}" has no source — every figure says where it comes from`, s.id)
98
+ }
90
99
  break
91
100
  case "ways":
92
101
  words("title", s.title)
@@ -1,6 +1,6 @@
1
- // The home editions — every product's — as data: one JSON file per product in editions/, an array of
2
- // editions each. JSON rather than code so that Brand Studio can write them (in a dev worker, where the
3
- // repository is on disk: studio/server/homes.ts) and so that a change is a plain diff to review. Each
1
+ // The kit's home editions — examples, every product's — as data: one JSON file per product in editions/,
2
+ // an array of editions each. A product's real home lives in its own repository (OWN_HOME below): it copies
3
+ // one of these and changes it there. Each
4
4
  // edition is checked by check.ts (tests, studio, MCP): every word in both languages, every figure a
5
5
  // fact of facts.ts or of its product's file in products/, every product, module and illustration real.
6
6
  //
@@ -38,29 +38,19 @@ export const HOME_EDITIONS: HomeEdition[] = STORED.map((e) => ({
38
38
 
39
39
  export const HOME_EDITION_BY_ID: Record<string, HomeEdition> = Object.fromEntries(HOME_EDITIONS.map((e) => [e.id, e]))
40
40
 
41
- /** The edition each product's site serves as its home — `null` keeps the site's own, hand-made page.
42
- `cloud` is spunto.net's `/`; the others are imported by their sites (`<ProductHome product="lite" />`). */
43
- export const PUBLISHED: Record<BrandProductId, string | null> = {
44
- cloud: "cloud-2026-11-atelier",
45
- lite: "lite-2026-11-etabli",
46
- cms: "cms-2026-11-constellation",
47
- desktop: "desktop-2026-11-vitrine",
48
- ci: "ci-2026-11-relais",
49
- sandbox: "sandbox-2026-11-moteur",
50
- agents: "agents-2026-11-fil",
51
- traces: "traces-2026-12-cascade",
52
- boiler: "boiler-2026-12-chaudiere",
53
- console: "console-2026-12-gres",
54
- search: null,
55
- ds: null,
56
- foyer: "foyer-2026-11-tablee",
57
- }
58
-
59
- /** What spunto.net's `/` serves (`PUBLISHED.cloud`). */
60
- export const PUBLISHED_HOME: string | null = PUBLISHED.cloud
61
-
62
- /** A product's published edition, if it has one. */
63
- export const publishedHome = (product: BrandProductId): HomeEdition | undefined => {
64
- const id = PUBLISHED[product]
65
- return id ? HOME_EDITION_BY_ID[id] : undefined
41
+ /** Where each product's home lives: in its own repository, as a typed edition its site draws with
42
+ `HomeEditionView` and changes there, without a release of the kit (since 0.17.0 — all of them since 0.18.0).
43
+ `from`: the kit's edition it was copied from, the day it left. The kit's editions are examples. */
44
+ export const OWN_HOME: Partial<Record<BrandProductId, { repo: string; file: string; from: string }>> = {
45
+ cloud: { repo: "coderhammer/spunto", file: "apps/next/components/site-pages/spunto-home.ts", from: "cloud-2026-11-atelier" },
46
+ lite: { repo: "spuntodotnet/spunto-lite", file: "site/src/home.ts", from: "lite-2026-11-etabli" },
47
+ cms: { repo: "spuntodotnet/spunto-cms", file: "apps/next/components/landing/home.ts", from: "cms-2026-11-constellation" },
48
+ desktop: { repo: "coderhammer/spunto-desktop", file: "web/src/marketing/home.ts", from: "desktop-2026-11-vitrine" },
49
+ ci: { repo: "coderhammer/spunto-ci", file: "web/src/marketing/home.ts", from: "ci-2026-11-relais" },
50
+ sandbox: { repo: "spuntodotnet/sandbox", file: "docs/lib/home.ts", from: "sandbox-2026-11-moteur" },
51
+ agents: { repo: "coderhammer/spunto-agents", file: "web/src/marketing/home.ts", from: "agents-2026-11-fil" },
52
+ traces: { repo: "spuntodotnet/traces", file: "site/home.ts", from: "traces-2026-12-cascade" },
53
+ boiler: { repo: "spuntodotnet/boiler", file: "site/src/home.ts", from: "boiler-2026-12-chaudiere" },
54
+ console: { repo: "spuntodotnet/cloud", file: "site/src/home.ts", from: "console-2026-12-gres" },
55
+ foyer: { repo: "coderhammer/foyer", file: "site/lib/home.ts", from: "foyer-2026-11-tablee" },
66
56
  }
package/src/home/guide.ts CHANGED
@@ -5,7 +5,7 @@
5
5
  import { ALL_FACTS as FACTS } from "./facts-index"
6
6
  import { ILLUSTRATION_CATALOG } from "../illustrations/catalog"
7
7
  import { BRAND_PRODUCTS } from "../products"
8
- import { HOME_EDITIONS, PUBLISHED_HOME } from "./editions"
8
+ import { HOME_EDITIONS, OWN_HOME } from "./editions"
9
9
  import { MODULE3D_CATALOG } from "../three/catalog"
10
10
  import { SHOWCASE_SCREENS } from "./showcase/catalog"
11
11
 
@@ -19,14 +19,19 @@ export function homeGuide(): string {
19
19
  const screens = Object.values(SHOWCASE_SCREENS)
20
20
  .map((m) => `- \`${m.id}\` (${m.product}) — ${m.story}`)
21
21
  .join("\n")
22
- const editions = HOME_EDITIONS.map((e) => `- \`${e.id}\` « ${e.name} »${e.id === PUBLISHED_HOME ? " — **published**" : ""}: ${e.note}`).join("\n")
22
+ const editions = HOME_EDITIONS.map((e) => `- \`${e.id}\` « ${e.name} »: ${e.note}`).join("\n")
23
+ const homes = Object.entries(OWN_HOME)
24
+ .map(([p, h]) => `- \`${p}\` — \`${h.repo}\`, \`${h.file}\` (from \`${h.from}\`)`)
25
+ .join("\n")
23
26
  return `# Home editions — @spunto/brand-kit/home
24
27
 
25
28
  A home edition is the landing page as data: an ordered list of sections from a fixed vocabulary, every
26
29
  word in English **and** French, worn in a product's paint (or, to try one on, a design system palette).
27
- The kit draws it (\`HomeEditionView\`); the site serves every committed edition at
28
- \`https://spunto.net/editions/<id>\` and puts \`PUBLISHED_HOME\` on \`/\`. The universe doesn't move from
29
- one edition to the next — type, grid, paints, voice, figures; only the composition does.
30
+ The kit draws it (\`HomeEditionView\`). **A product's real home lives in its own repository** (below: where), as a
31
+ typed \`HomeEdition\` its site draws and changes there — that is where you change a product's home page, never
32
+ here. The kit's editions are **examples**, served at \`https://spunto.net/editions/<id>\`: copy one to start a
33
+ home. The universe doesn't move from one edition to the next — type, grid, paints, voice, figures; only the
34
+ composition does. In a product's own home, a figure is written whole: \`{ id, value: Words, label: Words, source }\`.
30
35
 
31
36
  ## Shape
32
37
 
@@ -98,7 +103,11 @@ column — a phone.
98
103
 
99
104
  ${screens}
100
105
 
101
- ## Committed editions
106
+ ## Where each product's home lives
107
+
108
+ ${homes}
109
+
110
+ ## The kit's editions (examples)
102
111
 
103
112
  ${editions}
104
113
 
@@ -107,10 +116,8 @@ ${editions}
107
116
  1. \`save_home_draft\` with an edition (JSON): the studio keeps it as a draft and returns its issues and
108
117
  its link (\`#/homes/<id>\`). A person reads it there, edits it, tries palettes on.
109
118
  2. \`get_home_edition\` reads a draft back (with the person's changes).
110
- 3. To commit it: add it to the array of \`packages/brand-kit/src/home/editions/<product>.json\` (editions are
111
- data, one JSON file per product — in a dev worker the studio does it: « Ajouter au kit »), and to publish
112
- it set \`PUBLISHED.<product>\` in \`src/home/editions.ts\`. \`npm test\` in packages/brand-kit fails on any issue.
113
- Committed editions are edited in place in the studio (their text, right in the preview) where the
114
- repository is on disk; the change is a JSON diff to review and commit.
119
+ 3. To use it as a product's home: write it into the product's file (above), in its repository, with its
120
+ figures written whole; the site's build runs \`checkEdition\` on it. To keep it as an example: add it to
121
+ \`packages/brand-kit/src/home/editions/<product>.json\`; \`npm test\` in packages/brand-kit fails on any issue.
115
122
  `
116
123
  }
package/src/home/home.tsx CHANGED
@@ -14,8 +14,6 @@ import { useState } from "react"
14
14
  import { SpuntoLogo } from "../logo"
15
15
  import { EUR_PER_GB_HOUR, HOURS_PER_MONTH, PAID_RUNNING_RAM_GB, RATES, SUBSCRIPTION_EUR, TOPUPS_EUR, TRIAL_DAYS, TRIAL_EUR, TRIAL_LIVE } from "../facts"
16
16
  import type { HomeAction, HomeEdition, HomeSection, RosterBadge, Words } from "./types"
17
- import { publishedHome } from "./editions"
18
- import type { BrandProductId } from "../products"
19
17
 
20
18
  /* A home edition, drawn.
21
19
 
@@ -142,11 +140,11 @@ function SectionView({ section, ctx, path: p }: { section: HomeSection; ctx: Ctx
142
140
  <Band s={s} id={section.id}>
143
141
  {section.title && <H2 s={s} title={ctx.t(section.title, `${p}.title`, s.accent)} />}
144
142
  <div style={{ display: "grid", gridTemplateColumns: "repeat(auto-fit, minmax(210px, 1fr))", marginTop: section.title ? 48 : 0, borderTop: `1px solid ${s.line}` }}>
145
- {section.facts.map((id) => {
146
- const f = FACT_BY_ID[id]
143
+ {section.facts.map((ref) => {
144
+ const f = typeof ref === "string" ? FACT_BY_ID[ref] : ref
147
145
  if (!f) return null
148
146
  return (
149
- <div key={id} style={{ padding: "28px 24px 28px 0", borderBottom: `1px solid ${s.line}` }}>
147
+ <div key={f.id} style={{ padding: "28px 24px 28px 0", borderBottom: `1px solid ${s.line}` }}>
150
148
  <div
151
149
  style={{
152
150
  fontFamily: FONT.display,
@@ -1335,16 +1333,3 @@ function Actions({ actions, s, theme, ctx, path, center }: { actions: HomeAction
1335
1333
  </div>
1336
1334
  )
1337
1335
  }
1338
-
1339
- /** A product's published home, to drop into its site: `<ProductHome product="lite" locale="fr" />`.
1340
- Renders nothing while the product has no published edition (`PUBLISHED` in editions.ts), so a
1341
- site can import it before anything is published and keep its own page meanwhile. */
1342
- export function ProductHome({ product, ...props }: Omit<HomeEditionViewProps, "edition"> & { product: BrandProductId }) {
1343
- const edition = publishedHome(product)
1344
- // Without `href`, links stay on the product's site and take its French prefix (`/fr`, or none for a
1345
- // site that is French at its root) — every prop is then serialisable, so an Astro island can take it.
1346
- const locale = props.locale ?? "en"
1347
- const fr = brandProduct(product).site.fr
1348
- const href = props.href ?? ((h: string) => (h.startsWith("/") && locale === "fr" && fr ? `${fr}${h === "/" ? "" : h}` : h))
1349
- return edition ? <HomeEditionView edition={edition} {...props} href={href} /> : null
1350
- }
package/src/home/index.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  // @spunto/brand-kit/home — the home page as data: editions, their sections, and the view that draws them.
2
- export { HomeEditionView, ProductHome } from "./home"
2
+ export { HomeEditionView } from "./home"
3
3
  export type { HomeEditionViewProps, HomeSlot } from "./home"
4
- export { HOME_EDITIONS, HOME_EDITION_BY_ID, PUBLISHED, PUBLISHED_HOME, publishedHome } from "./editions"
4
+ export { HOME_EDITIONS, HOME_EDITION_BY_ID, OWN_HOME } from "./editions"
5
5
  export { checkEdition } from "./check"
6
6
  export type { EditionIssue } from "./check"
7
7
  export type { HomeEdition, HomeSection, HomeSectionKind, HomeAction, MobileEvent, RosterBadge, Words } from "./types"
@@ -2,8 +2,8 @@
2
2
  // ../editions/agents.json (written from the product's own site; the notes below say where from).
3
3
  //
4
4
  // Words come from the product's own site (quoted, both languages) or are new and true; every figure
5
- // is a fact below, with its source. The product's site imports its published edition:
6
- // `<ProductHome product="agents" />` (PUBLISHED in ../editions.ts).
5
+ // is a fact below, with its source. The product's site keeps its own copy of
6
+ // its home (OWN_HOME in ../editions.ts); its figures are written there too.
7
7
  //
8
8
  // Source of the words: coderhammer/spunto-agents @ 76d4667 (2026-11-28), web/src/marketing/Landing.tsx
9
9
  // (`const en` / `const fr`) and README.md. Not claimed: a price of its own (an agent costs what its tasks
@@ -3,8 +3,8 @@
3
3
  //
4
4
  // Every figure was measured on 2026-12-02 on the example app of spuntodotnet/boiler, « Le Carnet »
5
5
  // (examples/carnet), with Node 24, Vite 8.4 and React 19.3 — by Mathieu and by the agent writing the
6
- // framework. The product's site imports its published edition: `<ProductHome product="boiler" />`
7
- // (PUBLISHED in ../editions.ts).
6
+ // framework. The product's site keeps its own copy of
7
+ // its home (OWN_HOME in ../editions.ts); its figures are written there too.
8
8
  //
9
9
  // Source of the words: the brief of the parent task creating spuntodotnet/boiler (2026-12-02): the API
10
10
  // (`createApp`, `c.render`, `route`, `openapi`, `docs`, `boiler start`), the stack (Hono, Zod, Vite 8 —
@@ -2,8 +2,8 @@
2
2
  // ../editions/ci.json (written from the product's own site; the notes below say where from).
3
3
  //
4
4
  // Words come from the product's own site (quoted, both languages) or are new and true; every figure
5
- // is a fact below, with its source. The product's site imports its published edition:
6
- // `<ProductHome product="ci" />` (PUBLISHED in ../editions.ts).
5
+ // is a fact below, with its source. The product's site keeps its own copy of
6
+ // its home (OWN_HOME in ../editions.ts); its figures are written there too.
7
7
  //
8
8
  // Source of the words: coderhammer/spunto-ci @ 3ba6d5c (2026-11-07), web/src/marketing/Landing.tsx
9
9
  // (`const en` / `const fr`). Not claimed, as on that page or against it: access for everyone (the
@@ -2,8 +2,8 @@
2
2
  // ../editions/cms.json (written from the product's own site; the notes below say where from).
3
3
  //
4
4
  // Words come from the product's own site (quoted, both languages) or are new and true; every figure
5
- // is a fact below, with its source. The product's site imports its published edition:
6
- // `<ProductHome product="cms" />` (PUBLISHED in ../editions.ts).
5
+ // is a fact below, with its source. The product's site keeps its own copy of
6
+ // its home (OWN_HOME in ../editions.ts); its figures are written there too.
7
7
  //
8
8
  // Quoted from spuntodotnet/spunto-cms at 89d131c (2026-11-07): almost every sentence is
9
9
  // `apps/next/components/landing/copy.tsx` (LANDING_COPY, en and fr). Not claimed, as on the site:
@@ -3,8 +3,8 @@
3
3
  //
4
4
  // Every figure comes from spuntodotnet/cloud: its README (« Ce qu'on y fait », « Variables ») and docs/ as of
5
5
  // 2026-12-04, the defaults of its code, and — for the CLI and the MCP — spuntodotnet/cloud#46 (docs/agents.md,
6
- // shared/cli/commands.ts). The product's site (a Spunto Boiler app in that repository) imports its published
7
- // edition: `<ProductHome product="console" />` (PUBLISHED in ../editions.ts).
6
+ // shared/cli/commands.ts). The product's site (a Spunto Boiler app in that repository) keeps its home there
7
+ // (OWN_HOME in ../editions.ts: site/src/home.ts), with its own copy of these figures; « Grès » stays here as an example.
8
8
  //
9
9
  // Not claimed: a price (there is none yet: quotas, no billing), more than one machine or region (« Plusieurs
10
10
  // machines » is in « Ce qui vient ensuite »), standalone volumes, a database reachable from outside other than
@@ -2,8 +2,8 @@
2
2
  // ../editions/desktop.json (written from the product's own site; the notes below say where from).
3
3
  //
4
4
  // Words come from the product's own site (quoted, both languages) or are new and true; every figure
5
- // is a fact below, with its source. The product's site imports its published edition:
6
- // `<ProductHome product="desktop" />` (PUBLISHED in ../editions.ts).
5
+ // is a fact below, with its source. The product's site keeps its own copy of
6
+ // its home (OWN_HOME in ../editions.ts); its figures are written there too.
7
7
  //
8
8
  // Source: coderhammer/spunto-desktop at 655a081 (2026-11-06) — web/src/marketing/Landing.tsx (const en /
9
9
  // const fr), web/src/marketing/Pricing.tsx, shared/pricing.ts, server/desktops.ts. Not claimed, as on the
@@ -2,8 +2,8 @@
2
2
  // ../editions/ds.json (written from the product's own site; the notes below say where from).
3
3
  //
4
4
  // Words come from the product's own site (quoted, both languages) or are new and true; every figure
5
- // is a fact below, with its source. The product's site imports its published edition:
6
- // `<ProductHome product="ds" />` (PUBLISHED in ../editions.ts).
5
+ // is a fact below, with its source. No site serves these editions: they are
6
+ // examples (OWN_HOME in ../editions.ts lists the homes that live in their products' repositories).
7
7
  //
8
8
  // The showcase (design.spunto.net) is French only, so the words are spunto.net/design-system's
9
9
  // (apps/next/components/landing/products/design-system-page.tsx, EN + FR), minus what has gone
@@ -2,8 +2,8 @@
2
2
  // ../editions/foyer.json (written from the product's own site; the notes below say where from).
3
3
  //
4
4
  // Words come from the product's own site (quoted, both languages) or are new and true; every figure
5
- // is a fact below, with its source. The product's site imports its published edition:
6
- // `<ProductHome product="foyer" />` (PUBLISHED in ../editions.ts).
5
+ // is a fact below, with its source. The product's site keeps its own copy of
6
+ // its home (OWN_HOME in ../editions.ts); its figures are written there too.
7
7
  //
8
8
  // tuppa.app is French only: the French below is the landing's own (app/src/views/landing.jsx),
9
9
  // the English a faithful translation. Not claimed: the assistant's model provider (the landing's FAQ
@@ -2,8 +2,8 @@
2
2
  // ../editions/lite.json (written from the product's own site; the notes below say where from).
3
3
  //
4
4
  // Words come from the product's own site (quoted, both languages) or are new and true; every figure
5
- // is a fact below, with its source. The product's site imports its published edition:
6
- // `<ProductHome product="lite" />` (PUBLISHED in ../editions.ts).
5
+ // is a fact below, with its source. The product's site keeps its own copy of
6
+ // its home (OWN_HOME in ../editions.ts); its figures are written there too.
7
7
  //
8
8
  // Sources (spuntodotnet/spunto-lite, read 2026-11-08): site/src/components/home/Home.astro (COPY,
9
9
  // EN + FR), site/src/content/docs/{en,fr}/installation.md, quick-start.md, agents.md, security.md,
@@ -3,8 +3,8 @@
3
3
  //
4
4
  // Every figure is one spuntodotnet/sandbox measured and printed, with where it was measured: most on a
5
5
  // GCP n2-standard-8 with nested virtualization (every VM exit dearer: slower than bare metal), the
6
- // bare-metal ones on the OVH server Spunto Cloud's engine was built on. The product's site imports its
7
- // published edition: `<ProductHome product="sandbox" />` (PUBLISHED in ../editions.ts).
6
+ // bare-metal ones on the OVH server Spunto Cloud's engine was built on. The product's site keeps its own copy of
7
+ // its home (OWN_HOME in ../editions.ts); its figures are written there too.
8
8
  //
9
9
  // Source of the words: spuntodotnet/sandbox @ ac4a9b8 (v0.1.1, 2026-11-25), README.md, and its docs
10
10
  // site (docs/site @ f0639c5: docs/content/docs/*.mdx). Not claimed: macOS or ARM (« not yet »), a
@@ -2,8 +2,8 @@
2
2
  // ../editions/search.json (written from the product's own site; the notes below say where from).
3
3
  //
4
4
  // Words come from the product's own site (quoted, both languages) or are new and true; every figure
5
- // is a fact below, with its source. The product's site imports its published edition:
6
- // `<ProductHome product="search" />` (PUBLISHED in ../editions.ts).
5
+ // is a fact below, with its source. No site serves these editions: they are
6
+ // examples (OWN_HOME in ../editions.ts lists the homes that live in their products' repositories).
7
7
  //
8
8
  // Sources (read 2026-11-08): apps/next/components/landing/products/spunto-search-page.tsx (en + fr
9
9
  // copy, sections 01–04 and the note on the name), apps/next/components/site-pages/spunto-search.tsx
@@ -3,8 +3,8 @@
3
3
  //
4
4
  // Every figure is one spuntodotnet/traces measured or set, with where: the reads were measured on 2026-12-01/02
5
5
  // (docs/choix.md — a week of real spans on a worker, 100 M generated spans on a GCP VM with 8 vCPUs), the rest are
6
- // the defaults of its code. The product's site imports its published edition: `<ProductHome product="traces" />`
7
- // (PUBLISHED in ../editions.ts).
6
+ // the defaults of its code. The product's site keeps its own copy of
7
+ // its home (OWN_HOME in ../editions.ts); its figures are written there too.
8
8
  //
9
9
  // Source of the words: spuntodotnet/traces @ f363c6d (2026-12-02), README.md and docs/choix.md; the app's screens
10
10
  // (docs/screens/*.png of the branch doc-produit-cms @ 633fe51). Not claimed: a price, open signups (accounts are on a
package/src/home/types.ts CHANGED
@@ -11,7 +11,7 @@
11
11
  import type { BrandProductId } from "../products"
12
12
  import type { BrandTheme, BrandPalette } from "../theme"
13
13
  import type { IllustrationId } from "../illustrations/catalog"
14
- import type { Words } from "../facts"
14
+ import type { Fact, Words } from "../facts"
15
15
  import type { Module3DRef } from "../three/catalog"
16
16
  import type { MarkId } from "../marks"
17
17
  import type { ShowcaseScreenId } from "./showcase/catalog"
@@ -48,8 +48,9 @@ export type HomeSection =
48
48
  | (Base & {
49
49
  kind: "facts"
50
50
  title?: Words
51
- /** Ids of `FACTS` (facts.ts) — a figure is quoted, never typed. */
52
- facts: string[]
51
+ /** Ids of the kit's facts (facts.ts, products/<id>.ts) — or, on a site that keeps its home in its own
52
+ repository, the fact itself: its value, its label and its source, written there. Sourced either way. */
53
+ facts: (string | Fact)[]
53
54
  })
54
55
  | (Base & {
55
56
  kind: "pillars"