fixed the breadcrumbs

This commit is contained in:
2026-05-22 17:07:58 -06:00
parent cb4879b109
commit 27ae08690e
+4 -3
View File
@@ -4,11 +4,12 @@
<nav aria-label="breadcrumb">
<ol class="flex flex-wrap pt-1 mr-12 bg-transparent rounded-lg sm:mr-16">
<li class="text-sm leading-normal">
<RouterLink class="opacity-50 text-slate-700" to="/">Pages</RouterLink>
<li v-if="title !== 'Dashboard'" class="text-sm leading-normal">
<RouterLink class="opacity-50 text-slate-700" to="/dashboard">Dashboard</RouterLink>
</li>
<li
class="text-sm pl-2 capitalize leading-normal text-slate-700 before:float-left before:pr-2 before:content-['/']"
class="text-sm capitalize leading-normal text-slate-700"
:class="title !== 'Dashboard' ? 'pl-2 before:float-left before:pr-2 before:content-[\'/\']' : ''"
aria-current="page"
>
{{ title }}