feat!: move to single route application for kiosk mode
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
2023-04-19 18:02:33 +02:00
parent 58830c5db3
commit bf8b351b64
7 changed files with 203 additions and 249 deletions

View File

@@ -2,10 +2,20 @@
import { OpenAPI } from '@odit/lfk-client-js';
import { env } from '$env/dynamic/public';
import '../app.postcss';
import "@fontsource/athiti"
import Footer from '../components/footer.svelte';
import '@fontsource/athiti';
import { onMount } from 'svelte';
OpenAPI.BASE = env.PUBLIC_BASE_URL || 'https://run.lauf-fuer-kaya.de';
onMount(() => {
window.addEventListener('keydown', (e) => {
if(e.altKey) e.preventDefault();
// console.log(e);
// const { key, altKey } = e;
// if (key === 'F4' && altKey) {
// e.preventDefault();
// }
});
});
</script>
<div class="dark:bg-slate-900 flex flex-col h-screen">