velxio/frontend/scripts
David Montero 2c43c638a1 prerender: SSR bodies were never injected; examples gallery renders on the server
replaceRootSeo() swaps the static #root-seo fallback for the page's SSR
body by string search. The old regex required a <script> right after the
block, but Vite hoists the module script into <head> in the built
index.html, so it never matched: every prerendered page (landings, /v3,
/about, all 171 example pages) shipped the HOMEPAGE's fallback body —
same <h1>, same nav — under its own <head>. Two hundred near-duplicate
bodies, and none of the landings' actual content (h1, sections, FAQ)
ever reached the crawler.

ExamplesGallery passes a server snapshot to useSyncExternalStore so
/examples SSRs instead of falling back to meta-only.
2026-08-18 18:10:36 +02:00
..
add-passive-presets.mjs refactor: rename components and update prefixes to 'velxio-' for consistency 2026-04-21 16:45:45 -03:00
copy-monaco.mjs fix(monaco): cross-platform postinstall via Node script 2026-05-11 12:42:33 -03:00
generate-sitemap.mjs seo/analytics: real GA attribution, tight robots.txt, no build-date lastmod, GA only on velxio.dev 2026-08-18 16:04:48 +02:00
generate-sitemap.ts refactor(routes): OSS is the editor; marketing moves to the overlay 2026-07-30 17:50:14 +02:00
prerender-seo.mjs prerender: SSR bodies were never injected; examples gallery renders on the server 2026-08-18 18:10:36 +02:00
translate-i18n.mjs feat(i18n): translate Velxio 2.0 + 2.5 release pages (block 13) 2026-05-09 17:19:16 -03:00