tolto <p>Sono del Layout...</p>
This commit is contained in:
parent
bf523cca89
commit
47367cb74c
2 changed files with 1 additions and 7 deletions
|
|
@ -19,9 +19,6 @@ export default async function MainLayout({
|
||||||
return (
|
return (
|
||||||
<div>
|
<div>
|
||||||
<Navbar actions={<SignOutButton />} />
|
<Navbar actions={<SignOutButton />} />
|
||||||
<p className="bg-violet-700 text-white w-full text-center py-2">
|
|
||||||
Sono del layout (main)
|
|
||||||
</p>
|
|
||||||
<main>{children}</main>
|
<main>{children}</main>
|
||||||
</div>
|
</div>
|
||||||
);
|
);
|
||||||
|
|
|
||||||
|
|
@ -26,10 +26,7 @@ export default async function RootLayout({
|
||||||
return (
|
return (
|
||||||
<html lang="en">
|
<html lang="en">
|
||||||
<body className={`${geistSans.variable} ${geistMono.variable} h-full antialiased`}>
|
<body className={`${geistSans.variable} ${geistMono.variable} h-full antialiased`}>
|
||||||
<p className="bg-purple-700 text-white w-full text-center py-2">
|
{children}
|
||||||
Sono del layout root
|
|
||||||
</p>
|
|
||||||
{children}
|
|
||||||
</body>
|
</body>
|
||||||
</html>
|
</html>
|
||||||
);
|
);
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue