Skip to content

Commit 5f00ae8

Browse files
committed
Fixed OG details for main domain
1 parent 76834d3 commit 5f00ae8

2 files changed

Lines changed: 25 additions & 7 deletions

File tree

.idea/workspace.xml

Lines changed: 2 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/app/layout.js

Lines changed: 23 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,17 +8,36 @@ const openSans = Open_Sans({
88
display: 'swap',
99
variable: '--font-open-sans',
1010
});
11+
const siteUrl = 'https://devfest.gdgmontreal.com';
12+
const siteTitle = 'DevFest Montreal 2025';
13+
const siteDescription =
14+
'The biggest Google Developer Group community-run developer event in Montreal';
15+
1116

1217
export const metadata = {
13-
title: 'DevFest Montreal 2025',
14-
description:
15-
'The biggest Google Developer Group community-run developer event in Montreal',
18+
metadataBase: new URL(siteUrl),
19+
title: siteTitle,
20+
description: siteDescription,
21+
alternates: {
22+
canonical: '/',
23+
languages: {
24+
'en': '/en',
25+
'fr': '/fr',
26+
},
27+
},
28+
openGraph: {
29+
title: siteTitle,
30+
description: siteDescription,
31+
url: siteUrl,
32+
images: [`${siteUrl}/images/logo/eventHeader.jpg`],
33+
},
1634
};
1735

36+
1837
export default function RootLayout({ children }) {
1938
return (
2039
<html className={openSans.className}>
21-
<body className="flex flex-col min-h-screen">{children}</body>
40+
<body className="flex flex-col min-h-screen">{children}</body>
2241
</html>
2342
);
2443
}

0 commit comments

Comments
 (0)