From 4666e2076caf805d09c9bcf42013f3ecc81002be Mon Sep 17 00:00:00 2001 From: Marty Bostick Date: Wed, 29 Jul 2026 20:50:46 +0000 Subject: [PATCH] Add mobile-only QR code under hero buttons for on-the-spot recruiting, update ref dynamically --- index.html | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) diff --git a/index.html b/index.html index 8031322..4395878 100644 --- a/index.html +++ b/index.html @@ -138,6 +138,29 @@ transform: translateY(-2px); } + /* Mobile-only hero QR code */ + .hero-qr-mobile { + display: none; + text-align: center; + margin: 10px auto 22px; + } + .hero-qr-mobile img { + width: 150px; + height: 150px; + border-radius: 12px; + border: 2px solid var(--border); + } + .hero-qr-label { + font-size: 0.78rem; + color: var(--text-secondary); + margin-top: 6px; + } + @media (max-width: 767px) { + .hero-qr-mobile { + display: block; + } + } + /* How it works — 4 steps */ .steps-row { display: grid; @@ -1032,6 +1055,12 @@ 🔐 Log into ClickBaitPays + +
+ QR Code +
📱 Scan to join with my referral
+
+
@@ -1926,6 +1955,8 @@ function updateSharedLinkBox() { if (bannerLink) bannerLink.href = `https://clickbaitpays.me/?ref=${refUser}`; const qrImg = document.getElementById('refQrCode'); if (qrImg) qrImg.src = `https://api.qrserver.com/v1/create-qr-code/?size=200x200&data=${encodeURIComponent(shareUrl)}`; + const heroQr = document.getElementById('heroQrCode'); + if (heroQr) heroQr.src = `https://api.qrserver.com/v1/create-qr-code/?size=200x200&data=${encodeURIComponent(shareUrl)}`; } function copySharedLink() {