Files
gpx.studio/website/src/lib/components/App.svelte

39 lines
1.1 KiB
Svelte
Raw Normal View History

2024-04-24 16:12:50 +02:00
<script lang="ts">
2024-04-25 14:55:35 +02:00
import GPXLayers from '$lib/components/gpx-layer/GPXLayers.svelte';
2024-04-24 16:12:50 +02:00
import ElevationProfile from '$lib/components/ElevationProfile.svelte';
import FileList from '$lib/components/FileList.svelte';
2024-05-03 22:15:47 +02:00
import GPXStatistics from '$lib/components/GPXStatistics.svelte';
2024-04-24 16:12:50 +02:00
import Map from '$lib/components/Map.svelte';
import Menu from '$lib/components/Menu.svelte';
import Toolbar from '$lib/components/toolbar/Toolbar.svelte';
import LayerControl from '$lib/components/layer-control/LayerControl.svelte';
2024-04-27 11:16:59 +02:00
import { Toaster } from '$lib/components/ui/sonner';
2024-05-16 18:18:42 +02:00
import FileList2 from './file-list/FileList2.svelte';
2024-04-24 16:12:50 +02:00
</script>
2024-05-16 18:18:42 +02:00
<div class="flex flex-row w-screen h-screen">
<div class="flex flex-col grow h-full min-w-0">
<div class="grow relative">
<Menu />
<Toolbar />
<Map class="h-full" />
<LayerControl />
<GPXLayers />
<Toaster richColors />
</div>
<div class="h-48 flex flex-row gap-2 overflow-hidden">
<GPXStatistics />
<ElevationProfile />
</div>
2024-04-24 16:12:50 +02:00
</div>
2024-05-16 18:18:42 +02:00
<FileList2 />
2024-04-24 16:12:50 +02:00
</div>
2024-04-27 11:16:59 +02:00
<style lang="postcss">
div :global(.toaster.group) {
@apply absolute;
@apply right-2;
--offset: 50px !important;
}
</style>