Skip to content

Commit 9bcd9a4

Browse files
Update OG image file path and add new background asset
Replaced the file path to point to the new "duende-og-bg-2.png" asset. Added the corresponding new image file to the project for generating Open Graph images. This ensures updated visuals in shared links.
1 parent bf13719 commit 9bcd9a4

2 files changed

Lines changed: 6 additions & 1 deletion

File tree

src/assets/duende-og-bg-2.png

519 KB
Loading

src/components/duende-og-image.tsx

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,12 @@ const { twj } = await import("tw-to-css");
44
import fs from "node:fs";
55
import path from "node:path";
66

7-
const filePath = path.join(process.cwd(), "src", "assets", "duende-og-bg.png");
7+
const filePath = path.join(
8+
process.cwd(),
9+
"src",
10+
"assets",
11+
"duende-og-bg-2.png",
12+
);
813
const imageBase64 = `data:image/png;base64,${fs.readFileSync(filePath).toString("base64")}`;
914

1015
export async function duendeOpenGraphImage({

0 commit comments

Comments
 (0)