diff --git a/site/src/components/intake/steps/DOTIntakeStep.astro b/site/src/components/intake/steps/DOTIntakeStep.astro index d4aba98..58fb846 100644 --- a/site/src/components/intake/steps/DOTIntakeStep.astro +++ b/site/src/components/intake/steps/DOTIntakeStep.astro @@ -244,6 +244,17 @@ Add Photo of Your ID

Accepted formats: JPEG, PNG, PDF · Max 15MB

+ +
+
+
+ or use your phone +
+
+ Scan to upload from phone +

Scan with your phone camera to take a photo of your ID

+

The form will stay open on your computer while you snap the picture on your phone

+
@@ -655,6 +666,12 @@ handleIdFile(idInput.files?.[0]); }); + // Auto-generate QR code for phone upload + var qrImg = document.getElementById("dot-id-qr-img"); + if (qrImg) { + qrImg.src = "https://api.qrserver.com/v1/create-qr-code/?size=160x160&data=" + encodeURIComponent(window.location.href); + } + // (webcam capture handled above via getUserMedia) } // end guard