Skip to content

Commit 93ca6d9

Browse files
authored
Merge pull request #215 from mizurex/feat/global-metadata
enhance root layout metadata for better SEO
2 parents 116cb9a + 7abc377 commit 93ca6d9

File tree

2 files changed

+60
-0
lines changed

2 files changed

+60
-0
lines changed
109 KB
Loading

apps/web/src/app/layout.tsx

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,66 @@ export const metadata: Metadata = {
3838
icons: {
3939
icon: "/images/os-image.ico",
4040
},
41+
keywords: [
42+
"opensox",
43+
"Opensox",
44+
"Opensox AI",
45+
"Open Source Projects",
46+
"Search Open Source Projects",
47+
"Gsoc Organizations",
48+
"Open source Startups",
49+
"trpc",
50+
"nextjs",
51+
"open source",
52+
"Tailwind CSS",
53+
"TypeScript",
54+
"React",
55+
"GSOC mentorship",
56+
"GSOC proposal",
57+
"LFX Mentorship",
58+
"Outreachy",
59+
],
60+
metadataBase: new URL("https://opensox.ai"),
61+
alternates: {
62+
canonical: "/",
63+
},
64+
openGraph: {
65+
type: "website",
66+
locale: "en_US",
67+
url: new URL("https://opensox.ai"),
68+
siteName: "Opensox",
69+
title: "Opensox | find the perfect open source project to contribute",
70+
description:
71+
"Discover curated open source projects in seconds, Filter by stack, personalized recommendations, and more.",
72+
images: [
73+
{
74+
url: "/images/opensox_og.webp",
75+
width: 1200,
76+
height: 630,
77+
alt: "Opensox product preview",
78+
},
79+
],
80+
},
81+
twitter: {
82+
card: "summary_large_image",
83+
site: "@opensox",
84+
title: "Opensox | find the perfect open source project to contribute",
85+
description:
86+
"Discover curated open source projects in seconds, Filter by stack, personalized recommendations, and more.",
87+
images: ["/images/opensox_og.webp"],
88+
creator: "@ajeetunc",
89+
},
90+
robots: {
91+
index: true,
92+
follow: true,
93+
googleBot: {
94+
index: true,
95+
follow: true,
96+
"max-image-preview": "large",
97+
"max-video-preview": -1,
98+
"max-snippet": -1,
99+
},
100+
},
41101
};
42102

43103
export default async function RootLayout({

0 commit comments

Comments
 (0)