use modal for auth nav button
This commit is contained in:
@@ -2,6 +2,7 @@ import "@/styles/globals.css";
|
||||
|
||||
import Navbar from "@/components/Navbar";
|
||||
import Footer from "@/components/Footer";
|
||||
import AuthModal from "@/components/AuthModal";
|
||||
|
||||
export const metadata = {
|
||||
title: "chessu",
|
||||
@@ -14,11 +15,12 @@ export default function RootLayout({ children }: { children: React.ReactNode })
|
||||
<body>
|
||||
<Navbar />
|
||||
|
||||
<main className="bg-base-200 mx-1 flex min-h-[70vh] justify-center rounded-3xl shadow-md md:mx-16 lg:mx-40">
|
||||
{children}
|
||||
</main>
|
||||
<main className="mx-1 flex min-h-[70vh] justify-center md:mx-16 lg:mx-40">{children}</main>
|
||||
|
||||
<Footer />
|
||||
|
||||
{/* auth modal, put in separate component */}
|
||||
<AuthModal />
|
||||
</body>
|
||||
</html>
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user