vision-agent / app /project /layout.tsx
MingruiZhang's picture
project list
fcd4478
raw
history blame
533 Bytes
import ProjectListSideBar from '@/components/sidebar/ProjectListSideBar';
interface ChatLayoutProps {
children: React.ReactNode;
}
export default async function Layout({ children }: ChatLayoutProps) {
return (
<div className="relative flex h-[calc(100vh_-_theme(spacing.16))] overflow-hidden">
<ProjectListSideBar />
<div className="group w-full overflow-auto pl-0 animate-in duration-300 ease-in-out peer-[[data-state=open]]:lg:pl-[250px] peer-[[data-state=open]]:xl:pl-[300px]">
{children}
</div>
</div>
);
}