aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/content/docs/dislexia-taiou.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/dislexia-taiou.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/dislexia-taiou.mdx')
-rw-r--r--src/content/docs/dislexia-taiou.mdx7
1 files changed, 5 insertions, 2 deletions
diff --git a/src/content/docs/dislexia-taiou.mdx b/src/content/docs/dislexia-taiou.mdx
index 79f4613..31758e9 100644
--- a/src/content/docs/dislexia-taiou.mdx
+++ b/src/content/docs/dislexia-taiou.mdx
@@ -4,8 +4,11 @@ description: 読み書きに困難を抱える子どもをひとりも見過ごã
tableOfContents: true
---
-<img
- src="/img/dislexia-eyecatch.webp"
+import { Image } from 'astro:assets';
+import * as assets from '@/assets/images';
+
+<Image
+ src={assets.dislexiaEyecatch}
alt="ディスレクシア(発達性読み書き障害)対応"
style="width:100%;max-height:480px;object-fit:cover;border-radius:12px;margin-bottom:0.25rem;box-shadow:0 2px 8px rgba(0,0,0,0.1)"
/>