feat(seo): prerender /about so the release cards + meta are in raw HTML

/about had its own seoMeta but was never in the entry-server prerender map,
so it was served as the SPA shell (homepage title/canonical) — a soft-404
risk for a page that is in the sitemap. Add it to ROUTE_COMPONENTS so
prerender-seo.mjs emits dist/about/index.html with the real About content
(now featuring the Velxio 3.0 release card) and a self-referencing canonical.
This commit is contained in:
David Montero 2026-06-26 08:06:20 +02:00
parent 7fb2ee3de9
commit d0a51e6239
1 changed files with 2 additions and 0 deletions

View File

@ -27,6 +27,7 @@ import { RaspberryPiSimulatorPage } from './pages/RaspberryPiSimulatorPage';
import { Velxio2Page } from './pages/Velxio2Page';
import { Velxio25Page } from './pages/Velxio25Page';
import { Velxio3Page } from './pages/Velxio3Page';
import { AboutPage } from './pages/AboutPage';
import { DocsPage } from './pages/DocsPage';
import { ExampleDetailPage } from './pages/ExampleDetailPage';
@ -46,6 +47,7 @@ const ROUTE_COMPONENTS: Record<string, React.FC> = {
'/v2': Velxio2Page,
'/v2-5': Velxio25Page,
'/v3': Velxio3Page,
'/about': AboutPage,
// Docs sections — all use DocsPage with different URL params
'/docs': DocsPage,
'/docs/intro': DocsPage,