Skip to content

Commit fd13b98

Browse files
committed
Fix Gnb issue
1 parent 1124b4e commit fd13b98

File tree

1 file changed

+24
-6
lines changed

1 file changed

+24
-6
lines changed

apps/landing/src/components/Header/Pages.tsx

Lines changed: 24 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ export default function Pages({ isIntersecting }: { isIntersecting: boolean }) {
2424
>
2525
<Link
2626
className={css({
27-
color: 'inherit',
27+
color: '$text',
2828
})}
2929
href="/docs/overview"
3030
>
@@ -44,13 +44,19 @@ export default function Pages({ isIntersecting }: { isIntersecting: boolean }) {
4444
h="12px"
4545
transition="all 0.2s ease"
4646
/>
47-
<Text>문서</Text>
47+
<Text
48+
typography={
49+
pathname.startsWith('/docs') ? 'gnbMenuBold' : 'gnbMenu'
50+
}
51+
>
52+
문서
53+
</Text>
4854
</Center>
4955
</Flex>
5056
</Link>
5157
<Link
5258
className={css({
53-
color: 'inherit',
59+
color: '$text',
5460
})}
5561
href="/test-case"
5662
>
@@ -70,13 +76,19 @@ export default function Pages({ isIntersecting }: { isIntersecting: boolean }) {
7076
h="12px"
7177
transition="all 0.2s ease"
7278
/>
73-
<Text>테스트 케이스</Text>
79+
<Text
80+
typography={
81+
pathname.startsWith('/test-case') ? 'gnbMenuBold' : 'gnbMenu'
82+
}
83+
>
84+
테스트 케이스
85+
</Text>
7486
</Center>
7587
</Flex>
7688
</Link>
7789
<Link
7890
className={css({
79-
color: 'inherit',
91+
color: '$text',
8092
})}
8193
href="/team"
8294
>
@@ -96,7 +108,13 @@ export default function Pages({ isIntersecting }: { isIntersecting: boolean }) {
96108
h="12px"
97109
transition="all 0.2s ease"
98110
/>
99-
<Text>팀 소개</Text>
111+
<Text
112+
typography={
113+
pathname.startsWith('/team') ? 'gnbMenuBold' : 'gnbMenu'
114+
}
115+
>
116+
팀 소개
117+
</Text>
100118
</Center>
101119
</Flex>
102120
</Link>

0 commit comments

Comments
 (0)