Files
2026-07-17 02:23:59 +02:00

19 lines
497 B
TypeScript

import type { ReactNode } from "react";
import { DashboardNav } from "@/components/DashboardNav";
import { LegalFooter } from "@/components/LegalFooter";
type Props = {
channelTitle?: string | null;
children: ReactNode;
};
export function DashboardShell({ channelTitle, children }: Props) {
return (
<main className="flex min-h-screen flex-col">
<DashboardNav channelTitle={channelTitle} />
<div className="flex-1">{children}</div>
<LegalFooter />
</main>
);
}