<template>
  <UDashboardGroup>
    <UiSidebar />
    <UDashboardPanel>
      <template #header>
        <UDashboardNavbar :title="pageName">
          <template #right>
            <UColorModeButton />
          </template>
        </UDashboardNavbar>
        <div class="flex flex-row content-center justify-between w-full"></div>
      </template>
      <template #body>
        <slot />
      </template>
    </UDashboardPanel>
  </UDashboardGroup>
</template>

<script setup lang="ts">
const { pageName } = usePageTitle();
</script>
