<script lang="ts" setup></script>

<template>
  <div class="w-full min-h-screen flex flex-col font-sans">
    <AppTopbar hide-trigger>
      <template #title-area>
        <div
          class="flex items-center gap-2 w-[calc(var(--sidebar-width)+24px)] overflow-hidden"
        >
          <h1 class="text-lg font-medium">智课教学平台</h1>
        </div>
      </template>
    </AppTopbar>
    <div class="min-h-[100vh] flex-1 md:min-h-min p-4">
      <slot />
    </div>
  </div>
</template>

<style scoped></style>
