refactor: enhanced structure

This commit is contained in:
2025-11-28 20:57:24 +03:00
parent 9400c9d748
commit ffa6afc913
11 changed files with 268 additions and 292 deletions

View File

@@ -1,16 +1,11 @@
<!-- components/Overview.svelte -->
<script>
import StatusPanel from './StatusPanel.svelte';
export let status = 'Looking for QR-codes';
export let uptime = '1h 12m 15s';
export let qrCodesFound = 12;
import StatusPanel from './StatusPanel.svelte';
</script>
<div class="overview-layout">
<div class="grid-layout">
<!-- Status Panel -->
<StatusPanel {status} {uptime} {qrCodesFound} />
<StatusPanel />
</div>
</div>
@@ -20,7 +15,6 @@ export let qrCodesFound = 12;
flex-direction: column;
gap: var(--spacing-lg);
height: 100%;
}
.grid-layout {