feat: add sitemap.xml, robots.txt, full SEO metadata
This commit is contained in:
+40
-2
@@ -20,9 +20,47 @@ const jetbrainsMono = JetBrains_Mono({
|
||||
weight: ["400", "500", "600", "700"],
|
||||
});
|
||||
|
||||
const BASE_URL = 'https://ayrisai.xyz';
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: "DevHub YouTube | Educational Code & Resource Portal",
|
||||
description: "Official resource portal featuring tabbed code snippets, lesson notes, starter packs, and project downloads for my YouTube tutorials.",
|
||||
metadataBase: new URL(BASE_URL),
|
||||
title: {
|
||||
default: 'ayris.tech YouTube | Code & Resource Portal',
|
||||
template: '%s | ayris.tech YouTube',
|
||||
},
|
||||
description:
|
||||
'Official resource portal for the ayris.tech YouTube channel. Browse source code, lesson notes, cheatsheets, AI prompts, and project downloads for every tutorial.',
|
||||
keywords: [
|
||||
'Next.js', 'React', 'TypeScript', 'Tailwind CSS', 'Python',
|
||||
'YouTube tutorial', 'source code', 'ayris.tech', 'web development',
|
||||
'AI agents', 'Prisma', 'Docker', 'full-stack',
|
||||
],
|
||||
authors: [{ name: 'ayris.tech', url: BASE_URL }],
|
||||
creator: 'ayris.tech',
|
||||
openGraph: {
|
||||
type: 'website',
|
||||
locale: 'en_US',
|
||||
url: BASE_URL,
|
||||
siteName: 'ayris.tech YouTube Portal',
|
||||
title: 'ayris.tech YouTube | Code & Resource Portal',
|
||||
description:
|
||||
'Source code, lesson notes, cheatsheets, and project downloads for every ayris.tech YouTube tutorial.',
|
||||
images: [{ url: `${BASE_URL}/logo.jpeg`, width: 400, height: 400, alt: 'ayris.tech Logo' }],
|
||||
},
|
||||
twitter: {
|
||||
card: 'summary_large_image',
|
||||
title: 'ayris.tech YouTube | Code & Resource Portal',
|
||||
description: 'Source code, cheatsheets, AI prompts and downloads for every ayris.tech tutorial.',
|
||||
images: [`${BASE_URL}/logo.jpeg`],
|
||||
},
|
||||
robots: {
|
||||
index: true,
|
||||
follow: true,
|
||||
googleBot: { index: true, follow: true },
|
||||
},
|
||||
alternates: {
|
||||
canonical: BASE_URL,
|
||||
},
|
||||
};
|
||||
|
||||
export function generateStaticParams() {
|
||||
|
||||
Reference in New Issue
Block a user