Add Share to Mastodon button

This commit is contained in:
Rizda Dwi Prasetya 2018-10-03 14:13:03 +07:00 committed by GitHub
parent 02b82240dd
commit f2c59e7108
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -32,6 +32,13 @@ const AssetShareButtons = ({ host, name, shortId }) => {
>
reddit
</a>
<a
className='link--primary'
target='_blank'
href={`https://sharetomastodon.github.io/?title=${name}&url=${host}/${shortId}/${name}`}
>
mastodon
</a>
</SpaceBetween>
);
};