feat: close the shift with a Thoreau quote in the end letterbox

This commit is contained in:
2026-10-12 18:13:06 +03:00
parent 71465fa481
commit f4d9cb0cd4
14 changed files with 108 additions and 42 deletions

View File

@@ -231,6 +231,7 @@ const portfolioContentSchema = z.object({
afterglow: soundtrackAssetSourcesSchema,
driveLift: soundtrackAssetSourcesSchema,
}).strict().optional(),
closer: z.object({ quote: visibleString, attribution: visibleString }).strict().optional(),
sceneDescription: visibleString,
}).strict().superRefine((content, context) => {
const navigationIds = content.navigation.map((item) => item.id);

View File

@@ -175,6 +175,8 @@ export interface PortfolioContent {
contact: ContactContent;
metadata: MetadataContent;
soundtrack?: SoundtrackContent;
/** Public-domain closing quote shown in the end-of-shift letterbox. */
closer?: { quote: string; attribution: string };
sceneDescription: string;
}