summaryrefslogtreecommitdiffstats
path: root/apps/portal/src/app
diff options
context:
space:
mode:
authorivarlovlie <git@ivarlovlie.no>2022-08-05 14:55:20 +0200
committerivarlovlie <git@ivarlovlie.no>2022-08-05 14:55:20 +0200
commit7ac4052d2f98dd541241049701297809a37d5e40 (patch)
tree022757b94eb504988d08875d585d385a43c2c7fe /apps/portal/src/app
parent0f3d17a0e136bb7adefe214b4127aa3b6a230b81 (diff)
downloadgreatoffice-7ac4052d2f98dd541241049701297809a37d5e40.tar.xz
greatoffice-7ac4052d2f98dd541241049701297809a37d5e40.zip
refactor: Show welcome message as closable alert
Diffstat (limited to 'apps/portal/src/app')
-rw-r--r--apps/portal/src/app/pages/home.svelte6
1 files changed, 4 insertions, 2 deletions
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>