fitaiProto/apps/admin/src/app/layout.tsx
echo b1bb5d8166 redesign
admin dashboard
2025-11-19 03:34:18 +01:00

40 lines
859 B
TypeScript

import type { Metadata } from "next";
import { Inter } from "next/font/google";
import "./globals.css";
import {
ClerkProvider,
SignedIn,
SignedOut,
SignInButton,
UserButton,
} from "@clerk/nextjs";
import { Sidebar } from "@/components/ui/Sidebar";
const inter = Inter({ subsets: ["latin"] });
export const metadata: Metadata = {
title: "FitAI Admin",
description: "Fitness management admin dashboard",
};
export default function RootLayout({
children,
}: {
children: React.ReactNode;
}) {
return (
<ClerkProvider>
<html lang="en">
<body className={inter.className}>
<div className="flex min-h-screen bg-slate-50">
<Sidebar />
<main className="flex-1 ml-64 p-8">
{children}
</main>
</div>
</body>
</html>
</ClerkProvider>
);
}