Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Bluesky to donation sharing options #4347

Merged
merged 1 commit into from
Dec 20, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 15 additions & 1 deletion site/ThankYouPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,11 @@ import { Head } from "./Head.js"
import { SiteHeader } from "./SiteHeader.js"
import { SiteFooter } from "./SiteFooter.js"
import { FontAwesomeIcon } from "@fortawesome/react-fontawesome/index.js"
import { faFacebook, faXTwitter } from "@fortawesome/free-brands-svg-icons"
import {
faBluesky,
faFacebook,
faXTwitter,
} from "@fortawesome/free-brands-svg-icons"
import { Html } from "./Html.js"

const shareMessage =
Expand Down Expand Up @@ -54,6 +58,16 @@ export const ThankYouPage = (props: { baseUrl: string }) => (
<div className="share-message__content">
“{shareMessage} <a href="/donate">{donateLink}</a>”
<div className="share-message__buttons">
<a
href={`https://bsky.app/intent/compose?text=${encodeURIComponent(
shareMessage + " " + donateLink
)}`}
className="share-message__button"
target="_blank"
rel="noopener"
>
<FontAwesomeIcon icon={faBluesky} />
</a>
<a
href={`https://twitter.com/intent/tweet?text=${encodeURIComponent(
shareMessage
Expand Down
Loading