diff --git a/app/components/QrFullscreenOverlay.vue b/app/components/QrFullscreenOverlay.vue new file mode 100644 index 0000000..09d0263 --- /dev/null +++ b/app/components/QrFullscreenOverlay.vue @@ -0,0 +1,189 @@ + + + + + diff --git a/app/components/Quiz/WaitingSpace.vue b/app/components/Quiz/WaitingSpace.vue index f3e897b..04a8826 100644 --- a/app/components/Quiz/WaitingSpace.vue +++ b/app/components/Quiz/WaitingSpace.vue @@ -10,6 +10,7 @@ import { Info, Keyboard, LogOut, + Maximize2, Smile, UserRound, Users, @@ -48,6 +49,7 @@ const { getUserData } = usersStore; const startQuiz = ref(false); const waitingSound = ref(null); +const qrOverlay = ref(null); const participantAccentClasses = [ "bg-jv-yellow", "bg-jv-coral text-white", @@ -156,6 +158,8 @@ const copyToClipBoard = (text) => { usecopyToClipboard(text); }; +const openQrFullscreen = () => qrOverlay.value?.open(); + function initializeSound() { if (process.client) { waitingSound.value = new Audio("/music/waiting_area_music.mp3"); @@ -316,12 +320,20 @@ watch( > -
+
+
@@ -454,6 +466,7 @@ watch(
+