implement basic home components

This commit is contained in:
Vincent Liao
2022-02-24 22:45:15 +07:00
parent 03755ac0b0
commit 7e90ade7b8
6 changed files with 53 additions and 115 deletions

13
src/lib/Count.svelte Normal file
View File

@@ -0,0 +1,13 @@
<div class="rounded-md shadow border p-3">
<span class="block text-center pb-3">TOTAL EVENTS</span>
<div class="flex">
<div class="flex-1">
<span class="block text-center text-slate-400">1h</span>
<span class="block text-center text-4xl">30</span>
</div>
<div class="flex-1">
<span class="block text-center text-slate-400">24h</span>
<span class="block text-center text-4xl">999</span>
</div>
</div>
</div>