blog icon
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
'use client'
|
'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 { FC } from 'react'
|
||||||
import Image from 'next/image'
|
import Image from 'next/image'
|
||||||
// import MostVisited from '../components/MostVisited'
|
// import MostVisited from '../components/MostVisited'
|
||||||
@@ -83,19 +83,15 @@ const SingleBlogPage: FC<Props> = ({ id }) => {
|
|||||||
<div className='text-sm'>اشتراک گذاری</div>
|
<div className='text-sm'>اشتراک گذاری</div>
|
||||||
|
|
||||||
<WhatsappShareButton url={`${window.location.origin}/blogs/${id}`}>
|
<WhatsappShareButton url={`${window.location.origin}/blogs/${id}`}>
|
||||||
<Image
|
<Whatsapp
|
||||||
src='/images/whatsapp.svg'
|
size={20}
|
||||||
alt='share'
|
color='black'
|
||||||
width={20}
|
|
||||||
height={20}
|
|
||||||
/>
|
/>
|
||||||
</WhatsappShareButton>
|
</WhatsappShareButton>
|
||||||
<TelegramShareButton url={`${window.location.origin}/blogs/${id}`}>
|
<TelegramShareButton url={`${window.location.origin}/blogs/${id}`}>
|
||||||
<Image
|
<Send2
|
||||||
src='/images/telegram.svg'
|
size={20}
|
||||||
alt='share'
|
color='black'
|
||||||
width={20}
|
|
||||||
height={20}
|
|
||||||
/>
|
/>
|
||||||
</TelegramShareButton>
|
</TelegramShareButton>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user