Skip to content

Commit

Permalink
Add og
Browse files Browse the repository at this point in the history
  • Loading branch information
aXenDeveloper committed Aug 2, 2023
1 parent 62b4f09 commit b282105
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 3 deletions.
20 changes: 17 additions & 3 deletions app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,9 @@ import { Metadata } from 'next';
import { CONFIG_TITLE } from '../config';

export function generateMetadata(): Metadata {
const desc =
"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.";

return {
title: {
default: CONFIG_TITLE,
Expand All @@ -13,9 +16,20 @@ export function generateMetadata(): Metadata {
icons: {
shortcut: '/icons/favicon.ico'
},
description:
"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.",
themeColor: '#e21124'
description: desc,
themeColor: '#e21124',
openGraph: {
title: CONFIG_TITLE,
description: desc,
images: [
{
url: '/icons/og.png',
width: 1050,
height: 350,
alt: CONFIG_TITLE
}
]
}
};
}

Expand Down
Binary file added public/icons/og.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

1 comment on commit b282105

@vercel
Copy link

@vercel vercel bot commented on b282105 Aug 2, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.