Files
mstfyldz e1d8bae5a4 feat(seo): implement SEO audit remediations
- Add dynamic sitemap.ts, robots.ts, and llms.txt route
- Add metadataBase and JSON-LD Organization schema to layout
- Set canonical alternates for all routes
- Migrate raw img tags to next/image for LCP optimization
- Add SEO dictionary strings to tr.json and en.json
2026-06-04 12:29:19 +03:00

27 lines
686 B
TypeScript

import { getDictionary, Locale } from "../../dictionaries";
import SSSClient from "./SSSClient";
export async function generateMetadata({ params }: { params: Promise<{ lang: string }> }) {
const { lang } = await params;
const dict = await getDictionary(lang as Locale);
return {
title: dict.seo.faq.title,
description: dict.seo.faq.description,
alternates: {
canonical: `/${lang}/sss`,
},
};
}
export default async function SSSPage({
params,
}: {
params: Promise<{ lang: string }>;
}) {
const { lang } = await params;
const locale = lang as Locale;
const dict = await getDictionary(locale);
return <SSSClient lang={locale} dict={dict} />;
}