diff options
| author | Yasutake Yohei <61961825+yasutakeyohei@users.noreply.github.com> | 2026-06-25 00:05:55 +0900 |
|---|---|---|
| committer | Yasutake Yohei <61961825+yasutakeyohei@users.noreply.github.com> | 2026-06-25 00:05:55 +0900 |
| commit | 9c5cc49aa0f269dafe154358ee23b27e8dce1d86 (patch) | |
| tree | 039535e7432e0137c78dd3abb939ae0a318c3485 /astro.config.mjs | |
| parent | 0f4716657300c0afe5c4c31ec7247955b5935f23 (diff) | |
CGitのソーシャルアイコンをカスタム fork/branch SVG に変更
SocialIcons コンポーネントを上書きして、CGit 用に
git リポジトリを表す fork/branch アイコンを表示。
- src/components/starlight/SocialIcons.astro を新規作成
- Starlight の social icon はカスタム SVG を受け付けないため、
コンポーネント上書きで対応
- X アイコンも併せてインライン化
Diffstat (limited to 'astro.config.mjs')
| -rw-r--r-- | astro.config.mjs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/astro.config.mjs b/astro.config.mjs index c1b5221..ef0da2a 100644 --- a/astro.config.mjs +++ b/astro.config.mjs @@ -226,6 +226,7 @@ export default defineConfig({ ], components: { PageTitle: "./src/components/starlight/PageTitle.astro", + SocialIcons: "./src/components/starlight/SocialIcons.astro", }, }), ], |
