blob: c0c6f184ea70006010e3b30f50ca6e184bd32329 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
<script lang="ts">
import Header from "./Header.svelte";
import ShareStatus from "./share/ShareStatus.svelte";
import RequestList from "./share/RequestList.svelte";
import { getShareState, ShareStateType } from "../state/share";
const state = getShareState().type;
</script>
<Header color="black" />
<main>
<div class="left-segment">
<ShareStatus />
</div>
<div class="right-segment">
{#if $state === ShareStateType.SHARING}
<h1>Requests</h1>
<RequestList />
{/if}
</div>
</main>
<svelte:head>
<style>
html,
body {
background-color: black;
color: white;
}
.data-view {
background-color: white;
color: black;
}
</style>
</svelte:head>
|