Something went wrong. Try again.
[READ-ONLY] Mirror of https://github.com/vtbag/website. The @vtbag website. ⭐️ Please star to support this work! ⭐️
Something went wrong. Try again.
12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364---const choices = [ "Checking out [URL] and wanted to share ", "On [URL] and thought I'd share ", "Found something on [URL] ", "Diving into [URL] I'm wondering ", "Currently on [URL] and had to share my thoughts: ", "Taking a look at [URL]. Let's talk about it. ", "Here's what I think checking out [URL]: ", "Just read [URL] and figured ", "When exploring [URL], here's what comes to mind ",];const text = choices[~~(Math.random() * choices.length)]?.replace( "[URL]", `vtbag.dev${Astro.url.pathname}` ) ?? "";const encodedText = encodeURIComponent(text);---
<a class="button-link not-content" target="_blank" href={`https://bsky.app/intent/compose?text=${encodedText}`} ><span>Discuss on <b>🦋</b></span></a>
<style is:global> .button-link { --background: lightblue; --color: black; } :root[data-theme="dark"] .button-link { --background: saddlebrown ; --color: lightblue; } .button-link span { view-transition-name: bskyText; display: inline-block; margin-inline: auto; font-size: 1rem; padding-inline: 10px; text-decoration: none; transform: translateY(-2px); } .button-link { view-transition-name: bsky; text-align: center; display: inline-block; background-color: var(--sl-color-accent-low, var(--background)); border: 2px solid var(--sl-color-accent, #888); color: var(--sl-color-accent, var(--color)); border-radius: 8px;
box-shadow: inset 1px 1px 5px var(--sl-color-gray-6), 1px 1px 2px var(--sl-color-gray-1); transition: background-color 0.3s ease, box-shadow 0.3s ease; }
</style>