Skip to content

Commit 13eb45a

Browse files
authored
Merge pull request #22 from codeit9-temporary/feature/Header
Style: 시맨틱 태그 변경 및 Profile 이미지 svg로 변경
2 parents 9d57a97 + aef493e commit 13eb45a

File tree

4 files changed

+15
-13
lines changed

4 files changed

+15
-13
lines changed

components/HeaderMenu.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import Image from "next/image";
2-
import Profile from "@/public/icons/profile.png";
2+
import Profile from "@/public/icons/profile.svg";
33
import Star from "@/public/icons/star.png";
44
import Link from "next/link";
55
import Button from "./Button";

components/Layout/Header.tsx

Lines changed: 10 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -5,19 +5,17 @@ import HeaderMenu from "../HeaderMenu";
55

66
const Header = () => {
77
return (
8-
<div>
9-
<div className="bg-gray100 py-[13px] px-[32px] md:py-[33px] md:px-[200px]">
10-
<div className="flex justify-between items-center max-w-[1520px]">
11-
<Link
12-
href={"/"}
13-
className="w-[88.67px] h-[16px] md:w-[133px] md:h-[24px]"
14-
>
15-
<Image src={Logo} width={133} height={24} alt="로고" />
16-
</Link>
17-
<HeaderMenu />
18-
</div>
8+
<header className="bg-gray100 py-[13px] px-[32px] md:py-[33px] md:px-[200px]">
9+
<div className="flex justify-between items-center max-w-[1520px]">
10+
<Link
11+
href={"/"}
12+
className="w-[88.67px] h-[16px] md:w-[133px] md:h-[24px]"
13+
>
14+
<Image src={Logo} width={133} height={24} alt="로고" />
15+
</Link>
16+
<HeaderMenu />
1917
</div>
20-
</div>
18+
</header>
2119
);
2220
};
2321

public/icons/profile.png

-1.21 KB
Binary file not shown.

public/icons/profile.svg

Lines changed: 4 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)