add simple dashboard on root admin route
All checks were successful
delpoy / build-and-deploy (push) Successful in 2m9s
All checks were successful
delpoy / build-and-deploy (push) Successful in 2m9s
This commit is contained in:
@@ -52,13 +52,15 @@
|
||||
<div class="h-12 relative bg-base-200 flex justify-center items-center">
|
||||
<ul class="menu menu-horizontal h-10 p-0 flex items-center bg-base-300 rounded-lg">
|
||||
{#each tabs as tab}
|
||||
<li>
|
||||
<a href={tab.path}>
|
||||
<IconOutline name={tab.icon} />
|
||||
<span class="mr-1" class:underline={$page.url.pathname === tab.path}>{tab.name}</span>
|
||||
<div class="badge">{tab.badge}</div>
|
||||
</a>
|
||||
</li>
|
||||
{#if tab.enabled}
|
||||
<li>
|
||||
<a href={tab.path}>
|
||||
<IconOutline name={tab.icon} />
|
||||
<span class="mr-1" class:underline={$page.url.pathname === tab.path}>{tab.name}</span>
|
||||
<div class="badge">{tab.badge}</div>
|
||||
</a>
|
||||
</li>
|
||||
{/if}
|
||||
{/each}
|
||||
</ul>
|
||||
<div class="absolute top-0 right-0 flex items-center h-full">
|
||||
|
||||
Reference in New Issue
Block a user