Add unified MapPanel component for left map panels
All checks were successful
Build Docker Image / build (push) Successful in 3m25s

- Create MapPanel with white glass header, dark content
- Refactor SelectionPanel to use MapPanel
- Refactor QuotePanel to use MapPanel
- Single source of truth for panel styling
This commit is contained in:
Ruslan Bakiev
2026-01-24 11:20:32 +07:00
parent 7c566aeafc
commit 467f099130
3 changed files with 111 additions and 102 deletions

View File

@@ -0,0 +1,13 @@
<template>
<div class="flex flex-col h-full -m-4">
<!-- Header: белое стекло -->
<div class="sticky top-0 z-10 p-4 rounded-t-xl bg-white/90 backdrop-blur-md border-b border-white/20">
<slot name="header" />
</div>
<!-- Content: тёмный (наследует контейнер) -->
<div class="flex-1 px-4 pt-3 pb-4 overflow-y-auto">
<slot />
</div>
</div>
</template>