Skip to content

Commit

Permalink
feat: 로고 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
Leejin-Yang committed Apr 20, 2024
1 parent 8febefa commit f9bff43
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 14 deletions.
12 changes: 2 additions & 10 deletions src/assets/logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 5 additions & 4 deletions src/components/Common/Header/Header.tsx
Original file line number Diff line number Diff line change
@@ -1,19 +1,20 @@
import { Link } from 'react-router-dom';

import { container } from './header.css';
import { container, link } from './header.css';
import SvgIcon from '../Svg/SvgIcon';

import Logo from '@/assets/logo.svg';
import { PATH } from '@/constants/path';
import { vars } from '@/styles/theme.css';

const Header = () => {
return (
<header className={container}>
<Link to={PATH.HOME}>
<Link to={PATH.HOME} className={link}>
<Logo />
</Link>
<Link to={PATH.SEARCH}>
<SvgIcon variant="search2" width={20} height={20} fill="none" stroke="#232527" />
<Link to={PATH.SEARCH} className={link}>
<SvgIcon variant="search2" width={20} height={20} fill={vars.colors.black} />
</Link>
</header>
);
Expand Down
6 changes: 6 additions & 0 deletions src/components/Common/Header/header.css.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,9 @@ export const container = style({
transform: 'translateX(-50%)',
zIndex: 1001,
});

export const link = style({
display: 'flex',
justifyContent: 'center',
alignItems: 'center',
});

0 comments on commit f9bff43

Please sign in to comment.