5.1 앱 레이아웃/헤더/푸터/사이드바 구성
This commit is contained in:
13
src/app/components/AppHeader.tsx
Normal file
13
src/app/components/AppHeader.tsx
Normal file
@@ -0,0 +1,13 @@
|
||||
export function AppHeader() {
|
||||
return (
|
||||
<header style={{ display: "flex", justifyContent: "space-between", padding: 12 }}>
|
||||
<div>msg App</div>
|
||||
<nav style={{ display: "flex", gap: 12 }}>
|
||||
<a href="/">홈</a>
|
||||
<a href="/boards">게시판</a>
|
||||
</nav>
|
||||
</header>
|
||||
);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user