Skip to content

Commit

Permalink
Layout for admin
Browse files Browse the repository at this point in the history
  • Loading branch information
Vyshnav001 committed Sep 28, 2024
1 parent 7bad0c2 commit 72ff748
Showing 1 changed file with 27 additions and 0 deletions.
27 changes: 27 additions & 0 deletions src/app/admin/layout.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
"use client";
import type { Metadata } from "next";
import { Inter } from "next/font/google";
import "./globals.css";
import Providers from "@/components/Layout/Provider";
import { AdminNavbar } from "@/components/Admin/Navbar/navbar";

const inter = Inter({ subsets: ["latin"] });

export default function RootLayout({
children,
}: Readonly<{
children: React.ReactNode;
}>) {
return (
<html lang="en">
<body className={inter.className}>
<Providers>
<div className="flex">
<AdminNavbar />
{children}
</div>
</Providers>
</body>
</html>
);
}

0 comments on commit 72ff748

Please sign in to comment.