homeHubCatalog
listHomeHubChapters(ll?)
Maps HOME_HUB_STRUCTURE entries to HomeHubChapter[]:
- Load base project via
getProductMarketingProject; merge showcase i18n withwithShowcaseCopywhenllis set. - Skip entries without project or
getHomeProductPrimaryLink. - Merge copy from
resolveHomeHubCopy(locale) orgetHomeHubContentEntry(English fallback). - Attach learn-more link, visual alt override, and
proprietaryflag from structure.
getHomeHubMinecraftMoreLink(projectId, ll?)
Secondary CTA for Minecraft shelf rows: prefers static homeHubContent learn-more, else demo/tour links with localized labels via resolveMinecraftMoreLinkLabel.
Sources: src/app/components/marketing-dashboard/homeHubCatalog.ts, src/app/components/marketing-dashboard/homeHubContent.ts