Files
veridian/app/layouts/default.vue
T
zoeissleeping f6dc4c1ee9 feat: add message editing
This commit adds message editing as a feature. To accomplish this, the settings
dialog was refactored into a singleton and now the message edit and settings
use the singleton where appropriate.
2026-02-24 16:37:21 +00:00

28 lines
595 B
Vue

<script setup lang="ts">
import Dialog from '~/components/Dialog/index.vue';
const { colorScheme } = await useUserSettings();
useHead({
htmlAttrs: {
class: colorScheme.class
}
});
useKeyboardShortcuts();
</script>
<template>
<Sidenav />
<main
class="bg-[var(--bg-surface)] flex flex-col h-full w-full border border-solid border-[var(--color-border)] rounded-lg overflow-hidden">
<div class="flex-1 overflow-y-auto">
<slot />
</div>
</main>
<ClientOnly>
<Dialog />
<Dropdown />
</ClientOnly>
</template>