- new simpler modal without bootstrap - new loadingbutton component - cleanupsome old code - toolbar adjusments
13 lines
450 B
Twig
13 lines
450 B
Twig
{# templates/components/ToolbarButton.html.twig #}
|
|
<div {{ attributes }}>
|
|
<button
|
|
class="flex flex-col justify-around min-h-14 w-min ml-4 items-center text-white group"
|
|
{% if action %}
|
|
{{ stimulus_action(controller|default('toolbar'), action) }}
|
|
{% endif %}
|
|
>
|
|
<i class="fas fa-{{ icon }} text-xl group-hover:text-green-500"></i>
|
|
<span class="text-xs">{{ text }}</span>
|
|
</button>
|
|
</div>
|