From bd53a51af835478d23bef4772ce7e50553dc3fdf Mon Sep 17 00:00:00 2001
From: Kit La Touche <kit@transneptune.net>
Date: Wed, 9 Oct 2024 15:32:52 -0400
Subject: Move a lot of things around

---
 hi-ui/src/lib/Message.svelte | 31 -------------------------------
 1 file changed, 31 deletions(-)
 delete mode 100644 hi-ui/src/lib/Message.svelte

(limited to 'hi-ui/src/lib/Message.svelte')

diff --git a/hi-ui/src/lib/Message.svelte b/hi-ui/src/lib/Message.svelte
deleted file mode 100644
index efc6641..0000000
--- a/hi-ui/src/lib/Message.svelte
+++ /dev/null
@@ -1,31 +0,0 @@
-<script>
-    import SvelteMarkdown from 'svelte-markdown';
-    import { currentUser } from '../store';
-    import { deleteMessage } from '../apiServer';
-
-    export let at;  // XXX: Omitted for now.
-    export let sender;
-    export let message;
-
-    let timestamp = new Date(at).toTimeString();
-</script>
-
-<div class="card card-hover m-4 relative">
-    <span class="chip variant-soft sticky top-o left-0">
-        <!-- TODO: should this show up for only the first of a run? -->
-        @{sender.name}:
-    </span>
-    <span class="timestamp chip variant-soft absolute top-0 right-0">{at}</span>
-    <section class="p-4">
-        <SvelteMarkdown source={message.body} />
-    </section>
-</div>
-
-<style>
-    .card .timestamp {
-        display: none;
-    }
-    .card:hover .timestamp {
-        display: flex;
-    }
-</style>
-- 
cgit v1.2.3

