Skip to content

Commit 69be6de

Browse files
committed
og meta tags
1 parent 25ead2d commit 69be6de

File tree

2 files changed

+22
-0
lines changed

2 files changed

+22
-0
lines changed

docs/app/layout.tsx

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,7 @@ export const metadata: Metadata = {
2323
title: 'LogStruct - Zero-configuration JSON Logging for Ruby on Rails',
2424
description:
2525
'Type-safe JSON structured logging for Rails apps with support for Sidekiq, Shrine, ActiveStorage, CarrierWave, and more.',
26+
metadataBase: new URL('https://logstruct.com'),
2627
keywords: [
2728
'Rails',
2829
'Ruby',
@@ -36,6 +37,27 @@ export const metadata: Metadata = {
3637
icons: {
3738
icon: [{ url: '/favicon.ico' }, { url: '/favicon.png' }],
3839
},
40+
openGraph: {
41+
title: 'LogStruct - Zero-configuration JSON Logging for Ruby on Rails',
42+
description:
43+
'Type-safe JSON structured logging for Rails apps with support for Sidekiq, Shrine, ActiveStorage, CarrierWave, and more.',
44+
url: 'https://logstruct.com',
45+
siteName: 'LogStruct',
46+
type: 'website',
47+
images: [
48+
{
49+
url: '/images/og-image.jpg',
50+
alt: 'LogStruct',
51+
},
52+
],
53+
},
54+
twitter: {
55+
card: 'summary_large_image',
56+
title: 'LogStruct - Zero-configuration JSON Logging for Ruby on Rails',
57+
description:
58+
'Type-safe JSON structured logging for Rails apps with support for Sidekiq, Shrine, ActiveStorage, CarrierWave, and more.',
59+
images: ['/images/og-image.jpg'],
60+
},
3961
};
4062

4163
export default function RootLayout({

docs/public/images/og-image.jpg

297 KB
Loading

0 commit comments

Comments
 (0)