Skip to content

Commit 84677e6

Browse files
committed
add logo to open graph gen pipeline
1 parent 7bfe123 commit 84677e6

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

src/pages/og/[...slug].ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,9 @@ export const { getStaticPaths, GET } = OGImageRoute({
2121
title: page.data.title,
2222
description: page.data.description,
2323
// Customize various colors and add a border.
24+
logo: {
25+
path: './src/assets/logo.svg',
26+
},
2427
bgGradient: [[24, 24, 27]],
2528
border: { color: [63, 63, 70], width: 20 },
2629
padding: 120,

0 commit comments

Comments
 (0)