2026-01-01 01:47:24 +01:00
|
|
|
import { AppContent } from '@/components/AppContent';
|
|
|
|
|
import { AppHeader } from '@/components/AppHeader';
|
|
|
|
|
import { AppShell } from '@/components/AppShell';
|
2025-12-29 17:17:35 +01:00
|
|
|
import { type BreadcrumbItem } from '@/types';
|
|
|
|
|
import type { PropsWithChildren } from 'react';
|
|
|
|
|
|
|
|
|
|
export default function AppHeaderLayout({
|
|
|
|
|
children,
|
|
|
|
|
breadcrumbs,
|
|
|
|
|
}: PropsWithChildren<{ breadcrumbs?: BreadcrumbItem[] }>) {
|
|
|
|
|
return (
|
|
|
|
|
<AppShell>
|
|
|
|
|
<AppHeader breadcrumbs={breadcrumbs} />
|
|
|
|
|
<AppContent>{children}</AppContent>
|
|
|
|
|
</AppShell>
|
|
|
|
|
);
|
|
|
|
|
}
|