feat(seo): add localized route metadata
This commit is contained in:
@@ -3,6 +3,21 @@ import { HomeProjectsSection } from "@/components/home-projects-section";
|
||||
import { HomeVideosSection } from "@/components/home-videos-section";
|
||||
import { ReferencesSection } from "@/components/references-section";
|
||||
import { getHomeBlogNews } from "@/data/blog";
|
||||
import { getStaticPageMetadata } from "@/lib/seo";
|
||||
|
||||
export async function generateMetadata({
|
||||
params,
|
||||
}: {
|
||||
params: Promise<{ locale: string }>;
|
||||
}) {
|
||||
const { locale } = await params;
|
||||
return getStaticPageMetadata({
|
||||
locale,
|
||||
page: "home",
|
||||
path: "/",
|
||||
absoluteTitle: true,
|
||||
});
|
||||
}
|
||||
|
||||
export default async function Home({
|
||||
params,
|
||||
|
||||
Reference in New Issue
Block a user