@rizom/site-rizom-ai 0.2.0-alpha.235 → 0.2.0-alpha.236
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 +4 -4
- package/src/brain.tsx +5 -5
- package/src/foundation.tsx +3 -3
- package/src/home.tsx +4 -4
- package/src/shared.tsx +6 -6
- package/src/work.tsx +2 -2
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rizom/site-rizom-ai",
|
|
3
|
-
"version": "0.2.0-alpha.
|
|
3
|
+
"version": "0.2.0-alpha.236",
|
|
4
4
|
"description": "Rizom AI site package for hosted Rover deployments",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -17,9 +17,9 @@
|
|
|
17
17
|
"prepack": "publish-manifest prepare"
|
|
18
18
|
},
|
|
19
19
|
"dependencies": {
|
|
20
|
-
"@rizom/site": "0.2.0-alpha.
|
|
21
|
-
"@rizom/site-rizom": "0.2.0-alpha.
|
|
22
|
-
"@rizom/site-sections": "0.
|
|
20
|
+
"@rizom/site": "0.2.0-alpha.232",
|
|
21
|
+
"@rizom/site-rizom": "0.2.0-alpha.236",
|
|
22
|
+
"@rizom/site-sections": "1.0.0-alpha.232"
|
|
23
23
|
},
|
|
24
24
|
"publishConfig": {
|
|
25
25
|
"access": "public"
|
package/src/brain.tsx
CHANGED
|
@@ -42,7 +42,7 @@ function ChapterHead({
|
|
|
42
42
|
intro,
|
|
43
43
|
}: {
|
|
44
44
|
cap: string;
|
|
45
|
-
capNote
|
|
45
|
+
capNote: string | null;
|
|
46
46
|
headline: string;
|
|
47
47
|
intro: string;
|
|
48
48
|
}): JSX.Element {
|
|
@@ -141,7 +141,7 @@ function Checks({ items }: { items: string[] }): JSX.Element {
|
|
|
141
141
|
|
|
142
142
|
const captureSchema = z.object({
|
|
143
143
|
cap: z.string(),
|
|
144
|
-
capNote: z.string().
|
|
144
|
+
capNote: z.string().nullable().default(null),
|
|
145
145
|
headline: z.string(),
|
|
146
146
|
intro: z.string(),
|
|
147
147
|
checks: z.array(z.string()),
|
|
@@ -181,7 +181,7 @@ function BrainCaptureSection({
|
|
|
181
181
|
|
|
182
182
|
const askSchema = z.object({
|
|
183
183
|
cap: z.string(),
|
|
184
|
-
capNote: z.string().
|
|
184
|
+
capNote: z.string().nullable().default(null),
|
|
185
185
|
headline: z.string(),
|
|
186
186
|
intro: z.string(),
|
|
187
187
|
});
|
|
@@ -216,7 +216,7 @@ function BrainAskSection({
|
|
|
216
216
|
|
|
217
217
|
const runSchema = z.object({
|
|
218
218
|
cap: z.string(),
|
|
219
|
-
capNote: z.string().
|
|
219
|
+
capNote: z.string().nullable().default(null),
|
|
220
220
|
headline: z.string(),
|
|
221
221
|
intro: z.string(),
|
|
222
222
|
note: z.string(),
|
|
@@ -251,7 +251,7 @@ function BrainRunSection({
|
|
|
251
251
|
|
|
252
252
|
const connectSchema = z.object({
|
|
253
253
|
cap: z.string(),
|
|
254
|
-
capNote: z.string().
|
|
254
|
+
capNote: z.string().nullable().default(null),
|
|
255
255
|
headline: z.string(),
|
|
256
256
|
intro: z.string(),
|
|
257
257
|
cta: ctaSchema,
|
package/src/foundation.tsx
CHANGED
|
@@ -76,9 +76,9 @@ const indexRowSchema = z.object({
|
|
|
76
76
|
kicker: z.string(),
|
|
77
77
|
title: z.string(),
|
|
78
78
|
text: z.string(),
|
|
79
|
-
href: z.string().
|
|
80
|
-
meta: z.string().
|
|
81
|
-
metaSub: z.string().
|
|
79
|
+
href: z.string().nullable().default(null),
|
|
80
|
+
meta: z.string().nullable().default(null),
|
|
81
|
+
metaSub: z.string().nullable().default(null),
|
|
82
82
|
});
|
|
83
83
|
|
|
84
84
|
const indexSchema = z.object({
|
package/src/home.tsx
CHANGED
|
@@ -36,7 +36,7 @@ const growthStageSchema = z.object({
|
|
|
36
36
|
|
|
37
37
|
const growthSchema = z.object({
|
|
38
38
|
cap: z.string(),
|
|
39
|
-
capNote: z.string().
|
|
39
|
+
capNote: z.string().nullable().default(null),
|
|
40
40
|
stages: z.array(growthStageSchema),
|
|
41
41
|
});
|
|
42
42
|
|
|
@@ -97,9 +97,9 @@ function HomeProblemSection({
|
|
|
97
97
|
Sub and CTAs stay authorable but optional, so older content parses. */
|
|
98
98
|
const missionSchema = z.object({
|
|
99
99
|
quote: z.string(),
|
|
100
|
-
sub: z.string().
|
|
101
|
-
primaryCta: ctaSchema.
|
|
102
|
-
secondaryCta: ctaSchema.
|
|
100
|
+
sub: z.string().nullable().default(null),
|
|
101
|
+
primaryCta: ctaSchema.nullable().default(null),
|
|
102
|
+
secondaryCta: ctaSchema.nullable().default(null),
|
|
103
103
|
});
|
|
104
104
|
|
|
105
105
|
function HomeMissionSection({
|
package/src/shared.tsx
CHANGED
|
@@ -39,7 +39,7 @@ export function SectCap({
|
|
|
39
39
|
className = "",
|
|
40
40
|
}: {
|
|
41
41
|
lead: string;
|
|
42
|
-
trail?: string | undefined;
|
|
42
|
+
trail?: string | null | undefined;
|
|
43
43
|
tone?: "accent" | "cold";
|
|
44
44
|
className?: string;
|
|
45
45
|
}): JSX.Element {
|
|
@@ -125,9 +125,9 @@ export interface IndexRowData {
|
|
|
125
125
|
kicker: string;
|
|
126
126
|
title: string;
|
|
127
127
|
text: string;
|
|
128
|
-
href?: string | undefined;
|
|
129
|
-
meta?: string | undefined;
|
|
130
|
-
metaSub?: string | undefined;
|
|
128
|
+
href?: string | null | undefined;
|
|
129
|
+
meta?: string | null | undefined;
|
|
130
|
+
metaSub?: string | null | undefined;
|
|
131
131
|
}
|
|
132
132
|
|
|
133
133
|
export function IndexRow({
|
|
@@ -228,11 +228,11 @@ export const trioItemSchema: z.ZodObject<{
|
|
|
228
228
|
|
|
229
229
|
export const trioSchema: z.ZodObject<{
|
|
230
230
|
cap: z.ZodString;
|
|
231
|
-
capNote: z.
|
|
231
|
+
capNote: z.ZodDefault<z.ZodNullable<z.ZodString>>;
|
|
232
232
|
items: z.ZodArray<typeof trioItemSchema>;
|
|
233
233
|
}> = z.object({
|
|
234
234
|
cap: z.string(),
|
|
235
|
-
capNote: z.string().
|
|
235
|
+
capNote: z.string().nullable().default(null),
|
|
236
236
|
items: z.array(trioItemSchema),
|
|
237
237
|
});
|
|
238
238
|
|
package/src/work.tsx
CHANGED
|
@@ -160,7 +160,7 @@ function WorkHeroSection({
|
|
|
160
160
|
|
|
161
161
|
const statementSchema = z.object({
|
|
162
162
|
cap: z.string(),
|
|
163
|
-
capNote: z.string().
|
|
163
|
+
capNote: z.string().nullable().default(null),
|
|
164
164
|
headline: z.string(),
|
|
165
165
|
intro: z.string(),
|
|
166
166
|
});
|
|
@@ -197,7 +197,7 @@ function WorkProblemSection(
|
|
|
197
197
|
|
|
198
198
|
const workshopSchema = z.object({
|
|
199
199
|
cap: z.string(),
|
|
200
|
-
capNote: z.string().
|
|
200
|
+
capNote: z.string().nullable().default(null),
|
|
201
201
|
headline: z.string(),
|
|
202
202
|
intro: z.string(),
|
|
203
203
|
steps: z.array(
|