This repository has been archived on 2025-11-09. You can view files and clone it, but cannot push or open issues or pull requests.
Files
trafficcue-client/src/App.svelte
Cfp 12aa42d98c
Some checks failed
TrafficCue CI / check (push) Failing after 33s
TrafficCue CI / build (push) Failing after 34s
style: run eslint and prettier
2025-08-14 16:19:34 +02:00

25 lines
621 B
Svelte

<script lang="ts">
import "./app.css";
import Sidebar from "./lib/components/lnv/Sidebar.svelte";
import { onMount } from "svelte";
import Map from "$lib/components/lnv/FullscreenMap.svelte";
import { routing } from "$lib/services/navigation/routing.svelte";
import { checkWebGL } from "$lib/webgl";
import RoutingInfo from "$lib/components/lnv/RoutingInfo.svelte";
onMount(() => {
if (!checkWebGL()) {
alert(
"WebGL is not supported in your browser. Please try a different browser.",
);
return;
}
});
</script>
{#if routing.currentTrip}
<RoutingInfo />
{/if}
<Sidebar></Sidebar>
<Map></Map>