congo/layouts/shortcodes/alert.html

9 lines
298 B
HTML
Raw Normal View History

2021-08-11 05:28:33 +00:00
<div class="flex px-4 py-3 rounded-md bg-primary-100 dark:bg-primary-900">
2022-01-11 05:17:49 +00:00
<span class="ltr:pr-3 rtl:pl-3 text-primary-400">
2022-03-09 05:13:36 +00:00
{{ partial "icon.html" (.Get 0 | default "triangle-exclamation") }}
2021-08-11 05:28:33 +00:00
</span>
2022-01-19 02:56:59 +00:00
<span class="dark:text-neutral-300">
2021-08-11 05:28:33 +00:00
{{- .Inner | markdownify -}}
</span>
</div>