docs(website): add provider pages and refresh docs
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
import { LandingPage } from "~/components/landing-page";
|
||||
import { getAgentPage } from "~/data/agent-pages";
|
||||
import { pageMeta } from "~/meta";
|
||||
|
||||
export function agentRouteOptions(slug: string) {
|
||||
const page = getAgentPage(slug);
|
||||
return {
|
||||
head: () => ({ meta: pageMeta(page.metaTitle, page.metaDescription) }),
|
||||
component: function AgentLandingPage() {
|
||||
return <LandingPage title={page.title} subtitle={page.subtitle} />;
|
||||
},
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user