Skip to content

Commit

Permalink
fix: tailwind config 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
yonghyun421 committed Apr 27, 2024
1 parent e30b5f9 commit b90d349
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
12 changes: 9 additions & 3 deletions src/common/Header/Header.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,17 @@ const Header = () => {
hasDoneInitialMeasure: _hasDoneInitialMeasure,
...props
}) => (
<div {...props} className="bg-black rounded p-3 mt-1">
<div className="p-1 cursor-pointer text-white" onClick={() => navigate("/mypage")}>
<div {...props} className="bg-black rounded p-3 mt-1 ">
<div
className="p-1 cursor-pointer text-textWhite hover:text-textBlue"
onClick={() => navigate("/mypage")}
>
마이페이지
</div>
<div className="p-1 cursor-pointer text-white" onClick={() => navigate("/login")}>
<div
className="p-1 cursor-pointer text-textWhite hover:text-textBlue"
onClick={() => navigate("/login")}
>
로그인
</div>
</div>
Expand Down
2 changes: 2 additions & 0 deletions tailwind.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ module.exports = {
textBlue: "#4B88FF",
textBlueHover: "#2F73FA",
textgreyHover: "#E0DEDE",
textWhite: "#FFFFFF",
textBlack: "#000000",
},
screens: {
mobile: "768px",
Expand Down

0 comments on commit b90d349

Please sign in to comment.