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:
@@ -2,9 +2,17 @@ import { SectionHeader } from "@/app/components/ui/section-header";
|
||||
import { Badge } from "@/app/components/ui/badge";
|
||||
import { getDictionary, Locale } from "../../dictionaries";
|
||||
|
||||
export const metadata = {
|
||||
title: "Dijital Menü | 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.menu.title,
|
||||
description: dict.seo.menu.description,
|
||||
alternates: {
|
||||
canonical: `/${lang}/menu`,
|
||||
},
|
||||
};
|
||||
}
|
||||
|
||||
export default async function MenuPage({
|
||||
params,
|
||||
|
||||
Reference in New Issue
Block a user