Update various configuration files, components, and assets; enhance notification system and API endpoints; improve documentation and styles across the application.
This commit is contained in:
25
components/layouts/index.vue
Normal file
25
components/layouts/index.vue
Normal file
@@ -0,0 +1,25 @@
|
||||
<script setup>
|
||||
import { useThemeStore } from "~/stores/theme";
|
||||
|
||||
// Import Layout Components
|
||||
import RSVertical from "~/components/layouts/vertical/index.vue";
|
||||
import RSHorizontal from "~/components/layouts/horizontal/index.vue";
|
||||
|
||||
const themeStore = useThemeStore();
|
||||
const layoutType = themeStore.layoutType;
|
||||
</script>
|
||||
|
||||
<template>
|
||||
<div class="layout-wrapper">
|
||||
<div v-if="layoutType === 'vertical'" class="v-layout h-100">
|
||||
<RSVertical>
|
||||
<slot />
|
||||
</RSVertical>
|
||||
</div>
|
||||
<div v-if="layoutType === 'horizontal'" class="h-layout h-100">
|
||||
<RSHorizontal>
|
||||
<slot />
|
||||
</RSHorizontal>
|
||||
</div>
|
||||
</div>
|
||||
</template>
|
||||
Reference in New Issue
Block a user