🙏 Adds mis components and services

This commit is contained in:
Rune Harlyk
2023-05-10 22:34:48 +02:00
parent 07a99a6248
commit 8cf4c09543
7 changed files with 110 additions and 10 deletions
+10 -1
View File
@@ -1,10 +1,19 @@
<script lang="ts">
import { onMount } from 'svelte';
import Topbar from './components/Topbar.svelte';
import { connect } from './lib/socket';
import Stream from './components/Views/Stream.svelte';
import Controls from './components/Controls.svelte';
onMount(() => {
connect('ws://leika.local');
});
</script>
<main class="w-screen h-screen">
<Topbar />
<div class="flex justify-center items-center w-full h-full">
<h1>🎥Weee! This is the start project for the spot micro controller</h1>
<Stream />
<Controls />
</div>
</main>