From 6e1f206bd8c475096f4a5461ecc5a07f4937d8c0 Mon Sep 17 00:00:00 2001 From: KazooTTT Date: Thu, 6 Feb 2025 14:43:03 +0800 Subject: [PATCH] feat: add share buttons --- src/components/ArticleContainer.astro | 5 ++ src/components/ShareButtons.astro | 80 +++++++++++++++++++++++++++ 2 files changed, 85 insertions(+) create mode 100644 src/components/ShareButtons.astro diff --git a/src/components/ArticleContainer.astro b/src/components/ArticleContainer.astro index 7af296c..434bb16 100644 --- a/src/components/ArticleContainer.astro +++ b/src/components/ArticleContainer.astro @@ -1,5 +1,6 @@ --- import { Icon } from "astro-icon/components"; +import ShareButtons from "./ShareButtons.astro"; export interface Props { className?: string; @@ -11,6 +12,10 @@ const { className = "", dataPagefindBody = true } = Astro.props;
+
+ +
+