Formatted code

This commit is contained in:
Mawoka
2023-10-21 22:18:13 +02:00
parent 91c74bbb87
commit 5774dc20b7
4 changed files with 195 additions and 204 deletions
@@ -9,14 +9,14 @@ SPDX-License-Identifier: MPL-2.0
import ControllerCodeDisplay from '$lib/components/controller/code.svelte';
import { getLocalization } from '$lib/i18n';
import GrayButton from '$lib/components/buttons/gray.svelte';
import {fade} from 'svelte/transition';
import { fade } from 'svelte/transition';
export let game_pin: string;
export let players;
export let socket;
export let cqc_code: string;
let fullscreen_open = false
let fullscreen_open = false;
const { t } = getLocalization();
let play_music = false;
@@ -52,7 +52,7 @@ SPDX-License-Identifier: MPL-2.0
</p>
</div>
<img
on:click={() => fullscreen_open = true}
on:click={() => (fullscreen_open = true)}
alt="QR code to join the game"
src="/api/v1/utils/qr/{game_pin}"
class="block mx-auto w-1/2 dark:bg-white shadow-2xl rounded hover:cursor-pointer"