wn-silva-theme/partials/ui/menulink.htm

5 lines
409 B
HTML
Raw Normal View History

2024-10-09 19:36:44 +02:00
<a href="{{link}}" {% if alpineAction %} @click.prevent="{{alpineAction}}" {% endif %} {% if alpineClass %} :class="{{alpineClass | raw}}" {% endif %} class="{% if class %} {{class}} {% endif %} flex items-center hover:text-red-900" {% if blank %} target="_BLANK" {% endif %}>
{% partial 'ui/sprite' icon='chevron' class='text-red-900 w-3 h-3 transform -rotate-90 mr-2' %}
2024-10-09 16:36:58 +02:00
<span>{{title}}</span>
</a>