feat(layout): add search button
Some checks failed
ci / ci (push) Has been cancelled

This commit is contained in:
2026-02-28 01:33:52 +01:00
parent e5cccf4eae
commit 552dfc5fc9
2 changed files with 8 additions and 1 deletions

View File

@@ -1,5 +1,10 @@
<template> <template>
<UUser v-if="user" :name="user.name" :description="user.email" :avatar="{ src: user.avatar }" /> <UUser
v-if="user"
:name="user.name"
:description="user.email"
:avatar="{ src: user.avatar, icon: 'i-lucide-circle-user' }"
/>
</template> </template>
<script lang="ts" setup> <script lang="ts" setup>

View File

@@ -1,10 +1,12 @@
<template> <template>
<UDashboardGroup> <UDashboardGroup>
<UiSidebar class="min-w-60" /> <UiSidebar class="min-w-60" />
<UDashboardSearch />
<UDashboardPanel> <UDashboardPanel>
<template #header> <template #header>
<UDashboardNavbar :title="pageName ?? ''"> <UDashboardNavbar :title="pageName ?? ''">
<template #right> <template #right>
<UDashboardSearchButton />
<UColorModeButton /> <UColorModeButton />
</template> </template>
</UDashboardNavbar> </UDashboardNavbar>