2025-08-01 18:07:11 +02:00
|
|
|
<script lang="ts">
|
2025-08-02 06:11:25 +02:00
|
|
|
import RoomComponent from "$lib/components/Room.svelte"
|
|
|
|
import { parseRoom, type Room } from "$lib/types"
|
|
|
|
|
|
|
|
let room: Room = { id: "asd", coords: [0.123, 0.456], name: "scatolame party", private: true, range: 124 }
|
2025-08-01 18:07:11 +02:00
|
|
|
</script>
|
|
|
|
|
2025-08-02 05:31:36 +02:00
|
|
|
<div class="h-full w-full flex-row justify-center p-4">
|
|
|
|
<div class="relative min-h-screen justify-center justify-items-center">
|
2025-08-02 00:52:13 +02:00
|
|
|
<h1>Scan your nearby rooms</h1>
|
2025-08-02 05:31:36 +02:00
|
|
|
<img src="/smerdoradar.gif" alt="radar" class="h-64 w-64" />
|
|
|
|
<div class="max-h-50 w-full overflow-y-auto">
|
2025-08-02 06:11:25 +02:00
|
|
|
<RoomComponent {room} />
|
|
|
|
<RoomComponent {room} />
|
|
|
|
<RoomComponent {room} />
|
|
|
|
<RoomComponent {room} />
|
|
|
|
<RoomComponent {room} />
|
|
|
|
<RoomComponent {room} />
|
|
|
|
<RoomComponent {room} />
|
|
|
|
<RoomComponent {room} />
|
|
|
|
<RoomComponent {room} />
|
2025-08-02 05:31:36 +02:00
|
|
|
</div>
|
2025-08-02 06:11:25 +02:00
|
|
|
<div class="fixed right-0 bottom-0">
|
2025-08-02 05:31:36 +02:00
|
|
|
<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>
|
2025-08-02 00:52:13 +02:00
|
|
|
</div>
|
2025-08-01 21:10:03 +02:00
|
|
|
</div>
|