aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorYasutake Yohei <yohei@yasutakeyohei.com>2026-07-01 10:14:59 +0900
committerYasutake Yohei <yohei@yasutakeyohei.com>2026-07-01 10:14:59 +0900
commit858399c8eca9e5d8993ffe45eac32687032f2fe7 (patch)
treedb4953cef93addc86586864214a7efe999e355af
parentf0a26a34ab5adb3b5cf9d71691f914b724849d4c (diff)
OG画像を修正、サイドバーからtextlintを削除
OG画像: フォントサイズを大きくし、whisperタイトルを修正 astro.config.mjs: サイドバーからtextlintガイド(下書き)を削除
-rw-r--r--astro.config.mjs4
-rw-r--r--src/pages/og/[slug].png.ts8
2 files changed, 4 insertions, 8 deletions
diff --git a/astro.config.mjs b/astro.config.mjs
index 6940396..4d5e8e7 100644
--- a/astro.config.mjs
+++ b/astro.config.mjs
@@ -152,10 +152,6 @@ export default defineConfig({
label: "Whisperで文字起こしする方法",
link: "/whisper-to-ai-moji-okoshi/",
},
- {
- label: "textlintではじめる日本語文章校正",
- link: "/textlint-guide/",
- },
{ label: "コンタクト", link: "/contact/" },
],
customCss: ["./src/styles/custom.css"],
diff --git a/src/pages/og/[slug].png.ts b/src/pages/og/[slug].png.ts
index 543fe46..712a39f 100644
--- a/src/pages/og/[slug].png.ts
+++ b/src/pages/og/[slug].png.ts
@@ -9,7 +9,7 @@ const pages: Record<string, string> = {
support: "ご支援",
contact: "コンタクト",
"whisper-to-ai-moji-okoshi":
- "無料・超高精度のWhisper + 生成AIで文字起こしする方法",
+ "無料・超高精度のWhisperで文字起こしする方法(+α)",
"koubunsyo-kanri": "公文書管理の不正追及の軌跡",
"ijime-judai-jitai": "いじめ重大事態への対応の軌跡",
"fukushi-shisetsu-gyakutai": "障害者福祉施設における虐待通報対応の軌跡",
@@ -123,7 +123,7 @@ export async function GET({ params }: { params: { slug: string } }) {
type: "div",
props: {
style: {
- fontSize: "48px",
+ fontSize: "64px",
fontWeight: "700",
lineHeight: "1.2",
letterSpacing: "-0.02em",
@@ -137,7 +137,7 @@ export async function GET({ params }: { params: { slug: string } }) {
style: {
display: "flex",
gap: "14px",
- fontSize: "24px",
+ fontSize: "32px",
fontWeight: "500",
color: "#a5b4fc",
},
@@ -166,7 +166,7 @@ export async function GET({ params }: { params: { slug: string } }) {
style: {
display: "flex",
gap: "16px",
- fontSize: "20px",
+ fontSize: "26px",
fontWeight: "400",
color: "rgba(255,255,255,0.45)",
paddingTop: "12px",