<script setup lang="ts">
import AppContent from '@/components/LayoutComponents/AppContent.vue';
import AppHeader from '@/components/AppHeader.vue';
import AppShell from '@/components/LayoutComponents/AppShell.vue';
import type { BreadcrumbItemType } from '@/types';

interface Props {
    breadcrumbs?: BreadcrumbItemType[];
}

withDefaults(defineProps<Props>(), {
    breadcrumbs: () => [],
});
</script>

<template>
    <AppShell class="flex-col">
        <AppHeader :breadcrumbs="breadcrumbs" />
        <AppContent>
            <slot />
        </AppContent>
    </AppShell>
</template>
