mirror of
https://github.com/KazooTTT/kazoottt-blog-v2.git
synced 2025-06-22 18:21:31 +08:00
feat: add share buttons
This commit is contained in:
@ -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;
|
||||
<article class={`${className}`} data-pagefind-body={dataPagefindBody}>
|
||||
<slot />
|
||||
|
||||
<div class="mt-8 border-t pt-4">
|
||||
<ShareButtons />
|
||||
</div>
|
||||
|
||||
<div id="myModal" class="modal">
|
||||
<span class="close">
|
||||
<Icon aria-hidden="true" class="h-6 w-6" focusable="false" name="mdi:close" />
|
||||
|
Reference in New Issue
Block a user