This repository has been archived on 2025-12-04. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
Caramel-CRM-Backup/resources/js/layouts/app/AppSidebarLayout.vue
T

49 lines
1.1 KiB
Vue
Raw Normal View History

2025-10-20 08:57:51 +02:00
<script setup lang="ts">
import AppContent from '@/components/AppContent.vue';
import AppShell from '@/components/AppShell.vue';
import AppSidebar from '@/components/AppSidebar.vue';
import AppSidebarHeader from '@/components/AppSidebarHeader.vue';
import type { BreadcrumbItemType } from '@/types';
interface Props {
breadcrumbs?: BreadcrumbItemType[];
}
withDefaults(defineProps<Props>(), {
breadcrumbs: () => [],
});
</script>
<template>
<AppShell variant="sidebar">
<AppSidebar />
2025-11-11 11:49:38 +01:00
<AppContent variant="sidebar" class="overflow-x-hidden bg-main">
2025-10-20 08:57:51 +02:00
<AppSidebarHeader :breadcrumbs="breadcrumbs" />
<slot />
</AppContent>
</AppShell>
</template>
<style>
@media print {
header,
[data-slot="sidebar"]
{
display: none;
}
body {
margin: 25mm;
}
html, body,
[data-slot-sidebar-wrapper] {
background-color: transparent;
}
main {
margin: 0;
background-color: transparent;
border-radius: 0;
box-shadow: none;
outline: none;
}
}
</style>