Initial component sort/cleanup

ref #68
This commit is contained in:
2021-02-18 16:51:15 +01:00
parent 0c9785af36
commit c0534a3b06
71 changed files with 66 additions and 70 deletions

View File

@@ -0,0 +1,23 @@
<script>
import { _ } from "svelte-i18n";
import StatCards from "./StatCards.svelte";
import store from "../../store";
let navOpen = false;
</script>
<div
class="p-5 overflow-x-hidden"
on:click={() => {
navOpen = false;
}}>
<!-- <div class="border-4 border-dashed rounded h-96" /> -->
<h1 class="text-3xl leading-tight">
<span class="font-extrabold">{$_('dashboard-title')}</span> <span>
-
{$_('dashboard-greeting')},
<span
class="text-blue-500">{store.state.jwtinfo.userdetails.firstname}</span>
👋</span>
</h1>
<StatCards />
</div>