src/pages/plataforma-thinkwiseThis directory powers both the overview page (/plataforma-thinkwise/) and every capability detail route (/plataforma-thinkwise/[slug]/). Use it as the reference when adding or fixing logic in the other collections (modelos-de-adocao, perspectivas-sobre-a-plataforma, temas-de-modernizacao, conceitos-de-desenvolvimento follow the same pattern).
index.astro)getLandingPageFrontmatter("plataforma-thinkwise").SectionIntro with title, lead, excerpt.article.content + AsideCards) when the landing meta defines an aside.HeroBackplate CTA hardcoded for the platform prompt.src/data/plataformaThinkwise.ts (capabilities array) rendered via CollectionGrid + CollectionCard + IllustrationThumb..content-visual pattern when mirroring this layout elsewhere.[slug].astro)getStaticPaths loads every content.md under src/content/plataforma-thinkwise/**/ and also any slugs that exist only via meta.yaml (ensures cards defined in data but not yet authored still build).entry (Markdown module) provides markdown body + frontmatter when the file exists.capabilities.find((c) => c.slug === rawSlug) supplies fallback metadata and relations even if the Markdown module is missing.getLandingPageFrontmatter("plataforma-thinkwise") exports meta used as CTA fallback.SectionIntro displays title/lead/excerpt (from frontmatter or capabilityData fallback).AsideCards receives finalAsideSections, built by combining:
aside definitions from meta.yaml./contato?c=plataforma-thinkwise&s={slug} is always reachable).relationSections iterates through the relations defined in meta.yaml and uses mapRelations() with the prebuilt relationMaps. It excludes the current slug to avoid self-references.CollectionGrid. Each card adds a Tag slot that names the originating collection. The label/color pair is resolved through collectionInfo (landing metadata for each top-level section).aside or, as fallback, from the landing meta (first entry that contains .cta). The href always includes both c and s.src/data/utils.ts. When new relation types appear, update relationMaps, the helper map inside this page, and the documentation.IllustrationThumb with the slug so cards and hero banners remain deterministic between builds.publishDate is taken from frontmatter or the data entry, allowing Layout to emit Article JSON-LD.If you introduce another collection that needs the same features:
buildAsideSections function).