make the 🔗 button copy branch links to clipboard

to accomplish this, I generalised emoji tooltips to a shared Tooltip class.
in the long run I'd like to transform all existing `title=""` tooltips into these for stylistic consistency with the rest of the website, but this is good enough for now.

I also ended up cleaning up some old code from before the /b rework.
This commit is contained in:
りき萌 2025-01-11 00:15:29 +01:00
parent c537eb844f
commit 74baa61122
8 changed files with 208 additions and 138 deletions

View file

@ -45,6 +45,7 @@ clever to do while browser vendors figure that out, we'll just have to do a cach
import "treehouse/tree.js";
import "treehouse/emoji.js";
import "treehouse/command-line.js";
import "treehouse/overlay.js";
</script>
<meta property="og:site_name" content="{{ config.user.title }}">