✨ feat (sidebar): add active class to sidebar links
This commit is contained in:
@@ -22,6 +22,7 @@ const { setOpenMobile } = useSidebar()
|
||||
<NuxtLink
|
||||
:to="item.link"
|
||||
class="group flex items-center gap-3 rounded-lg px-3 py-2 text-sm font-medium transition-all duration-200"
|
||||
active-class="bg-primary text-white"
|
||||
@click="setOpenMobile(false)"
|
||||
>
|
||||
<Icon :name="item.icon || ''" mode="svg" />
|
||||
|
||||
Reference in New Issue
Block a user