import { ClientLogo } from '~/components/ui/client-logo'; import { Text } from '~/components/ui/text'; import { DEMO_CLIENT_MARK, DEMO_QR_CODE } from '~/data/auth/constants'; import { getFrontendHost } from '~/lib/assets/qr'; import { cn } from '~/lib/utils'; const CORNERS = [ 'top-0 left-0 rounded-tl-card-sm border-t-3 border-l-3', 'top-0 right-0 rounded-tr-card-sm border-t-3 border-r-3', 'bottom-0 left-0 rounded-bl-card-sm border-b-3 border-l-3', 'bottom-0 right-0 rounded-br-card-sm border-b-3 border-r-3', ]; // Step 1: the camera finds the printed QR code (the phone's dark screen is the camera view) export function ScanScreen() { return (
Camera
{CORNERS.map((corner) => ( ))} {/* The code is 33 squares across: 132px keeps every square exactly 4px, so it renders sharp */}
{/* Thin, softly lit scan line; moved with transform only, and hidden with reduced motion */}
Open “{getFrontendHost()}” in Safari
); }