- Added ogImages integration to generate Open Graph images for blog posts. - Updated configuration to include Open Graph settings and default preview image. - Refactored Head component to utilize new preview property for Open Graph meta tags. - Enhanced blog post schema to include preview image for structured data representation. - Introduced utility functions for creating Open Graph images with dynamic content.
30 lines
647 B
TypeScript
30 lines
647 B
TypeScript
export const config = {
|
|
author: {
|
|
name: "Valentin Popov",
|
|
email: "valentin@popov.link",
|
|
url: "https://popov.link/",
|
|
sameAs: ["https://www.linkedin.com/in/valentineus/", "https://github.com/valentineus"],
|
|
},
|
|
|
|
// Open Graph
|
|
og: {
|
|
color: {
|
|
bg: "#181818",
|
|
bgCode: "#3b3d42",
|
|
blossom: "#6da13f",
|
|
text: "#dee2e6",
|
|
},
|
|
defaultPreview: "/images/photo.png",
|
|
dimensions: {
|
|
height: 630,
|
|
width: 1200,
|
|
},
|
|
fonts: {
|
|
bold: "./src/assets/JetBrainsMono/JetBrainsMono-Bold.ttf",
|
|
regular: "./src/assets/JetBrainsMono/JetBrainsMono-Regular.ttf",
|
|
},
|
|
photo: "./public/images/photo.png",
|
|
website: "popov.link",
|
|
},
|
|
};
|