diff --git a/src/app/layout.tsx b/src/app/layout.tsx index a5bdfcb..0ef1d51 100644 --- a/src/app/layout.tsx +++ b/src/app/layout.tsx @@ -2,6 +2,7 @@ import { cn } from "@/lib/utils" import "@/styles/globals.css" import { Inter } from "next/font/google" import Navbar from "@/components/Navbar" +import Footer from "@/components/Footer" import { Toaster } from "@/components/ui/Toaster" import Providers from "@/components/Providers" @@ -13,7 +14,7 @@ export const metadata = { const inter = Inter({ subsets: ["latin"] }) // TODO: Fer servir la font de l'AED -function RootLayout({ +export default async function RootLayout({ children, authModal, }: { @@ -30,20 +31,22 @@ function RootLayout({ > - {/* @ts-expect-error server component */} - - {authModal} -
- {children} +
+ {/* @ts-expect-error server component */} + +
+ {children} +
+ + {/* @ts-expect-error server component */} +