Initial open-source self-hosted Songs2YT edition
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
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>
|
||||
);
|
||||
}
|
||||
Reference in New Issue
Block a user