Skip to content

Commit 621a8e3

Browse files
author
Luca Forstner
committed
.
1 parent a88a8bf commit 621a8e3

File tree

2 files changed

+9
-1
lines changed

2 files changed

+9
-1
lines changed
Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,12 @@
11
export default function RootLayout({ children }: { children: React.ReactNode }) {
22
return (
33
<html lang="en">
4-
<body>{children}</body>
4+
<body>
5+
<div style={{ backgroundColor: 'lightblue', padding: '12px' }}>
6+
<h1>Root layout</h1>
7+
{children}
8+
</div>
9+
</body>
510
</html>
611
);
712
}
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
export default function NotFound() {
2+
return <p>Not found</p>;
3+
}

0 commit comments

Comments
 (0)