feat: replace some partials with twig components

This commit is contained in:
Björn Fromme committed 2024-03-01 11:13:47 +01:00
1 parent a668dcb326
commit f722afe7ff
23 files changed
+205 -96

No files matched your search

@@ -0,0 +1,4 @@
<div class="{{ html_classes('flex items-start space-x-4 text-white p-4 rounded-md w-full', { 'bg-primary': type != 'error', 'bg-red-500': type == 'error' }) }}">
{{ icon(type == 'error' ? 'alert' : 'info', 'w-6 h-6 shrink-0') }}
<span>{{ message }}</span>
</div>