blog icon

This commit is contained in:
hamid zarghami
2025-04-23 10:30:08 +03:30
parent 01cb9b2781
commit d5072c4aa9
+7 -11
View File
@@ -1,5 +1,5 @@
'use client'
import { Profile, Calendar, Tag, ExportCurve } from 'iconsax-react'
import { Profile, Calendar, Tag, ExportCurve, Whatsapp, Send2 } from 'iconsax-react'
import { FC } from 'react'
import Image from 'next/image'
// import MostVisited from '../components/MostVisited'
@@ -83,19 +83,15 @@ const SingleBlogPage: FC<Props> = ({ id }) => {
<div className='text-sm'>اشتراک گذاری</div>
<WhatsappShareButton url={`${window.location.origin}/blogs/${id}`}>
<Image
src='/images/whatsapp.svg'
alt='share'
width={20}
height={20}
<Whatsapp
size={20}
color='black'
/>
</WhatsappShareButton>
<TelegramShareButton url={`${window.location.origin}/blogs/${id}`}>
<Image
src='/images/telegram.svg'
alt='share'
width={20}
height={20}
<Send2
size={20}
color='black'
/>
</TelegramShareButton>