]> git.otsuka.systems Git - cotsuka.github.io/commitdiff
hard-code y-value
authorCameron Otsuka <cameron@otsuka.haus>
Thu, 16 Apr 2026 03:45:44 +0000 (23:45 -0400)
committerCameron Otsuka <cameron@otsuka.haus>
Thu, 16 Apr 2026 03:45:44 +0000 (23:45 -0400)
src/utils/generateOpenGraphImage.ts

index 8e3c0296e38cbcecdc8bcdb0d8385870e2fc52bb..6e0c0713c551ed58aa7e40280f0b7fd371833d20 100644 (file)
@@ -25,7 +25,7 @@ const OG_IMAGE_WIDTH = 1200;
 const OG_IMAGE_HEIGHT = 630;
 const SAFE_TEXT_ZONE = {
   x: 120,
-  y: Math.round((OG_IMAGE_HEIGHT - 460) / 2),
+  y: 85,
   width: 960,
   height: 460,
 };