From f6f44950e79041e4f7afe441fc4b850e1030f27a Mon Sep 17 00:00:00 2001
From: Melonai <einebeere@gmail.com>
Date: Thu, 17 Jun 2021 00:30:58 +0200
Subject: Share page design

---
 assets/src/components/SharePage.svelte | 50 ++++++++++++++++++++++++++++------
 1 file changed, 41 insertions(+), 9 deletions(-)

(limited to 'assets/src/components/SharePage.svelte')

diff --git a/assets/src/components/SharePage.svelte b/assets/src/components/SharePage.svelte
index d951288..b172f8c 100644
--- a/assets/src/components/SharePage.svelte
+++ b/assets/src/components/SharePage.svelte
@@ -1,20 +1,52 @@
 <script lang="ts">
     import data from "../stores/data";
-    import DataPicker from "./share/DataPicker.svelte";
-    import IncomingRequests from "./share/Requests.svelte";
+    import Header from "./Header.svelte";
+    import Info from "./share/Info.svelte";
+    import Requests from "./share/Requests.svelte";
 </script>
 
+<Header color="black" />
+
 <main>
-    <h1>Sharing</h1>
-    {#if !$data.locked}
-        <DataPicker />
-    {:else}
-        <IncomingRequests />
-    {/if}
+    <Info />
+    <div class="request-list">
+        {#if $data.locked}
+            <h1>Requests</h1>
+            <Requests />
+        {/if}
+    </div>
 </main>
 
+<svelte:head>
+    <style>
+        html,
+        body {
+            background-color: black;
+        }
+    </style>
+</svelte:head>
+
 <style>
+    main {
+        display: flex;
+        justify-content: space-around;
+        align-items: center;
+        height: 100%;
+        width: 66%;
+        margin: auto;
+        flex-wrap: wrap;
+    }
+
     h1 {
-        font-size: 4em;
+        font-size: 35px;
+        color: white;
+        font-weight: 400;
+    }
+
+    .request-list {
+        width: 315px;
+        height: 100%;
+        padding-top: 225px;
+        box-sizing: border-box;
     }
 </style>
-- 
cgit 1.4.1

