mirror of
https://github.com/khoaliber/dockhand.git
synced 2026-03-08 05:39:06 +00:00
Initial commit
This commit is contained in:
21
routes/dashboard/dashboard-events-summary.svelte
Normal file
21
routes/dashboard/dashboard-events-summary.svelte
Normal file
@@ -0,0 +1,21 @@
|
||||
<script lang="ts">
|
||||
import { Activity } from 'lucide-svelte';
|
||||
|
||||
interface Props {
|
||||
today: number;
|
||||
total: number;
|
||||
}
|
||||
|
||||
let { today, total }: Props = $props();
|
||||
</script>
|
||||
|
||||
{#if total > 0}
|
||||
<div class="flex items-center justify-between text-xs pt-1 border-t border-border/50">
|
||||
<span class="flex items-center gap-1 text-muted-foreground">
|
||||
<Activity class="w-3 h-3" /> Events
|
||||
</span>
|
||||
<span class="font-medium">
|
||||
{today} today <span class="text-muted-foreground">/ {total} total</span>
|
||||
</span>
|
||||
</div>
|
||||
{/if}
|
||||
Reference in New Issue
Block a user