18 lines
850 B
HTML
18 lines
850 B
HTML
|
<li>
|
||
|
{% if selected %}
|
||
|
<a href="{{ path }}" class="bg-gray-100 text-gray-900 group flex gap-x-3 rounded-md p-2 text-sm leading-6 font-semibold">
|
||
|
<svg class="h-6 w-6 shrink-0 text-gray-900" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" aria-hidden="true">
|
||
|
<path stroke-linecap="round" stroke-linejoin="round" d="{{ svg }}" />
|
||
|
</svg>
|
||
|
{{ text }}
|
||
|
</a>
|
||
|
{% else %}
|
||
|
<a href="{{ path }}" class="text-gray-700 hover:text-gray-900 hover:bg-gray-100 group flex gap-x-3 rounded-md p-2 text-sm leading-6 font-semibold">
|
||
|
<svg class="h-6 w-6 shrink-0 text-gray-400 group-hover:text-gray-900" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor" aria-hidden="true">
|
||
|
<path stroke-linecap="round" stroke-linejoin="round" d="{{ svg }}" />
|
||
|
</svg>
|
||
|
{{ text }}
|
||
|
</a>
|
||
|
{% endif %}
|
||
|
</li>
|