Skip to content

Commit 378082e

Browse files
committed
refactor(Header): NavOption 버튼을 기본 html 태그로 변경
1 parent e403550 commit 378082e

File tree

2 files changed

+8
-3
lines changed

2 files changed

+8
-3
lines changed

frontend/src/components/Header/Header.style.ts

+5
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,11 @@ export const HeaderContentContainer = styled.div`
2929
white-space: nowrap;
3030
`;
3131

32+
export const NavOptionButton = styled.button`
33+
cursor: pointer;
34+
background: none;
35+
`;
36+
3237
export const NewTemplateButton = styled.button`
3338
cursor: pointer;
3439

frontend/src/components/Header/Header.tsx

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import { Link } from 'react-router-dom';
22

33
import { logoIcon, newTemplateIcon, userMenuIcon } from '@/assets/images';
4-
import { Button, Flex, Heading, Text } from '@/components';
4+
import { Flex, Heading, Text } from '@/components';
55
import * as S from './Header.style';
66

77
const Header = () => (
@@ -33,11 +33,11 @@ const Logo = () => (
3333

3434
const NavOption = ({ route, name }: { route: string; name: string }) => (
3535
<Link to={route}>
36-
<Button size='medium' variant='text'>
36+
<S.NavOptionButton>
3737
<Text.Medium weight='bold' color='#393E46'>
3838
{name}
3939
</Text.Medium>
40-
</Button>
40+
</S.NavOptionButton>
4141
</Link>
4242
);
4343

0 commit comments

Comments
 (0)