31 lines
783 B
TypeScript
31 lines
783 B
TypeScript
import { generateRegistryMetadata, generateRegistryStructuredData } from "@/lib/seo"
|
|
import { AboutPage } from "@/components/about-page"
|
|
import type { Metadata } from "next"
|
|
import { businessConfig } from "@/lib/seo-config"
|
|
|
|
export async function generateMetadata(): Promise<Metadata> {
|
|
return {
|
|
...generateRegistryMetadata("aboutLegacy"),
|
|
alternates: {
|
|
canonical: `${businessConfig.website}/about-us`,
|
|
},
|
|
robots: {
|
|
index: false,
|
|
follow: true,
|
|
},
|
|
}
|
|
}
|
|
|
|
export default function About() {
|
|
const structuredData = generateRegistryStructuredData("aboutUs")
|
|
|
|
return (
|
|
<>
|
|
<script
|
|
type="application/ld+json"
|
|
dangerouslySetInnerHTML={{ __html: JSON.stringify(structuredData) }}
|
|
/>
|
|
<AboutPage />
|
|
</>
|
|
)
|
|
}
|