Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
congle-engineer committed Oct 9, 2024
1 parent c547a4a commit 537e154
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 2 additions & 0 deletions app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,8 @@ export default function RootLayout({
<body
className={cn(inter.className, "dark:bg-slate-900 dark:text-slate-400")}
>
{/* <div className="sticky top-0 z-10">
</div> */}
<Header />
<div className="min-h-screen">{children}</div>
<Footer />
Expand Down
4 changes: 2 additions & 2 deletions components/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import { Container } from "./Container";
export function Header() {
return (
<Container>
<section className="mb-16 mt-16 flex flex-row items-center justify-between md:mb-12">
<div className="mb-16 mt-8 flex flex-row items-center justify-between md:mb-12">
<div>
<Link href="/">Logo</Link>
</div>
Expand All @@ -14,7 +14,7 @@ export function Header() {
<Link href="/">About</Link>
<ThemeSwitcher />
</div>
</section>
</div>
</Container>
);
}

0 comments on commit 537e154

Please sign in to comment.