Skip to content

Unify marketing locale routes#29

Draft
visoar wants to merge 1 commit into
mainfrom
codex/single-locale-routing
Draft

Unify marketing locale routes#29
visoar wants to merge 1 commit into
mainfrom
codex/single-locale-routing

Conversation

@visoar
Copy link
Copy Markdown
Member

@visoar visoar commented May 29, 2026

Summary

  • Move public marketing pages into the single src/app/[locale] route tree and remove the duplicate (pages) implementation.
  • Keep English bare URLs canonical by rewriting them internally to /en/... in src/proxy.ts; non-English bare marketing URLs still redirect to their locale prefix.
  • Update static locale params, metadata alternates, route tests, Lingo cache, and path documentation.

Verification

  • pnpm -s prettier:check
  • pnpm -s lint
  • pnpm -s type-check
  • pnpm -s test
  • LINGO_BUILD_MODE=cache-only pnpm -s build

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant