From 5084353afeb15f41989a120c6fd9f90198e758e6 Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Thu, 30 Oct 2025 12:23:10 -0500 Subject: [PATCH 1/4] Copy the full giftcard URL in the credits dialog --- src/components/CreditsDialog.tsx | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/components/CreditsDialog.tsx b/src/components/CreditsDialog.tsx index b8cb506b..76f3dd29 100644 --- a/src/components/CreditsDialog.tsx +++ b/src/components/CreditsDialog.tsx @@ -554,7 +554,14 @@ export function CreditsDialog({ open, onOpenChange, provider }: CreditsDialogPro }; const handleCopyCode = (code: string) => { - navigator.clipboard.writeText(code); + // Create the full shareable URL for the gift card + const url = new URL('/giftcard', window.location.origin); + url.hash = new URLSearchParams({ + baseURL: provider.baseURL, + code: code, + }).toString(); + + navigator.clipboard.writeText(url.toString()); setCopiedCode(code); setTimeout(() => setCopiedCode(null), 2000); }; From cb9421d89c1f102352845f06b6c80281fcf3ad40 Mon Sep 17 00:00:00 2001 From: Alex Gleason Date: Thu, 30 Oct 2025 14:45:21 -0500 Subject: [PATCH 2/4] Add github.io mirror --- README.md | 1 + src/pages/AboutSettings.tsx | 10 ++++++++++ 2 files changed, 11 insertions(+) diff --git a/README.md b/README.md index 6aa984a6..9f680389 100644 --- a/README.md +++ b/README.md @@ -62,6 +62,7 @@ Shakespeare is available on the following URLs: - [shakespeare.diy](https://shakespeare.diy) - [shakespeare.soapbox.dev](https://shakespeare.soapbox.dev) +- [shakespeare-diy.github.io](https://shakespeare-diy.github.io) - [shakespeare-b0b9c8.gitlab.io](https://shakespeare-b0b9c8.gitlab.io) ## Alternatives diff --git a/src/pages/AboutSettings.tsx b/src/pages/AboutSettings.tsx index 067d087e..ac8da6d9 100644 --- a/src/pages/AboutSettings.tsx +++ b/src/pages/AboutSettings.tsx @@ -115,6 +115,16 @@ export function AboutSettings() { +