Skip to content

Commit 1954dcc

Browse files
committed
improved seo stuff
1 parent 2bea5c8 commit 1954dcc

File tree

5 files changed

+10
-2
lines changed

5 files changed

+10
-2
lines changed

app/(marketing)/blogs/[slug]/page.tsx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,10 @@ export async function generateMetadata({ params }: IProps): Promise<Metadata> {
3636
return {
3737
title: `${blog.title} | RetroUI Blogs`,
3838
description: blog.description,
39+
openGraph: {
40+
images: blog.coverImage,
41+
title: `${blog.title} | RetroUI Blogs`,
42+
},
3943
};
4044
}
4145

app/layout.tsx

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,9 +25,13 @@ const shareTechMono = Share_Tech_Mono({
2525
});
2626

2727
export const metadata: Metadata = {
28-
title: "Retro Styled Tailwind UI Library | Retro UI",
28+
title: "Retro Styled React UI Library | Retro UI",
2929
description:
30-
"RetroUI - Retro styled TailwindCSS component library for modern web apps.",
30+
"RetroUI - Retro styled component library built with React and TailwindCSS for modern web apps.",
31+
openGraph: {
32+
images: "/banner.png",
33+
title: "Retro Styled React UI Library | Retro UI",
34+
},
3135
};
3236

3337
export default function RootLayout({

app/open-graph.png

-745 KB
Binary file not shown.

app/twitter-image.png

-745 KB
Binary file not shown.

public/banner.png

-23.1 KB
Loading

0 commit comments

Comments
 (0)