Skip to content

Commit

Permalink
add layout
Browse files Browse the repository at this point in the history
  • Loading branch information
davidabram committed Jan 23, 2025
1 parent 816f797 commit 9ba0e21
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 7 deletions.
13 changes: 13 additions & 0 deletions apps/contact/app/layout.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
export default function Layout({
children,
}: {
children: React.ReactNode
}) {
return (
<html lang="en">
<body>
<main>{children}</main>
</body>
</html>
)
}
10 changes: 3 additions & 7 deletions apps/contact/app/page.tsx
Original file line number Diff line number Diff line change
@@ -1,11 +1,7 @@
export default function Home() {
return (
<html>
<body>
<div>
THIS IS API
</div>
</body>
</html>
<div>
THIS IS API
</div>
);
}

0 comments on commit 9ba0e21

Please sign in to comment.