Skip to content

Commit ff3af0f

Browse files
committed
feat: header 컴포넌트 about 페이지 연결
1 parent a0d09f7 commit ff3af0f

File tree

1 file changed

+6
-2
lines changed

1 file changed

+6
-2
lines changed

components/header/main-header.tsx

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,9 @@ const MainHeader: FunctionComponent = () => {
3939
<div className="fixed z-50 flex h-17 w-full items-center justify-between bg-white px-6">
4040
<UserButton user={userQuery.data} />
4141
<nav className="flex items-center gap-4">
42-
<TextButton>소개</TextButton>
42+
<TextButton asChild>
43+
<Link href="/about">소개</Link>
44+
</TextButton>
4345
<TextButton asChild>
4446
<Link href="/archive">내 아카이브</Link>
4547
</TextButton>
@@ -52,7 +54,9 @@ const MainHeader: FunctionComponent = () => {
5254
return (
5355
<div className="fixed z-50 flex h-17 w-full items-center justify-end bg-white px-6">
5456
<nav className="flex items-center gap-4">
55-
<TextButton>소개</TextButton>
57+
<TextButton asChild>
58+
<Link href="/about">소개</Link>
59+
</TextButton>
5660
<Dialog>
5761
<DialogTrigger asChild>
5862
<TextButton>로그인</TextButton>

0 commit comments

Comments
 (0)