From c40643a98487d0dbe4d9b89877fb98249055c31d Mon Sep 17 00:00:00 2001
From: Yasutake Yohei <61961825+yasutakeyohei@users.noreply.github.com>
Date: Thu, 25 Jun 2026 13:56:02 +0900
Subject: 全ページにSNS共有ボタンと見出しアンカーリンクを追加
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
- SocialShare コンポーネント: X/Facebook/LINE 共有ボタンを
各ページフッターに表示
- Footer コンポーネントを上書きして SocialShare を組み込み
- 見出し(h2/h3)にホバーでコピー可能なアンカーリンクを追加
- custom.css にアンカーリンクのスタイルを追加
---
src/components/starlight/Footer.astro | 64 +++++++++++++++++++++++++++++++++++
1 file changed, 64 insertions(+)
create mode 100644 src/components/starlight/Footer.astro
(limited to 'src/components/starlight')
diff --git a/src/components/starlight/Footer.astro b/src/components/starlight/Footer.astro
new file mode 100644
index 0000000..7b10569
--- /dev/null
+++ b/src/components/starlight/Footer.astro
@@ -0,0 +1,64 @@
+---
+import EditLink from 'virtual:starlight/components/EditLink';
+import LastUpdated from 'virtual:starlight/components/LastUpdated';
+import Pagination from 'virtual:starlight/components/Pagination';
+import config from 'virtual:starlight/user-config';
+import { Icon } from '@astrojs/starlight/components';
+import SocialShare from '../SocialShare.astro';
+---
+
+
+
+
--
cgit v1.3.1