Files
langship.sh/web/app/layout.tsx
T

34 lines
923 B
TypeScript
Raw Normal View History

import type { Metadata } from "next";
import "./globals.css";
import { AppSidebar } from "@/components/app-sidebar";
import { SidebarInset, SidebarProvider } from "@/components/ui/sidebar";
import { RunsListener } from "@/components/runs-listener";
export const metadata: Metadata = {
title: "Langship",
description: "Durable agent-pipeline runtime",
};
export default function RootLayout({
children,
}: {
children: React.ReactNode;
}) {
return (
<html lang="en" suppressHydrationWarning>
<body className="min-h-screen bg-background font-sans antialiased">
<SidebarProvider
style={{ "--sidebar-width": "17rem" } as React.CSSProperties}
>
<AppSidebar />
<SidebarInset>
<div className="flex min-h-0 flex-1 flex-col">{children}</div>
</SidebarInset>
</SidebarProvider>
<RunsListener />
</body>
</html>
);
}