add icons support and remove old import
This commit is contained in:
parent
db31dda495
commit
23c58b299c
7 changed files with 23 additions and 45 deletions
|
@ -17,7 +17,7 @@
|
|||
<RoomList />
|
||||
<RoomList />
|
||||
</div>
|
||||
<div class="fixed bottom-0 right-0">
|
||||
<div class="fixed right-0 bottom-0">
|
||||
<button class="mt-4 justify-end rounded bg-blue-500 px-6 py-2 text-white transition-colors hover:bg-blue-600 active:bg-blue-700"> + </button>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
<script lang="ts">
|
||||
import { onMount } from "svelte"
|
||||
import { get_coords, is_within_range, type Coordinates } from "$lib/gps"
|
||||
import { get_coords, type Coordinates } from "$lib/gps"
|
||||
|
||||
let lido_schenna_coords: Coordinates = { latitude: 46.6769043, longitude: 11.1851585 }
|
||||
|
||||
|
@ -12,6 +12,6 @@
|
|||
}
|
||||
if (coords == null) return
|
||||
|
||||
console.log(is_within_range(coords, lido_schenna_coords, 103))
|
||||
// console.log(is_within_range(coords, lido_schenna_coords, 103))
|
||||
})
|
||||
</script>
|
||||
|
|
7
frontend/src/routes/zesty/icons/+page.svelte
Normal file
7
frontend/src/routes/zesty/icons/+page.svelte
Normal file
|
@ -0,0 +1,7 @@
|
|||
<script lang="ts">
|
||||
import { Skull, Accessibility, Anvil } from "@lucide/svelte"
|
||||
</script>
|
||||
|
||||
<Skull />
|
||||
<Accessibility />
|
||||
<Anvil />
|
Loading…
Add table
Add a link
Reference in a new issue