diff --git a/app/join/[code]/page.tsx b/app/join/[code]/page.tsx new file mode 100644 index 00000000..c8834182 --- /dev/null +++ b/app/join/[code]/page.tsx @@ -0,0 +1,65 @@ +'use client'; + +import { QRCodeSVG } from 'qrcode.react'; +import { useParams } from 'next/navigation'; + +export default function JoinPage() { + const params = useParams(); + const code = params.code as string; + const joinUrl = `https://hatch.surf/join/${code}`; + + return ( +
+ Welcome to the event +
++ Scan the QR code above to join this event space. +
++ You'll be able to see live HTTP requests and interact with the event. +
++ Powered by Hatch · Self-hostable HTTP request inspector +
+