From 8433aa0802592c9f07f3a859438a55b4a62e97f3 Mon Sep 17 00:00:00 2001 From: Marty Bostick Date: Fri, 10 Jul 2026 19:10:27 +0000 Subject: [PATCH] add live QR code next to referral link that updates with username --- index.html | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/index.html b/index.html index 025c6da..d7c5677 100644 --- a/index.html +++ b/index.html @@ -481,6 +481,10 @@
The referral opens the calculator with your username pre-loaded
+
+ QR Code +
📱 Scan to open calculator
+
@@ -1146,6 +1150,11 @@ function updateSharedLinkBox() { if (signupBtn) { signupBtn.href = `https://clickbaitpays.me/?ref=${refUser}`; } + // Update QR code + const qrImg = document.getElementById('refQrCode'); + if (qrImg) { + qrImg.src = `https://api.qrserver.com/v1/create-qr-code/?size=200x200&data=${encodeURIComponent(shareUrl)}`; + } } function copySharedLink() {