About bext (route group)
This page lives at src/app/examples/(marketing)/about/page.tsx but is served at /examples/about. Folders wrapped in parens are route groups — they exist for organization or to share a layout without affecting the URL.
Tip
A route group can have its own layout.tsx: all pages in the group share it without the folder name appearing in any URL. Handy for applying a marketing shell to /about and /pricing without creating a /marketing prefix in the URLs.
Sibling page in the same group
- /examples/about — this page
- /examples/pricing — sibling in the same
(marketing)
// File path: src/app/examples/(marketing)/about/page.tsx
// URL: /examples/about
export default function Page() {
return <h1>About bext</h1>;
}