congo/layouts/shortcodes/alert.html

9 lines
298 B
HTML

<div class="flex px-4 py-3 rounded-md bg-primary-100 dark:bg-primary-900">
<span class="text-primary-400 ltr:pr-3 rtl:pl-3">
{{ partial "icon.html" (.Get 0 | default "triangle-exclamation") }}
</span>
<span class="dark:text-neutral-300">
{{- .Inner | markdownify -}}
</span>
</div>