mirror of
https://github.com/borbann-platform/backend-api.git
synced 2025-12-19 20:54:05 +01:00
37 lines
1.0 KiB
TypeScript
37 lines
1.0 KiB
TypeScript
import type React from "react";
|
|
import type { Metadata } from "next";
|
|
import { Poppins } from "next/font/google";
|
|
import "./globals.css";
|
|
import { ThemeProvider } from "@/components/theme-provider";
|
|
import Sidebar from "@/components/sidebar";
|
|
|
|
const poppins = Poppins({
|
|
subsets: ["latin"],
|
|
weight: ["300", "400", "500", "600", "700"],
|
|
variable: "--font-poppins",
|
|
});
|
|
|
|
export const metadata: Metadata = {
|
|
title: "BorBann - Property Analytics",
|
|
description: "Automated data integration pipeline and property analytics for real estate",
|
|
};
|
|
|
|
export default function RootLayout({
|
|
children,
|
|
}: Readonly<{
|
|
children: React.ReactNode;
|
|
}>) {
|
|
return (
|
|
<html lang="en" suppressHydrationWarning>
|
|
<body className={poppins.className}>
|
|
<ThemeProvider attribute="class" defaultTheme="system" enableSystem disableTransitionOnChange>
|
|
<div className="flex h-screen">
|
|
<Sidebar />
|
|
<div className="flex-1 overflow-auto">{children}</div>
|
|
</div>
|
|
</ThemeProvider>
|
|
</body>
|
|
</html>
|
|
);
|
|
}
|