From e38067cd97e0a8cb0ad30208a61c0fe1b3869bee Mon Sep 17 00:00:00 2001 From: Yasutake Yohei <61961825+yasutakeyohei@users.noreply.github.com> Date: Thu, 25 Jun 2026 14:03:21 +0900 Subject: シェアボタン: LINE削除、URLコピー追加、コンテンツ直後に移動 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - LINE共有ボタンを削除、代わりにURLコピーボタンを追加 - シェアボタンをフッター→コンテンツ直後に移動 - ボタンに枠線・ラベルテキストを追加して視認性を向上 - 「このページを共有: [X] [Facebook] [URLコピー]」形式に --- src/components/SocialShare.astro | 50 ++++++++++++++++++++++++++--------- src/components/starlight/Footer.astro | 4 +-- 2 files changed, 40 insertions(+), 14 deletions(-) (limited to 'src') diff --git a/src/components/SocialShare.astro b/src/components/SocialShare.astro index a818822..bb6c04f 100644 --- a/src/components/SocialShare.astro +++ b/src/components/SocialShare.astro @@ -25,53 +25,79 @@ const SHARE_LINKS = [ svg: '', }, { - label: "LINE", - href: `https://social-plugins.line.me/lineit/share?url=${encodedUrl}`, - svg: '', + label: "URLコピー", + href: "#", + svg: '', }, ]; ---
- Share: + このページを共有: {SHARE_LINKS.map((link) => ( + {link.label} ))}
+ + diff --git a/src/components/starlight/Footer.astro b/src/components/starlight/Footer.astro index 7b10569..7c3871c 100644 --- a/src/components/starlight/Footer.astro +++ b/src/components/starlight/Footer.astro @@ -8,14 +8,14 @@ import SocialShare from '../SocialShare.astro'; ---