Компонент блока с информацией

This commit is contained in:
Иван Кузьменко 2025-09-29 02:58:34 +03:00 committed by Иван Кузьменко
parent c0f216ceb2
commit 68c331f146

View file

@ -0,0 +1,13 @@
<script lang="ts">
import Icon from '@iconify/svelte';
</script>
<section class="flex flex-col sm:flex-row">
<div class="flex flex-row items-center gap-2 bg-blue-500 p-2 text-slate-50">
<Icon width={32} height={32} icon={'material-symbols:info'} color={'#f8fafc'} />
<span class="sm:hidden">Обратите внимание</span>
</div>
<div class="bg-blue-50 p-4 sm:grow">
<slot />
</div>
</section>