Quick start

How to run the Next.js hub, where to add routes, and how SEO is wired up.

Development

From the monorepo root: `cd apps/hub && bun install && bun run dev`.

New page: add `src/app/<path>/page.tsx` — folder structure is the URL. Nothing else to register.

Blog: markdown in `content/blog/{locale}/*.md`; loader in `src/shared/blog/`. Routes under `src/app/[locale]/(site)/blog/`.

Static HTML

Put `.html` files under `public/` (e.g. `public/hosted/example.html`) — served at `/hosted/example.html`.

SEO & AI SEO

Per page: `generateMetadata()` plus the `JsonLdScript` component.

`sitemap.ts` and `robots.ts` live at `src/app/` root — generated automatically.

`public/llms.txt` — for AI crawlers (llmstxt.org).