trello_fake/app/layout.tsx

46 lines
1.0 KiB
TypeScript
Raw Normal View History

2025-12-05 19:26:44 +00:00
import type { Metadata } from "next";
import { Geist, Geist_Mono } from "next/font/google";
import "./globals.css";
import { SidebarProvider, SidebarTrigger, SidebarInset } from "@/components/ui/sidebar"
2025-12-11 11:54:57 +00:00
import { AppSidebar } from "@/components/app-sidebar"
2025-12-05 19:26:44 +00:00
const geistSans = Geist({
variable: "--font-geist-sans",
subsets: ["latin"],
});
const geistMono = Geist_Mono({
variable: "--font-geist-mono",
subsets: ["latin"],
});
export const metadata: Metadata = {
title: "Dolibarr proyectos",
2025-12-05 19:26:44 +00:00
description: "Generated by create next app",
};
export default function RootLayout({
children,
}: Readonly<{
children: React.ReactNode;
}>) {
return (
2026-01-09 17:39:19 +00:00
<html lang="en" suppressHydrationWarning>
<body className={`${geistSans.variable} ${geistMono.variable} antialiased`}>
2025-12-11 11:58:40 +00:00
<SidebarProvider>
<AppSidebar />
<SidebarInset>
2025-12-11 11:58:40 +00:00
<main>
<SidebarTrigger />
{children}
2025-12-11 11:58:40 +00:00
</main>
</SidebarInset>
2025-12-11 11:58:40 +00:00
</SidebarProvider>
2025-12-05 19:26:44 +00:00
</body>
</html>
);
}