fixed the breadcrumbs
This commit is contained in:
@@ -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 }}
|
||||
|
||||
Reference in New Issue
Block a user