<script setup>
import GraphSidebar from "./components/GraphSidebar.vue";
import GraphTable from "./components/GraphTable.vue";
import { provide, ref } from "vue";

const current_dir = ref(null);
const updateCurrentDir = (d) => {
  current_dir.value = d;
};
provide("current_dir", { current_dir, updateCurrentDir });
</script>

<template>
  <div>
    <h1 class="text-2xl font-extrabold mb-2">圖資管理</h1>
    <div class="grid grid-cols-9 gap-8">
      <GraphSidebar class="col-span-2" />
      <GraphTable class="col-span-7" />
      <!-- <div class="col-span-2">test</div> -->
    </div>
  </div>
</template>

<style lang="scss" scoped></style>
