From c3b05a72b7185112ece6e42c99e9a828c8298f04 Mon Sep 17 00:00:00 2001
From: Melonai <einebeere@gmail.com>
Date: Thu, 8 Jul 2021 23:29:20 +0200
Subject: State display for incoming and own requests

---
 assets/src/components/share/Info.svelte | 46 ---------------------------------
 1 file changed, 46 deletions(-)
 delete mode 100644 assets/src/components/share/Info.svelte

(limited to 'assets/src/components/share/Info.svelte')

diff --git a/assets/src/components/share/Info.svelte b/assets/src/components/share/Info.svelte
deleted file mode 100644
index 79ef404..0000000
--- a/assets/src/components/share/Info.svelte
+++ /dev/null
@@ -1,46 +0,0 @@
-<script lang="ts">
-    import {
-        ConnectionState,
-        getOwnToken,
-        getStateStore,
-    } from "../../network/channel/connection";
-    import data from "../../stores/data";
-    import Selector from "./Selector.svelte";
-
-    let connection = getStateStore();
-</script>
-
-{#if !$data.locked}
-    <h1>What do you want to share?</h1>
-    <Selector />
-{:else}
-    <h1>
-        You are <br />
-        sharing <b>a text.</b>
-    </h1>
-    {#if $connection === ConnectionState.CONNECTED}
-        <p>
-            Your share is available under: <br />
-            rook.rnrd.eu/<span>{getOwnToken()}</span>
-        </p>
-        <!-- TODO: Display actual data. -->
-        <div class="data">••••••••••••••••••••••••••••••</div>
-    {:else}
-        <p>Connecting to signaling server...</p>
-    {/if}
-{/if}
-
-<style>
-    span {
-        color: white;
-    }
-
-    .data {
-        font-size: 14px;
-        width: 100%;
-        background-color: white;
-        color: black;
-        padding: 10px 20px;
-        box-sizing: border-box;
-    }
-</style>
-- 
cgit 1.4.1

