about summary refs log tree commit diff
path: root/assets/src/components/RequestPage.svelte
blob: eb6b55922c77c833ba0e13dfccf76e46ee8e9162 (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
38
39
40
41
<script lang="ts">
    import { start } from "../network/channel/connection";
    import { startRequest } from "../network/channel/request";

    import Header from "./Header.svelte";

    start().then(startRequest);
</script>

<Header color="white" />

<main>
    <div class="left-segment">
        <h1>Waiting for a response...</h1>
        <p>
            The share’s content will become available to you once the sharer
            decides to accept your request.
        </p>
    </div>
    <div class="right-segment" />
</main>

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

<style>
    .left-segment {
        flex-shrink: 0;
    }

    .right-segment {
        flex-shrink: 1;
    }
</style>