Skip to content

Commit

Permalink
Merge pull request #290 from TripInfoWeb/dev_header
Browse files Browse the repository at this point in the history
fix: 상단 헤더 네비게이션 메뉴가 보이지를 않아서 흰색 배경에 투명도를 추가하고 글자색은 검은색으로 변경
  • Loading branch information
ssssksss authored Sep 11, 2024
2 parents 672b5d7 + 2d775e9 commit a31510c
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions src/components/common/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ const Header = ({
<div
className={
"fixed right-0 top-0 z-40 flex w-full justify-center shadow" +
` ${transparent ? "bg-transparent backdrop-blur-md" : "bg-white"}`
` ${transparent ? "bg-[#ffffff30] backdrop-blur-md" : "bg-white"}`
}
>
<div className="flex h-20 w-[90rem] flex-row items-center justify-between px-6">
Expand All @@ -57,7 +57,7 @@ const Header = ({
<li>
<Link
className={
`${pathname === "/" ? "font-bold text-black" : "font-medium text-gray1"} ` +
`${pathname === "/" ? "font-bold text-black" : "font-medium text-black"} ` +
"text-sm hover:text-main"
}
href="/"
Expand All @@ -71,7 +71,7 @@ const Header = ({
`${
pathname.includes("/informations")
? "font-bold text-black"
: "font-medium text-gray1"
: "font-medium text-black"
} ` + "text-sm hover:text-main"
}
href="/informations/list?page=1&parentCategoryId=1"
Expand All @@ -85,7 +85,7 @@ const Header = ({
`${
pathname.includes("/gathering")
? "font-bold text-black"
: "font-medium text-gray1"
: "font-medium text-black"
} ` + "text-sm hover:text-main"
}
href="/gathering"
Expand All @@ -99,7 +99,7 @@ const Header = ({
`${
pathname.includes("/diary")
? "font-bold text-black"
: "font-medium text-gray1"
: "font-medium text-black"
} ` + "text-sm hover:text-main"
}
href="/diary/list?page=1"
Expand All @@ -114,7 +114,7 @@ const Header = ({
`${
pathname.includes("/support?menu=about")
? "font-bold text-black"
: "font-medium text-gray1"
: "font-medium text-black"
} ` + "text-sm hover:text-main"
}
href="/support?menu=about"
Expand Down

0 comments on commit a31510c

Please sign in to comment.