From 7ac4052d2f98dd541241049701297809a37d5e40 Mon Sep 17 00:00:00 2001
From: ivarlovlie <git@ivarlovlie.no>
Date: Fri, 5 Aug 2022 14:55:20 +0200
Subject: refactor: Show welcome message as closable alert

---
 apps/portal/src/app/pages/home.svelte | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

(limited to 'apps/portal/src/app/pages/home.svelte')

diff --git a/apps/portal/src/app/pages/home.svelte b/apps/portal/src/app/pages/home.svelte
index b1859d2..dc303b6 100644
--- a/apps/portal/src/app/pages/home.svelte
+++ b/apps/portal/src/app/pages/home.svelte
@@ -4,6 +4,7 @@
 	import {push} from "svelte-spa-router";
 	import Layout from "./_layout@loggedin.svelte";
 	import LinkCard from "$shared/components/link-card.svelte";
+    import Alert from "$shared/components/alert.svelte";
 	import {UserIcon, UsersIcon, WatchIcon, SendIcon, ListIcon} from "svelte-feather-icons";
 
 	let showUsers = true;
@@ -13,8 +14,9 @@
 <Layout>
     <div class="grid gap-md">
         <div class="row">
-            <h1 class="margin-bottom-xs">Hello {session.profile?.username}</h1>
-            <p>This is your portal to Greatoffice, here you will find all your great apps and management options.</p>
+            <Alert closeable="true" 
+                   title="Hello {session.profile?.username}" 
+                   message="This is your portal to Greatoffice, here you will find all your great apps and management options."/>
         </div>
         <div class="row">
             <h2 class="margin-bottom-xs">Apps</h2>
-- 
cgit v1.3

