mirror of
https://github.com/Hestia-Homes/assessment-model.git
synced 2026-07-27 22:45:03 +00:00
40 lines
1 KiB
TypeScript
40 lines
1 KiB
TypeScript
import "./globals.css";
|
|
import Provider from "./components/Provider";
|
|
import Nav from "./components/Navbar";
|
|
import { ReactQueryProvider } from "./ReactQueryProvider";
|
|
|
|
import { Inter } from "next/font/google";
|
|
|
|
// If loading a variable font, you don't need to specify the font weight
|
|
const inter = Inter({
|
|
subsets: ["latin"],
|
|
display: "swap",
|
|
});
|
|
|
|
export const metadata = {
|
|
title: "",
|
|
description: "Start your retrofit journey today",
|
|
};
|
|
|
|
export default function RootLayout({
|
|
children,
|
|
}: {
|
|
children: React.ReactNode;
|
|
}) {
|
|
// TODO: With this, the NavBar is being applied to the route layout so across all pages, including the sign in page, which we
|
|
// possibly don't want, or at least don't want it to look exactly like this, with the same links and ability to sign out
|
|
// on small screens.
|
|
|
|
return (
|
|
<html lang="en" className={inter.className}>
|
|
<body>
|
|
<Provider>
|
|
<ReactQueryProvider>
|
|
<Nav />
|
|
{children}
|
|
</ReactQueryProvider>
|
|
</Provider>
|
|
</body>
|
|
</html>
|
|
);
|
|
}
|