<template>
  <el-container class="layout-container">
    <Sidebar />
    <el-container direction="vertical">
      <Navbar />
      <el-main class="main-content">
        <router-view />
      </el-main>
    </el-container>
  </el-container>
</template>

<script setup lang="ts">
import Sidebar from '@/components/Sidebar/index.vue'
import Navbar from '@/components/Navbar/index.vue'
</script>

<style scoped>
.layout-container {
  height: 100vh;
}
.main-content {
  background-color: #f0f2f5;
  padding: 20px;
  overflow-y: auto;
}

</style>
