Skip to content

Commit

Permalink
Merge pull request #505 from ramnaresh8/branch-ramnaresh8
Browse files Browse the repository at this point in the history
Feat #502 added hovering effect on socials
  • Loading branch information
akbatra567 authored Jul 25, 2024
2 parents 9370bb7 + 48c4505 commit ef61a97
Showing 1 changed file with 25 additions and 15 deletions.
40 changes: 25 additions & 15 deletions frontend/src/components/SharePostButtons.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,21 +19,31 @@ type Props = {
const SharePostButtons = ({shareUrl, title}: Props) => {
return (
<div className="flex space-x-2 my-4">
<TelegramShareButton url={shareUrl} title={title}>
<TelegramIcon size={35} round />
</TelegramShareButton>
<TwitterShareButton url={shareUrl} title={title}>
<XIcon size={35} round />
</TwitterShareButton>
<WhatsappShareButton url={shareUrl} title={title}>
<WhatsappIcon size={35} round />
</WhatsappShareButton>
<LinkedinShareButton url={shareUrl} title={title} summary={title}>
<LinkedinIcon size={35} round />
</LinkedinShareButton>
<FacebookShareButton url={shareUrl} title={title}>
<FacebookIcon size={35} round />
</FacebookShareButton>
<div className="hover:scale-125 transform transition duration-400">
<TelegramShareButton url={shareUrl} title={title}>
<TelegramIcon size={35} round />
</TelegramShareButton>
</div>
<div className=" hover:scale-125 transform transition duration-400">
<TwitterShareButton url={shareUrl} title={title}>
<XIcon size={35} round />
</TwitterShareButton>
</div>
<div className=" hover:scale-125 transform transition duration-400">
<WhatsappShareButton url={shareUrl} title={title}>
<WhatsappIcon size={35} round />
</WhatsappShareButton>
</div>
<div className=" hover:scale-125 transform transition duration-400">
<LinkedinShareButton url={shareUrl} title={title} summary={title}>
<LinkedinIcon size={35} round />
</LinkedinShareButton>
</div>
<div className=" hover:scale-125 transform transition duration-400">
<FacebookShareButton url={shareUrl} title={title}>
<FacebookIcon size={35} round />
</FacebookShareButton>
</div>
</div>
);
};
Expand Down

0 comments on commit ef61a97

Please sign in to comment.