Files
website/layers/notes/app/components/NotesSidebar.vue
T
2026-10-01 19:39:20 +02:00

12 lines
402 B
Vue

<script setup lang="ts">
// Desktop only; on mobile the list is pulled down from the top (NotesDrawer)
const { open } = useNotesSidebar()
</script>
<template>
<aside v-show="open" class="hidden w-72 shrink-0 flex-col border-e border-default md:flex">
<h1 class="px-4 py-4 text-lg font-semibold text-highlighted">Notes</h1>
<NotesList class="flex-1 overflow-y-auto" />
</aside>
</template>