feat: WIP: update to new components structure

This commit is contained in:
2026-02-05 14:25:00 +05:00
parent 21551ef7d7
commit b2e3cf528c
10 changed files with 582 additions and 433 deletions
+28
View File
@@ -0,0 +1,28 @@
<script lang="ts">
import IconArrowLeft from "$components/ui/Icons/IconArrowLeft.svelte";
import IconArrowRight from "$components/ui/Icons/IconArrowRight.svelte";
import Card from "./Card.svelte";
</script>
<div class="panel-bar">
<Card title="Фоновое изображение">фоновое изображение</Card>
{#snippet panelTitle()}
Панели <span class="badge" id="panelCount">0</span>
{/snippet}
{#snippet panelControls()}
<button id="prevPanel" class="nav-btn" disabled>
<IconArrowLeft />
</button>
<span id="panelIndicator" class="panel-indicator">0 / 0</span>
<button id="nextPanel" class="nav-btn" disabled>
<IconArrowRight />
</button>
{/snippet}
<Card title={panelTitle} titleSnippet={panelControls}>Панели</Card>
</div>
<style>
</style>