добавил лог

This commit is contained in:
Dmitry Borisenko
2022-02-19 23:35:30 +01:00
parent fdde2c9e9c
commit 35e0abbbd8
3 changed files with 95 additions and 60 deletions

View File

@@ -1,13 +1,16 @@
<script>
export let title = false;
export let show = true;
</script>
<div class="crd">
{#if title}
<h1 class="crd-hdr">{title}</h1>
{/if}
<slot />
</div>
{#if show}
<div class="crd">
{#if title}
<h1 class="crd-hdr">{title}</h1>
{/if}
<slot />
</div>
{/if}
<style lang="postcss" global>
@tailwind base;