mirror of
https://github.com/soconnor0919/hristudio.git
synced 2025-12-11 22:54:45 -05:00
26 lines
619 B
TypeScript
26 lines
619 B
TypeScript
import { type PropsWithChildren } from "react"
|
|
import { Sidebar } from "~/components/sidebar"
|
|
import { Inter } from "next/font/google"
|
|
|
|
import "~/styles/globals.css"
|
|
|
|
const inter = Inter({
|
|
subsets: ["latin"],
|
|
display: "swap",
|
|
variable: "--font-sans",
|
|
})
|
|
|
|
export default function RootLayout({ children }: PropsWithChildren) {
|
|
return (
|
|
<html lang="en">
|
|
<body className={`font-sans ${inter.variable}`}>
|
|
<div className="flex h-screen">
|
|
<Sidebar />
|
|
<main className="flex-1 overflow-y-auto">
|
|
{children}
|
|
</main>
|
|
</div>
|
|
</body>
|
|
</html>
|
|
)
|
|
} |