Skip to content

Commit 00a4183

Browse files
authored
Merge pull request #38 from BjornMelin/dev
feat(seo): v1.0.2 release - add OpenGraph and Twitter metadata to home page to avoid overwriting
2 parents 08b75e4 + 2891c15 commit 00a4183

File tree

1 file changed

+19
-1
lines changed

1 file changed

+19
-1
lines changed

src/app/page.tsx

+19-1
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,29 @@
11
import { Hero } from "@/components/sections/hero";
22
import { About } from "@/components/sections/about";
33
import { FeaturedProjects } from "@/components/sections/featured-projects";
4+
import type { Metadata } from "next";
45

5-
export const metadata = {
6+
export const metadata: Metadata = {
67
title: "Bjorn Melin - Senior Data Scientist & Cloud Solutions Architect",
78
description:
89
"Portfolio of Bjorn Melin, a Senior Data Scientist and Cloud Solutions Architect specializing in AI/ML solutions, GenAI innovation, and cloud-native architectures. 6x AWS Certified professional with expertise in machine learning and scalable cloud solutions.",
10+
openGraph: {
11+
type: 'website',
12+
title: 'Bjorn Melin - Senior Data Scientist & Cloud Solutions Architect',
13+
description: 'Portfolio of Bjorn Melin, a Senior Data Scientist and Cloud Solutions Architect specializing in AI/ML solutions, GenAI innovation, and cloud-native architectures.',
14+
images: [{
15+
url: '/screenshots/hero-preview.png',
16+
width: 1200,
17+
height: 630,
18+
alt: 'Bjorn Melin - Portfolio Hero Section'
19+
}]
20+
},
21+
twitter: {
22+
card: 'summary_large_image',
23+
title: 'Bjorn Melin - Senior Data Scientist & Cloud Solutions Architect',
24+
description: 'Portfolio of Bjorn Melin, a Senior Data Scientist and Cloud Solutions Architect specializing in AI/ML solutions, GenAI innovation, and cloud-native architectures.',
25+
images: ['/screenshots/hero-preview.png']
26+
}
927
};
1028

1129
export default function Home() {

0 commit comments

Comments
 (0)