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 (
|
||||
<div>
|
||||
<Navbar actions={<SignOutButton />} />
|
||||
<p className="bg-violet-700 text-white w-full text-center py-2">
|
||||
Sono del layout (main)
|
||||
</p>
|
||||
<main>{children}</main>
|
||||
</div>
|
||||
);
|
||||
|
|
|
|||
|
|
@ -26,10 +26,7 @@ export default async function RootLayout({
|
|||
return (
|
||||
<html lang="en">
|
||||
<body className={`${geistSans.variable} ${geistMono.variable} h-full antialiased`}>
|
||||
<p className="bg-purple-700 text-white w-full text-center py-2">
|
||||
Sono del layout root
|
||||
</p>
|
||||
{children}
|
||||
{children}
|
||||
</body>
|
||||
</html>
|
||||
);
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue