mirror of
https://github.com/Hestia-Homes/assessment-model.git
synced 2026-07-27 22:45:03 +00:00
33 lines
944 B
TypeScript
33 lines
944 B
TypeScript
import "./globals.css";
|
|
import Provider from "./components/Provider";
|
|
import Nav from "./components/Navbar";
|
|
import { QueryClient, QueryClientProvider } from "@tanstack/react-query";
|
|
import { ReactQueryProvider } from "./ReactQueryProvider";
|
|
|
|
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">
|
|
<body>
|
|
<Provider>
|
|
<ReactQueryProvider>
|
|
<Nav pageName="Home"></Nav>
|
|
{children}
|
|
</ReactQueryProvider>
|
|
</Provider>
|
|
</body>
|
|
</html>
|
|
);
|
|
}
|