@rizom/site-rizom-ai 0.2.0-alpha.202 → 0.2.0-alpha.203

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rizom/site-rizom-ai",
3
- "version": "0.2.0-alpha.202",
3
+ "version": "0.2.0-alpha.203",
4
4
  "description": "Rizom AI site package for hosted Rover deployments",
5
5
  "type": "module",
6
6
  "exports": {
@@ -18,9 +18,9 @@
18
18
  "prepack": "publish-manifest prepare"
19
19
  },
20
20
  "dependencies": {
21
- "@rizom/site": "0.2.0-alpha.202",
22
- "@rizom/site-rizom": "0.2.0-alpha.202",
23
- "@rizom/site-sections": "0.2.0-alpha.202",
21
+ "@rizom/site": "0.2.0-alpha.203",
22
+ "@rizom/site-rizom": "0.2.0-alpha.203",
23
+ "@rizom/site-sections": "0.2.0-alpha.203",
24
24
  "preact": "^10.27.2"
25
25
  },
26
26
  "publishConfig": {
package/src/home.tsx CHANGED
@@ -7,22 +7,20 @@ import { GrowthDiagram } from "./growth-diagram";
7
7
  import {
8
8
  Band,
9
9
  CtaRow,
10
- AliveLine,
11
10
  SectCap,
12
11
  Trio,
13
12
  trioSchema,
14
13
  ctaSchema,
15
14
  delayClass,
16
- ROOM_HIGHLIGHT_CLS,
17
15
  } from "./shared";
18
16
 
19
17
  /**
20
18
  * The umbrella home page. The hero is the live agent proximity map (wired in
21
19
  * routes.ts as agent-discovery:proximity-map); the sections here tell the
22
- * rev-10 story the map opens — the pain (problem, withered), how the parts
20
+ * rev-11 story the map opens — the pain (problem, withered), how the parts
23
21
  * come together (growth carries the system: brain, practice, network), the
24
- * mission band (the quote alone), the single ask (one-light), the three
25
- * faces, and the living-proof colophon.
22
+ * mission band (the quote alone), then the ask carried by proof — the
23
+ * knowledge map (topics:knowledge-map, wired in routes.ts) — and the faces.
26
24
  * Each section is authored from one zod schema (its component's props are
27
25
  * `z.infer` of that schema); copy is content-driven, stored as markdown in
28
26
  * site-content/home/<section>.md. Only the assembled section group is
@@ -93,50 +91,6 @@ function HomeProblemSection({
93
91
  );
94
92
  }
95
93
 
96
- /* ============ it starts with one light ============ */
97
-
98
- const oneLightSchema = z.object({
99
- cap: z.string(),
100
- capNote: z.string().optional(),
101
- headline: z.string(),
102
- intro: z.string(),
103
- pull: z.string().optional(),
104
- primaryCta: ctaSchema,
105
- secondaryCta: ctaSchema,
106
- });
107
-
108
- function HomeOneLightSection({
109
- cap,
110
- capNote,
111
- headline,
112
- intro,
113
- pull,
114
- primaryCta,
115
- secondaryCta,
116
- }: z.infer<typeof oneLightSchema>): JSX.Element {
117
- return (
118
- <Section id="one-light" className="py-14">
119
- <SectCap lead={cap} trail={capNote} />
120
- <h2 className="reveal reveal-delay-1 mt-3.5 max-w-[20em] font-display text-[clamp(28px,3vw,40px)] font-[465] leading-[1.1] tracking-[-0.014em] text-theme [font-variation-settings:'SOFT'_78,'opsz'_84]">
121
- {renderHighlightedText(headline, ROOM_HIGHLIGHT_CLS)}
122
- </h2>
123
- <p className="reveal reveal-delay-1 mt-4 max-w-[62ch] font-body text-[17px] leading-[1.7] text-theme-muted">
124
- {intro}
125
- </p>
126
- {pull && (
127
- <p className="reveal reveal-delay-2 mt-5 max-w-[21em] font-display text-[clamp(24px,2.8vw,34px)] font-normal italic leading-[1.22] tracking-[-0.012em] text-theme-muted [font-variation-settings:'SOFT'_90,'opsz'_110]">
128
- {renderHighlightedText(pull, "font-[460] text-accent-bright")}
129
- </p>
130
- )}
131
- <CtaRow
132
- primaryCta={primaryCta}
133
- secondaryCta={secondaryCta}
134
- className="reveal reveal-delay-3 mt-6"
135
- />
136
- </Section>
137
- );
138
- }
139
-
140
94
  /* ============ mission band ============ */
141
95
 
142
96
  /* Rev 10: the band is pure thesis — the quote carries the mission alone.
@@ -231,23 +185,15 @@ function HomeFacesSection({
231
185
  );
232
186
  }
233
187
 
234
- /* ============ living-proof colophon ============ */
235
-
236
- // The colophon renders through the shared AliveLine component directly.
237
- const aliveSchema = z.object({
238
- claim: z.string(),
239
- links: z.array(ctaSchema),
240
- });
241
-
242
188
  /* ============ the home section group ============ */
243
189
 
244
190
  /**
245
191
  * The umbrella home page's authored sections. The namespace ("home") matches
246
192
  * the route id, so each stores as site-content/home/<section>.md and resolves
247
- * as "home:<section>". The hero is not here it is the live agent proximity
248
- * map (agent-discovery:proximity-map), whose authored copy lives at
249
- * site-content/home/network.md and merges over the live data via the content
250
- * overlay.
193
+ * as "home:<section>". Two sections live elsewhere: the hero is the live
194
+ * agent proximity map (agent-discovery:proximity-map) and the proof/ask is
195
+ * the knowledge map (topics:knowledge-map) both authored via overlay
196
+ * markdown merged over their live datasource payloads.
251
197
  */
252
198
  export const homeSections: SiteSectionGroup = sectionGroup("home", {
253
199
  growth: defineSection(growthSchema, HomeGrowthSection, {
@@ -260,11 +206,6 @@ export const homeSections: SiteSectionGroup = sectionGroup("home", {
260
206
  description:
261
207
  "Alone, it withers — problem trio (hollow numerals, no warmth)",
262
208
  }),
263
- "one-light": defineSection(oneLightSchema, HomeOneLightSection, {
264
- title: "One Light",
265
- description:
266
- "It starts with you — the single ask, after the mission and before the faces",
267
- }),
268
209
  mission: defineSection(missionSchema, HomeMissionSection, {
269
210
  title: "Mission",
270
211
  description:
@@ -274,8 +215,4 @@ export const homeSections: SiteSectionGroup = sectionGroup("home", {
274
215
  title: "Faces",
275
216
  description: "One practice, three faces — platform / work / foundation",
276
217
  }),
277
- alive: defineSection(aliveSchema, AliveLine, {
278
- title: "Alive",
279
- description: "Living-proof colophon — italic claim plus proof links",
280
- }),
281
218
  });
package/src/routes.ts CHANGED
@@ -17,9 +17,11 @@ export const aiRoutes: RouteDefinitionInput[] = [
17
17
  // The hero is the live agent proximity map, rendered from this brain's
18
18
  // own registry. dataQuery routes it through the datasource (live map
19
19
  // data); its hero copy is authored at site-content/home/network.md and
20
- // merged over via the content overlay. Then the rev-10 story: the pain
20
+ // merged over via the content overlay. Then the rev-11 story: the pain
21
21
  // (problem), how the parts come together (growth carries the system),
22
- // the mission, and only then the ask (one-light), the faces, the proof.
22
+ // the mission, and the ask carried by proof the knowledge map ("this
23
+ // site is a brain; this is what it knows, live") with the alive-line's
24
+ // proof links folded into its foot — and the faces to close.
23
25
  {
24
26
  id: "network",
25
27
  template: "agent-discovery:proximity-map",
@@ -28,9 +30,8 @@ export const aiRoutes: RouteDefinitionInput[] = [
28
30
  { id: "problem", template: "home:problem" },
29
31
  { id: "growth", template: "home:growth" },
30
32
  { id: "mission", template: "home:mission" },
31
- { id: "one-light", template: "home:one-light" },
33
+ { id: "knowledge", template: "topics:knowledge-map", dataQuery: {} },
32
34
  { id: "faces", template: "home:faces" },
33
- { id: "alive", template: "home:alive" },
34
35
  ],
35
36
  },
36
37
  {