about summary refs log tree commit diff
path: root/assets/src/components/SharePage.svelte
blob: 9be9466c7bef914c67180f31e5d48dcc2826d002 (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
<script lang="ts">
    import data from "../stores/data";
    import Header from "./Header.svelte";
    import Info from "./share/Info.svelte";
    import Requests from "./share/Requests.svelte";
</script>

<Header color="black" />

<main>
    <div class="left-segment">
        <Info />
    </div>
    <div class="right-segment">
        {#if $data.locked}
            <h1>Requests</h1>
            <Requests />
        {/if}
    </div>
</main>

<svelte:head>
    <style>
        html,
        body {
            background-color: black;
            color: white;
        }
    </style>
</svelte:head>