feat(seo): add localized route metadata

This commit is contained in:
poyrazavsever
2026-08-31 10:23:53 +03:00
parent 87e6279dec
commit e2c33d6b29
20 changed files with 399 additions and 54 deletions
+13 -5
View File
@@ -1,11 +1,19 @@
import { GalleryContent } from "@/components/gallery-content";
import { GALLERY_IMAGES } from "@/data/gallery";
import type { Metadata } from "next";
import { getStaticPageMetadata } from "@/lib/seo";
export const metadata: Metadata = {
title: "Galeri",
description: "Poyraz Avsever'in tasarımları, projeleri ve görsel içeriklerinden oluşan galeri portföyü.",
};
export async function generateMetadata({
params,
}: {
params: Promise<{ locale: string }>;
}) {
const { locale } = await params;
return getStaticPageMetadata({
locale,
page: "gallery",
path: "/gallery",
});
}
export default function GalleryPage() {
return <GalleryContent images={GALLERY_IMAGES} />;