Skip to content

Commit

Permalink
refactor(Header): 불필요한 styled-component 삭제
Browse files Browse the repository at this point in the history
  • Loading branch information
vi-wolhwa committed Jul 23, 2024
1 parent 8285a33 commit 290db3d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 12 deletions.
4 changes: 2 additions & 2 deletions frontend/src/components/Header/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ const Header = () => {
<S.HeaderContainer>
<Link to={'/my-page'}>
<Flex align='center' gap='1.2rem' width='fit-content'>
<S.Logo src={logoIcon} alt='logo' />
<img src={logoIcon} alt='logo' />
<Text.SubTitle color='#FFD269'>CodeZap</Text.SubTitle>
</Flex>
</Link>
Expand Down Expand Up @@ -51,7 +51,7 @@ const Header = () => {
/>
<Link to={'/templates/uploads'}>
<Button size='medium' variant='outlined' width='fit-content'>
<S.NewTemplateIcon src={newTemplateIcon} alt='newTemplate' />
<img src={newTemplateIcon} alt='newTemplate' />
<Text.Body weight='bold' color='#FFD269'>
New Template
</Text.Body>
Expand Down
10 changes: 0 additions & 10 deletions frontend/src/components/Header/style.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,3 @@ export const HeaderContainer = styled.nav`
background: #393e46;
`;

export const Logo = styled.img`
width: auto;
height: auto;
`;

export const NewTemplateIcon = styled.img`
width: auto;
height: auto;
`;

0 comments on commit 290db3d

Please sign in to comment.