Pages import feature server components and pass only route-derived props (slug, id). All data fetching, prefetch, and hydration is owned by the feature's .server.tsx component.
13 lines
275 B
TypeScript
13 lines
275 B
TypeScript
import { PageContent } from "@repo/marketing-pages/ui";
|
|
import { bindAll } from "../../server/bind-production";
|
|
|
|
export default async function AboutPage() {
|
|
await bindAll();
|
|
|
|
return (
|
|
<main className="px-6 py-8">
|
|
<PageContent slug="about" />
|
|
</main>
|
|
);
|
|
}
|