Skip to content

Commit 44abedb

Browse files
committed
chore: 랜딩페이지 로그인 후에는 로그인 숨기기
1 parent c29549e commit 44abedb

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

src/app/components/layout/Header.tsx

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -37,12 +37,14 @@ export default function Header() {
3737
>
3838
워크톡
3939
</Link>
40-
<Link
41-
href="/login"
42-
className="text-sm text-white transition-colors hover:text-primary-orange-300 md:text-base lg:text-lg"
43-
>
44-
로그인
45-
</Link>
40+
{!user && !isLoading && (
41+
<Link
42+
href="/login"
43+
className="text-sm text-white transition-colors hover:text-primary-orange-300 md:text-base lg:text-lg"
44+
>
45+
로그인
46+
</Link>
47+
)}
4648
</div>
4749
</nav>
4850
</header>

0 commit comments

Comments
 (0)