Skip to content

Commit

Permalink
Merge pull request #4 from burtonjong/T1/edit-header
Browse files Browse the repository at this point in the history
T1/edit header
  • Loading branch information
promatty authored Jun 8, 2024
2 parents 3881382 + 3c2923d commit 0e9020a
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 12 deletions.
6 changes: 1 addition & 5 deletions src/app/planner/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,5 @@ export default function PlannerLayout({
}: Readonly<{
children: React.ReactNode;
}>) {
return (
<html lang="en">
<body>{children}</body>
</html>
);
return <div>{children}</div>;
}
6 changes: 1 addition & 5 deletions src/app/spreadsheet/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,5 @@ export default function SpreadsheetLayout({
}: Readonly<{
children: React.ReactNode;
}>) {
return (
<html lang="en">
<body>{children}</body>
</html>
);
return <div>{children}</div>;
}
6 changes: 4 additions & 2 deletions src/components/Header.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
export default function Header() {
return (
<div className="flex h-24 flex-row items-center justify-center">
<h1>Header</h1>
<div className="flex h-24 flex-row items-center justify-evenly bg-slate-500">
<a href="/spreadsheet">Spreadsheet</a>
<a href="/">Home</a>
<a href="/planner">Planner</a>
</div>
);
}

0 comments on commit 0e9020a

Please sign in to comment.