refactor: enhanced structure
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user