mirror of
https://github.com/davidkaya/aryx.git
synced 2026-07-25 22:18:40 +02:00
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
16 lines
435 B
TypeScript
16 lines
435 B
TypeScript
import type { ReactNode } from 'react';
|
|
|
|
interface AppShellProps {
|
|
sidebar: ReactNode;
|
|
content: ReactNode;
|
|
}
|
|
|
|
export function AppShell({ sidebar, content }: AppShellProps) {
|
|
return (
|
|
<div className="flex min-h-screen bg-slate-950 text-slate-100">
|
|
<aside className="w-[360px] shrink-0 border-r border-slate-800 bg-slate-900/90">{sidebar}</aside>
|
|
<main className="min-w-0 flex-1">{content}</main>
|
|
</div>
|
|
);
|
|
}
|