Skip to content

Commit

Permalink
Fix image in og
Browse files Browse the repository at this point in the history
  • Loading branch information
IhsenBouallegue committed Feb 4, 2024
1 parent 388a9b7 commit 3dd8592
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 2 additions & 1 deletion src/pages/og/[...slug].ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ export const { getStaticPaths, GET } = OGImageRoute({
description: page.data.description,
// Customize various colors and add a border.
logo: {
path: "./src/assets/logo/OpenIPC__OPENIPC_logo_vertical_white.svg",
path: "./src/assets/logo/OpenIPC__OPENIPC_logo_vertical_white.png",
size: [200],
},
bgGradient: [
Expand All @@ -31,6 +31,7 @@ export const { getStaticPaths, GET } = OGImageRoute({
],
border: { color: [255, 255, 255], width: 20 },
padding: 120,
fonts: ["https://fonts.gstatic.com/s/poppins/v20/pxiEyp8kv8JHgFVrJJfecg.woff2"]
};
},
});

0 comments on commit 3dd8592

Please sign in to comment.