thunderbird / thunderblog

A simple, responsive, mobile-first Wordpress theme for the Thunderbird Blog
https://blog.thunderbird.net
MIT License
9 stars 5 forks source link

Add share on mastodon option #46

Closed devmount closed 9 months ago

devmount commented 9 months ago

This change uses a web component to offer a share icon for Mastodon instances. It also fixes icon wrapping on narrow viewports.

image

Closes #45

MelissaAutumn commented 9 months ago

Aside from my comment on the issue about pulling the script into our repo, this looks good! I'll test it on Monday, and do the release tagging when the pr is merged.

Thanks!

devmount commented 9 months ago

Thank you Mel! I moved Micahs component to a local asset now. I also added some credits to the head of the web components file:

/**
 * @author Micah Ilbery
 * @version 1.1.0
 * @license GPL-3.0
 * @url https://github.com/micahilbery/share-on-mastodon
 */

@micahilbery I hope it's ok for you like this.

MelissaAutumn commented 9 months ago

Working great. Can we minify the file? Once that's done this is good to get merged.

devmount commented 9 months ago

Of course, I added a minified version and included that instead.

MelissaAutumn commented 9 months ago

Thanks a bunch!