Skip to content

Commit

Permalink
Remove contribution guidelines and update OGImageRoute configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
IhsenBouallegue committed Feb 4, 2024
1 parent 3dd8592 commit 7448a9a
Show file tree
Hide file tree
Showing 6 changed files with 19 additions and 7 deletions.
Binary file added src/OpenIPC__OPENIPC_logo_vertical_white.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 6 additions & 0 deletions src/content/docs/development/contribution-docs.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
title: Contributing to the docs
description: A guide to help anyone contribute to OpenIPC's docs.
---

##
4 changes: 0 additions & 4 deletions src/content/docs/development/contribution-guidelines.md

This file was deleted.

Binary file added src/fonts/Poppins-Bold.ttf
Binary file not shown.
Binary file added src/fonts/Poppins-Medium.ttf
Binary file not shown.
16 changes: 13 additions & 3 deletions src/pages/og/[...slug].ts
Original file line number Diff line number Diff line change
Expand Up @@ -22,16 +22,26 @@ 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.png",
size: [200],
path: "./src/OpenIPC__OPENIPC_logo_vertical_white.png",
size: [200, 200], // Modify the size to have exactly two elements.
},
bgGradient: [
[76, 96, 216],
[31, 40, 92],
],
border: { color: [255, 255, 255], width: 20 },
padding: 120,
fonts: ["https://fonts.gstatic.com/s/poppins/v20/pxiEyp8kv8JHgFVrJJfecg.woff2"]
fonts: ["./src/fonts/Poppins-Bold.ttf", "./src/fonts/Poppins-Medium.ttf"],
font: {
title: {
weight: "Black",
families: ["Poppins", "sans-serif"],
},
description: {
weight: "Medium",
families: ["Poppins", "sans-serif"],
}
}
};
},
});

0 comments on commit 7448a9a

Please sign in to comment.