feat: implement programmatic SEO routes and optimize meta tags

This commit is contained in:
mstfyldz
2026-05-30 22:02:55 +03:00
parent fa9e3edcd8
commit 7872e8862d
16 changed files with 947 additions and 629 deletions
+41 -34
View File
@@ -21,41 +21,48 @@ const ibmPlexMono = IBM_Plex_Mono({
variable: "--font-ibm-plex-mono",
});
export const metadata: Metadata = {
metadataBase: new URL('https://ayris.tech'),
title: "Ayris Tech | Forging the Future with AI & Blockchain",
description: "Ayris Tech delivers enterprise-grade digital transformation. We build the impossible for the next generation of business using AI, Blockchain, and modern web technologies.",
keywords: ["AI Solutions", "Blockchain Development", "Mobile App", "Web Development", "Digital Transformation"],
openGraph: {
title: "Ayris Tech | Forging the Future with AI & Blockchain",
description: "Ayris Tech delivers enterprise-grade digital transformation. We build the impossible for the next generation of business using AI, Blockchain, and modern web technologies.",
url: 'https://ayris.tech',
siteName: 'Ayris Tech',
images: [
{
url: '/og-image.jpg',
width: 1200,
height: 630,
alt: 'Ayris Tech - AI & Blockchain Solutions'
}
],
locale: 'en_US',
type: 'website',
},
twitter: {
card: 'summary_large_image',
title: "Ayris Tech | Forging the Future with AI & Blockchain",
description: "Ayris Tech delivers enterprise-grade digital transformation.",
images: ['/og-image.jpg'],
},
alternates: {
canonical: '/',
languages: {
'en': '/en',
'tr': '/tr',
import { getDictionary } from "@/get-dictionary";
export async function generateMetadata({ params }: { params: Promise<{ lang: Locale }> }): Promise<Metadata> {
const { lang } = await params;
const dict = await getDictionary(lang);
return {
metadataBase: new URL('https://ayris.tech'),
title: dict.meta.home.title,
description: dict.meta.home.desc,
keywords: ["AI Solutions", "Blockchain Development", "Mobile App", "Web Development", "Digital Transformation"],
openGraph: {
title: dict.meta.home.title,
description: dict.meta.home.desc,
url: 'https://ayris.tech',
siteName: 'Ayris Tech',
images: [
{
url: '/og-image.jpg',
width: 1200,
height: 630,
alt: 'Ayris Tech - AI & Blockchain Solutions'
}
],
locale: lang === 'tr' ? 'tr_TR' : 'en_US',
type: 'website',
},
},
};
twitter: {
card: 'summary_large_image',
title: dict.meta.home.title,
description: dict.meta.home.desc,
images: ['/og-image.jpg'],
},
alternates: {
canonical: '/',
languages: {
'en': '/en',
'tr': '/tr',
},
},
};
}
const jsonLd = {
'@context': 'https://schema.org',