Simple, beautiful follow buttons for ActivityPub. Works with Mastodon, Pixelfed, Loops, and all fediverse platforms. Less than 10KB, zero dependencies.
what’s more, that dozen one-attribute classes could have really just been a single class for the button type… and while I’m at it… 10 KB, after minification and compression?? why the fuck does a follow button need so much code?? oh! its because its made with sloppy coding just like in this example!
I had to laugh at this little bit of irony
<a href="https://mastodon.social/@webintents" target="_blank" rel="me noopener noreferrer" class="inline-flex items-center justify-center px-8 py-4 gradient-alt-bg text-white font-semibold rounded-lg hover:opacity-90 transition-opacity shadow-lg"><span class="iconify i-feather:user-plus mr-3" aria-hidden="true" style="font-size:20px;"></span> Follow on Mastodon </a>what’s more, that dozen one-attribute classes could have really just been a single class for the button type… and while I’m at it… 10 KB, after minification and compression?? why the fuck does a follow button need so much code?? oh! its because its made with sloppy coding just like in this example!
It would help if he tagged a pertinent community as an user. It then makes the post appear on Lemmy. 😐️