diff --git a/app/[lang]/layout.tsx b/app/[lang]/layout.tsx index dccee77..e4b7d11 100644 --- a/app/[lang]/layout.tsx +++ b/app/[lang]/layout.tsx @@ -22,9 +22,53 @@ const ibmPlexMono = 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', + }, + }, +}; + +const jsonLd = { + '@context': 'https://schema.org', + '@type': 'Organization', + name: 'Ayris Tech', + url: 'https://ayris.tech', + logo: 'https://ayris.tech/logo.png', // Update with actual logo URL if available + description: 'Ayris Tech delivers enterprise-grade digital transformation using AI, Blockchain, and modern web technologies.', + address: { + '@type': 'PostalAddress', + addressLocality: 'Muğla', + addressCountry: 'TR' + } }; export async function generateStaticParams() { @@ -41,6 +85,12 @@ export default async function RootLayout({ const { lang } = await params; return ( +
+ + {children} diff --git a/app/robots.ts b/app/robots.ts new file mode 100644 index 0000000..d76e5f9 --- /dev/null +++ b/app/robots.ts @@ -0,0 +1,12 @@ +import { MetadataRoute } from 'next'; + +export default function robots(): MetadataRoute.Robots { + return { + rules: { + userAgent: '*', + allow: '/', + disallow: ['/admin/'], + }, + sitemap: 'https://ayris.tech/sitemap.xml', + }; +} diff --git a/app/sitemap.ts b/app/sitemap.ts new file mode 100644 index 0000000..67a8b8e --- /dev/null +++ b/app/sitemap.ts @@ -0,0 +1,50 @@ +import { MetadataRoute } from 'next'; + +export default function sitemap(): MetadataRoute.Sitemap { + const baseUrl = 'https://ayris.tech'; + + return [ + { + url: `${baseUrl}`, + lastModified: new Date(), + changeFrequency: 'weekly', + priority: 1, + }, + { + url: `${baseUrl}/en`, + lastModified: new Date(), + changeFrequency: 'weekly', + priority: 1, + }, + { + url: `${baseUrl}/tr`, + lastModified: new Date(), + changeFrequency: 'weekly', + priority: 1, + }, + { + url: `${baseUrl}/en/blog`, + lastModified: new Date(), + changeFrequency: 'weekly', + priority: 0.8, + }, + { + url: `${baseUrl}/tr/blog`, + lastModified: new Date(), + changeFrequency: 'weekly', + priority: 0.8, + }, + { + url: `${baseUrl}/en/work`, + lastModified: new Date(), + changeFrequency: 'monthly', + priority: 0.8, + }, + { + url: `${baseUrl}/tr/work`, + lastModified: new Date(), + changeFrequency: 'monthly', + priority: 0.8, + }, + ]; +}