Skip to content

Commit

Permalink
refactor: show map of world
Browse files Browse the repository at this point in the history
  • Loading branch information
mahyarmirrashed committed Dec 3, 2024
1 parent 768fa13 commit c455114
Showing 1 changed file with 6 additions and 8 deletions.
14 changes: 6 additions & 8 deletions src/routes/+page.svelte
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
<script lang="ts">
import { Button } from "$lib/components/ui/button";
import { MapLibre } from "svelte-maplibre";
</script>

<h1>Welcome to SvelteKit</h1>
<p>
Visit <a href="https://svelte.dev/docs/kit">svelte.dev/docs/kit</a> to read the
documentation
</p>

<Button>Click me</Button>
<MapLibre
style="https://basemaps.cartocdn.com/gl/positron-gl-style/style.json"
class="relative aspect-[9/16] max-h-[70vh] w-full sm:aspect-video sm:max-h-full"
standardControls
/>

0 comments on commit c455114

Please sign in to comment.