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
This commit is contained in:
+11
-3
@@ -1,9 +1,17 @@
|
||||
import { getDictionary, Locale } from "../../dictionaries";
|
||||
import SSSClient from "./SSSClient";
|
||||
|
||||
export const metadata = {
|
||||
title: "SSS | Moy Group",
|
||||
};
|
||||
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,
|
||||
|
||||
Reference in New Issue
Block a user