feat: Added Threads Social and Share buttons

This commit is contained in:
Ricky L. T. Wong
2025-03-23 17:57:35 -04:00
parent 61bdfef701
commit 4d988fbb11
4 changed files with 1154 additions and 760 deletions

View File

@@ -37,6 +37,8 @@ import {
TumblrShareButton,
TwitterIcon,
TwitterShareButton,
ThreadsIcon,
ThreadsShareButton,
ViberIcon,
ViberShareButton,
VKIcon,
@@ -312,6 +314,16 @@ const ShareButtons = ({ post }) => {
<HatenaIcon size={32} round />
</HatenaShareButton>
)
case 'threads':
return (
<ThreadsShareButton
key={singleService}
url={shareUrl}
title={titleWithSiteInfo}
className='mx-1'>
<ThreadsIcon size={32} round />
</ThreadsShareButton>
)
case 'qq':
return (
<button