Dynamic sitemap.xml + robots.txt for SEO
Auto-generated sitemap from the typed content collections — every new customer story, resource, comparison, and changelog entry indexed without anyone editing a static file.
Next.js auto-discovers /sitemap.xml from the new src/app/sitemap.ts route handler. The handler walks the four typed content collections (customers, resources, comparisons, changelog) plus the industry pages and emits a fresh sitemap on every build. Adding a new entry to any of those collections automatically gets it indexed.
Paired with /robots.txt that explicitly disallows authenticated portals (/admin, /superadmin, /organization, /staff, /dashboard, /family) and their API counterparts. Public marketing routes are allowed; the sitemap reference points crawlers at the right place.
Also cross-linked /security ↔ /trust so visitors arriving from a competitor's site land at the Trust Center for procurement-grade detail (subprocessor list, BAA, vuln disclosure) while /security remains the marketing-tone overview.