<template>
  <UDashboardGroup>
    <UDashboardSearch />

    <UDashboardSidebar
      collapsible
      resizable
      class="bg-(--ui-bg-elevated)/25"
      :ui="{ footer: 'lg:border-t lg:border-(--ui-border)' }"
    >
      <template #header>
        <NuxtLink to="/">
          <img src="../public/favicon.ico" alt="Logo" />
        </NuxtLink>
      </template>

      <template #default="{ collapsed }">
        <UDashboardSearchButton :collapsed="collapsed" class="bg-transparent ring-(--ui-border)" />

        <UNavigationMenu :collapsed="collapsed" :items="links[0]" orientation="vertical" />

        <UNavigationMenu :collapsed="collapsed" :items="links[1]" orientation="vertical" class="mt-auto" />
      </template>
    </UDashboardSidebar>

    <slot />

    <!-- <HelpSlideover /> -->
    <!-- <NotificationsSlideover /> -->
  </UDashboardGroup>
</template>

<script setup lang="ts">
const links = [[], []]
</script>
