feat(seo): add localized route metadata
This commit is contained in:
@@ -1,4 +1,18 @@
|
||||
import { ContactContent } from "@/components/contact-content";
|
||||
import { getStaticPageMetadata } from "@/lib/seo";
|
||||
|
||||
export async function generateMetadata({
|
||||
params,
|
||||
}: {
|
||||
params: Promise<{ locale: string }>;
|
||||
}) {
|
||||
const { locale } = await params;
|
||||
return getStaticPageMetadata({
|
||||
locale,
|
||||
page: "contact",
|
||||
path: "/contact",
|
||||
});
|
||||
}
|
||||
|
||||
export default function ContactPage() {
|
||||
return <ContactContent />;
|
||||
|
||||
Reference in New Issue
Block a user