Skip to content
This repository was archived by the owner on Oct 1, 2025. It is now read-only.

Commit b282105

Browse files
committed
Add og
1 parent 62b4f09 commit b282105

File tree

2 files changed

+17
-3
lines changed

2 files changed

+17
-3
lines changed

app/layout.tsx

Lines changed: 17 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,9 @@ import { Metadata } from 'next';
55
import { CONFIG_TITLE } from '../config';
66

77
export function generateMetadata(): Metadata {
8+
const desc =
9+
"I'm Maciej Piotr Balcerzak and I'm working as Software Engineer with a passion for creating beautiful and user-friendly products. I have experience in front-end, back-end, testing and UX/UI design, but my primary experience is front-end. Also I'm contributor for Invision Community making themes and apps.";
10+
811
return {
912
title: {
1013
default: CONFIG_TITLE,
@@ -13,9 +16,20 @@ export function generateMetadata(): Metadata {
1316
icons: {
1417
shortcut: '/icons/favicon.ico'
1518
},
16-
description:
17-
"I'm Maciej Piotr Balcerzak and I'm working as Software Engineer with a passion for creating beautiful and user-friendly products. I have experience in front-end, back-end, testing and UX/UI design, but my primary experience is front-end. Also I'm contributor for Invision Community making themes and apps.",
18-
themeColor: '#e21124'
19+
description: desc,
20+
themeColor: '#e21124',
21+
openGraph: {
22+
title: CONFIG_TITLE,
23+
description: desc,
24+
images: [
25+
{
26+
url: '/icons/og.png',
27+
width: 1050,
28+
height: 350,
29+
alt: CONFIG_TITLE
30+
}
31+
]
32+
}
1933
};
2034
}
2135

public/icons/og.png

8.82 KB
Loading

0 commit comments

Comments
 (0)