feat: refine portfolio content, contact, and supporting media

This commit is contained in:
2026-09-05 20:08:57 +03:00
parent 15bcdf7cec
commit 103427f95b
53 changed files with 824 additions and 204 deletions

View File

@@ -98,6 +98,7 @@ const readManifest = async (repositoryRoot) => {
const assetReferences = (content) => {
const references = [];
if (content.contact?.avatarAssetId !== undefined) references.push(content.contact.avatarAssetId);
const projects = content.projects;
if (typeof projects !== 'object' || projects === null || Array.isArray(projects)) {
throw new Error('Portfolio content must contain project collections.');