Add complete QR AR Demo HTML application #1
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR adds a fully functional QR AR Demo application that showcases QR code generation with AR overlay positioning and service scheduling capabilities.
Overview
The demo application provides a complete example of:
Features Implemented
Admin Panel
Client AR View
Technical Implementation
localStorage
for persistent data storage across sessionsScreenshots
Initial View - Empty State

After Generating QR Codes

Activated QR with Live Countdown Timer

File Location
The demo is available at
/public/workers/demos/qr-ar-demo.html
and can be accessed directly as a standalone HTML file, making it easy to deploy or use as a reference implementation.Use Cases
This demo is ideal for showcasing:
Original prompt
<title>QR AR Demo — Admin & Client</title> <style> :root{ --bg:#071019; --card:#0b1620; --accent:#00d184; --muted:#86a0b2; } body{margin:0;font-family:Inter,Segoe UI,Roboto,Arial;background:var(--bg);color:#eaf6f1} .wrap{display:flex;gap:12px;padding:14px;height:100vh;box-sizing:border-box} .left{flex:1;min-width:420px;display:flex;flex-direction:column;gap:12px} .right{width:480px;display:flex;flex-direction:column;gap:12px} .card{background:var(--card);border-radius:10px;padding:12px;box-shadow:0 8px 22px rgba(0,0,0,0.6)} h3{margin:4px 0 10px 0} .row{display:flex;gap:8px;align-items:center} input,select,textarea{background:transparent;border:1px solid rgba(255,255,255,0.04);padding:8px;border-radius:6px;color:#eef;min-width:0} button{background:var(--accent);border:none;padding:8px 10px;border-radius:8px;cursor:pointer;font-weight:700} button.secondary{background:transparent;border:1px solid rgba(255,255,255,0.04);color:var(--muted)} .small{font-size:12px;color:var(--muted)} #sampleQR{position:relative;width:160px;height:160px;background:#000;margin:12px auto;border:1px solid #0f2730} #overlay{position:absolute;background:rgba(0,255,130,0.4);border:2px dashed #0f9;margin:cursor:move;display:flex;flex-direction:column;align-items:center;justify-content:center;font-size:12px;color:#fff} #clientView{position:relative;width:320px;height:320px;margin:auto;background:cloudflare#111;border:1px solid #0f2730;overflow:hidden} #clientOverlay{position:absolute;background:rgba(0,255,130,0.4);border-radius:8px;display:flex;flex-direction:column;align-items:center;justify-content:center;font-size:12px;color:#fff;text-align:center;pointer-events:auto} .ledCount{font-family:monospace;font-size:20px;margin:6px 0;font-weight:700} a.link{color:var(--accent);text-decoration:none} </style>Admin — Generate QR & Overlay
Client AR View