|
|
@ -12,22 +12,24 @@ |
|
|
</NuxtLink> |
|
|
</NuxtLink> |
|
|
</PanelHeadTitle> |
|
|
</PanelHeadTitle> |
|
|
</PanelHead> |
|
|
</PanelHead> |
|
|
<div class="flex flex-col space-y-2 p-4"> |
|
|
<PanelBody> |
|
|
<NuxtLink |
|
|
<nav class="flex flex-col gap-2"> |
|
|
v-for="(item, index) in menuItems" |
|
|
<NuxtLink |
|
|
:key="index" |
|
|
v-for="(item, index) in menuItems" |
|
|
:to="`/admin/${item.id}`" |
|
|
:key="index" |
|
|
class="group rounded" |
|
|
:to="`/admin/${item.id}`" |
|
|
active-class="bg-red-800 active" |
|
|
class="group rounded" |
|
|
> |
|
|
active-class="bg-red-800 active" |
|
|
<BaseSecondaryButton |
|
|
|
|
|
as="span" |
|
|
|
|
|
class="w-full font-medium group-[.active]:text-white" |
|
|
|
|
|
> |
|
|
> |
|
|
{{ item.name }} |
|
|
<BaseSecondaryButton |
|
|
</BaseSecondaryButton> |
|
|
as="span" |
|
|
</NuxtLink> |
|
|
class="w-full font-medium group-[.active]:text-white" |
|
|
</div> |
|
|
> |
|
|
|
|
|
{{ item.name }} |
|
|
|
|
|
</BaseSecondaryButton> |
|
|
|
|
|
</NuxtLink> |
|
|
|
|
|
</nav> |
|
|
|
|
|
</PanelBody> |
|
|
</div> |
|
|
</div> |
|
|
|
|
|
|
|
|
<div |
|
|
<div |
|
|
@ -38,9 +40,9 @@ |
|
|
{{ activeMenuItem.name }} |
|
|
{{ activeMenuItem.name }} |
|
|
</PanelHeadTitle> |
|
|
</PanelHeadTitle> |
|
|
</PanelHead> |
|
|
</PanelHead> |
|
|
<section class="p-6"> |
|
|
<PanelBody> |
|
|
<NuxtPage /> |
|
|
<NuxtPage /> |
|
|
</section> |
|
|
</PanelBody> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
</div> |
|
|
|