Skip to content

Commit

Permalink
feat: add Hatena to share dropdown
Browse files Browse the repository at this point in the history
  • Loading branch information
mwskwong committed Jun 18, 2024
1 parent 2910d32 commit e4948ad
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/components/blog/share-dropdown.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

import {
SiFacebook,
SiHatenabookmark,
SiLinkedin,
SiReddit,
SiX,
Expand Down Expand Up @@ -56,6 +57,11 @@ export const ShareDropdown: FC<ShareDropdownProps> = ({ blog, ...props }) => {
name: 'Reddit',
url: `http://www.reddit.com/submit/?url=${url}&title=${blog.title}`,
},
{
Icon: SiHatenabookmark,
name: 'Hatena',
url: `http://b.hatena.ne.jp/add?mode=confirm&url=${url}&title=${blog.title}`,
},
];

return (
Expand Down

0 comments on commit e4948ad

Please sign in to comment.