aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/content/docs/joutyo-koteikyu.mdx
diff options
context:
space:
mode:
authorYasutake Yohei <61961825+yasutakeyohei@users.noreply.github.com>2026-10-06 13:40:04 +0900
committerYasutake Yohei <61961825+yasutakeyohei@users.noreply.github.com>2026-10-06 13:40:04 +0900
commitee08d3491b487dea16855eec17bb5e0a2dfecd25 (patch)
treeb8cf58139788b67840e661df07fa12a7781d024a /src/content/docs/joutyo-koteikyu.mdx
parent2089b1b2c7ca65923f3ee70b75adf383723cfe0e (diff)
Astro 7へ更新し、画像をsrc/へ移行・重複を整理
- astro 6→7 / starlight 0.40→0.42 / sharp更新、markdown-remark導入 - markdownをunified()へ移行、compressHTML:trueで従来の空白を維持 - starlight日本語訳パッチを0.42.5向けに再生成 - 有益な画像をsrc/へ移行しpublic重複を削除、孤立画像を整理 - scripts/optimize-images.mjs を追加(prebuildで自動実行)
Diffstat (limited to 'src/content/docs/joutyo-koteikyu.mdx')
-rw-r--r--src/content/docs/joutyo-koteikyu.mdx7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/content/docs/joutyo-koteikyu.mdx b/src/content/docs/joutyo-koteikyu.mdx
index 3b1322d..30f0612 100644
--- a/src/content/docs/joutyo-koteikyu.mdx
+++ b/src/content/docs/joutyo-koteikyu.mdx
@@ -4,8 +4,11 @@ description: 小平市初の情緒固定級開設までの歩み — 保護者ã�
tableOfContents: true
---
-<img
- src="/img/joutyo-koteikyu-eyecatch.webp"
+import { Image } from 'astro:assets';
+import * as assets from '@/assets/images';
+
+<Image
+ src={assets.joutyoEyecatch}
alt="子どもたちが楽しく学ぶ様子"
style="width:100%;max-height:360px;object-fit:cover;border-radius:12px;margin-bottom:0.25rem;box-shadow:0 2px 8px rgba(0,0,0,0.1)"
/>