generated from coulomb/repo-seed
Prototype implementation
This commit is contained in:
12
vergabe_teilnahme/templates/partials/breadcrumb.html
Normal file
12
vergabe_teilnahme/templates/partials/breadcrumb.html
Normal file
@@ -0,0 +1,12 @@
|
||||
{% if breadcrumbs %}
|
||||
<nav class="flex items-center gap-2 text-sm text-slate-500 mb-4">
|
||||
{% for crumb in breadcrumbs %}
|
||||
{% if not forloop.last %}
|
||||
<a href="{{ crumb.url }}" class="hover:text-slate-900 transition-colors">{{ crumb.label }}</a>
|
||||
<span class="text-slate-300">›</span>
|
||||
{% else %}
|
||||
<span class="text-slate-900 font-medium">{{ crumb.label }}</span>
|
||||
{% endif %}
|
||||
{% endfor %}
|
||||
</nav>
|
||||
{% endif %}
|
||||
Reference in New Issue
Block a user