Files
compiler-explorer/views/menu-other.pug
T
Luka Prebil Grintal 81d18c4c4b Add Bluesky to link sharing options and other menu (#7126)
Adds intent link for sharing a Compiler Explorer link to Bluesky. Also
adds a link to the [Compiler Explorer Bluesky
profile](https://bsky.app/profile/compiler-explorer.com) into the
`Other` menu.

<details>
<summary><b>Screenshots of the new links:</b></summary>
<img width="1239" alt="image"
src="https://github.com/user-attachments/assets/2db4a9ee-a0db-4b32-b317-a671d4744b24">
<img width="244" alt="image"
src="https://github.com/user-attachments/assets/5ebcee95-00b8-4219-b057-842f431bed92">

Shared post
<img width="628" alt="image"
src="https://github.com/user-attachments/assets/57f8c264-5590-4cef-ad00-215af5008512">
</details>

I added the `via @compiler-explorer.com` to be the same as twitter, but
since bsky does not fully support tagging yet, it gives the user a
dropdown to select the compiler explorer user, which seems kinda janky.
I left it in for now, but can remove it until bsky supports tagging
automatically.
2024-11-26 13:48:12 -06:00

69 lines
3.1 KiB
Plaintext

a.dropdown-item(href="https://www.patreon.com/bePatron?u=3691963" title="Help Compiler Explorer - become a Patron" target="_blank" rel="noopener")
span.dropdown-icon.fab.fa-patreon
| Become a Patron
| &nbsp;
a.dropdown-item(href="https://github.com/sponsors/mattgodbolt" title="Help Compiler Explorer - sponsor on GitHub" target="_blank" rel="noopener")
span.dropdown-icon.fab.fa-github-alt
| Sponsor on GitHub
| &nbsp;
a.dropdown-item(href="https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=KQWQZ7GPY2GZ6&item_name=Compiler+Explorer+development&currency_code=USD&source=url" title="Make a one-time donation to help fund Compiler Explorer's development" target="_blank" rel="noopener")
span.dropdown-icon.fab.fa-paypal
| Donate via PayPal
| &nbsp;
if githubEnabled
a.dropdown-item(href="https://github.com/compiler-explorer/compiler-explorer" title="View the source on GitHub" target="_blank" rel="noopener")
span.dropdown-icon.fab.fa-github
| Source on GitHub
| &nbsp;
a.dropdown-item(href="https://groups.google.com/forum/#!forum/compiler-explorer-discussion" title="Join Compiler Explorer Public Google Group" target="_blank" rel="noopener")
span.dropdown-icon.fas.fa-envelope
| Mailing list
| &nbsp;
a.dropdown-item(href="https://godbolt.org/admin/libraries.html" target="_blank" rel="noopener")
span.dropdown-icon.fas.fa-book
| Installed libraries
| &nbsp;
a.dropdown-item(href="https://github.com/compiler-explorer/compiler-explorer/wiki" target="_blank" rel="noopener")
span.dropdown-icon.fas.fa-book-open
| Wiki
| &nbsp;
a.dropdown-item(href="https://github.com/compiler-explorer/compiler-explorer/issues" target="_blank" rel="noopener")
span.dropdown-icon.fas.fa-exclamation-circle
| Report an issue
| &nbsp;
a.dropdown-item(href="https://xania.org/201609/how-compiler-explorer-runs-on-amazon" target="_blank")
span.dropdown-icon.fas.fa-cloud-meatball
| How it works
| &nbsp;
a.dropdown-item(href="mailto:matt@godbolt.org" target="_blank" rel="noopener noreferrer")
span.dropdown-icon.fas.fa-paper-plane
| Contact the author
| &nbsp;
a.dropdown-item(href="https://hachyderm.io/@compiler_explorer" rel="me noopener")
span.dropdown-icon.fas.fa-paper-plane
| CE on Mastodon
| &nbsp;
a.dropdown-item(href="https://bsky.app/profile/compiler-explorer.com" rel="noopener")
span.dropdown-icon.fab.fa-bluesky
| CE on Bluesky
| &nbsp;
a.dropdown-item(href="https://xania.org/MattGodbolt" rel="author" target="_blank")
span.dropdown-icon.fas.fa-address-card
| About the author
| &nbsp;
a.dropdown-item(href="https://stats.compiler-explorer.com/" rel="Grafana Stats Page" target="_blank")
span.dropdown-icon.fas.fa-chart-line
| Statistics
| &nbsp;
button.dropdown-item.btn#changes
span.dropdown-icon.fas.fa-sticky-note
| Changelog
| &nbsp;
// Href is set dynamically when the site loads
a.dropdown-item#version-tree(target="_blank")
span.dropdown-icon.fas.fa-code-branch
| Version tree
| &nbsp;
if sharingEnabled
a.dropdown-item#socialshare