velxio/frontend/scripts
David Montero 4da00840c6 seo: own-locale canonical + hreflang for localized pages; /editor prerendered
- useSEO: for the static SEO routes (marketing pages, examples gallery,
  editor, home) the canonical is now the page's OWN locale variant and the
  head lists every locale variant as rel=alternate hreflang plus x-default
  on the locale-less English URL. /es/ and /zh-cn/ were declaring
  canonical=/ while Google indexed and ranked them on their own — an
  unstable contradiction. UGC pages (projects, profiles, example detail
  pages) are the same English content under every prefix and keep a single
  locale-less canonical with no hreflang.
- prerender-seo.mjs emits the same hreflang set into each prerendered page
  and writes dist/seo-routes.json (path/title/description) so the prod app
  shell can serve the /<locale>/<route> variants (which have no static file)
  with the route's own head.
- /editor gets seoMeta and a static SSR summary component, so it is
  prerendered: nginx now serves /editor/ as a real page and 301s /editor to
  it. Both forms answered 200 with the homepage head before, and Google
  indexed /editor and /editor/ as two pages.
2026-08-18 16:50:39 +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 seo: own-locale canonical + hreflang for localized pages; /editor prerendered 2026-08-18 16:50:39 +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