feat: added new page media kit

This commit is contained in:
poyrazavsever
2026-07-18 14:39:18 +03:00
parent 5d46fd1356
commit 67fea16abd
5 changed files with 842 additions and 2 deletions
+45
View File
@@ -0,0 +1,45 @@
import type { Metadata } from "next";
import { notFound } from "next/navigation";
import { MediaKitContent } from "@/components/media-kit-content";
import type { MediaKitLocale } from "@/data/media-kit";
type MediaKitPageProps = {
params: Promise<{ locale: string }>;
};
export async function generateMetadata({
params,
}: MediaKitPageProps): Promise<Metadata> {
const { locale } = await params;
const isTurkish = locale === "tr";
return {
title: isTurkish ? "Medya Kiti" : "Media Kit",
description: isTurkish
? "Poyraz Avsever sponsorluk ve marka iş birlikleri medya kiti."
: "Poyraz Avsever media kit for sponsorships and brand partnerships.",
robots: {
index: false,
follow: false,
nocache: true,
googleBot: {
index: false,
follow: false,
noimageindex: true,
},
},
alternates: {
canonical: null,
},
};
}
export default async function MediaKitPage({ params }: MediaKitPageProps) {
const { locale } = await params;
if (locale !== "tr" && locale !== "en") {
notFound();
}
return <MediaKitContent locale={locale as MediaKitLocale} />;
}