Files
timmal/app/layouts/default.vue
Lucien Cartier-Tilet 552dfc5fc9
Some checks failed
ci / ci (push) Has been cancelled
feat(layout): add search button
2026-02-28 01:33:52 +01:00

25 lines
620 B
Vue

<template>
<UDashboardGroup>
<UiSidebar class="min-w-60" />
<UDashboardSearch />
<UDashboardPanel>
<template #header>
<UDashboardNavbar :title="pageName ?? ''">
<template #right>
<UDashboardSearchButton />
<UColorModeButton />
</template>
</UDashboardNavbar>
<div class="flex flex-row content-center justify-between w-full" />
</template>
<template #body>
<slot />
</template>
</UDashboardPanel>
</UDashboardGroup>
</template>
<script setup lang="ts">
const { pageName } = usePageTitle();
</script>