Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat #502 added hovering effect on socials #505

Merged
merged 1 commit into from
Jul 25, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading