Skip to content

Commit

Permalink
Merge pull request #86 from LikeLion-Hackathon-T1/develop
Browse files Browse the repository at this point in the history
feat: 헤더 수정
  • Loading branch information
seokkkkkk authored Aug 4, 2024
2 parents ee8da7b + 6efbdf2 commit c7a3582
Show file tree
Hide file tree
Showing 5 changed files with 301 additions and 185 deletions.
26 changes: 26 additions & 0 deletions src/assets/icons/BackIcon.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
const BackIcon = ({ color = "black" }) => {
return (
<svg
width="24"
height="24"
viewBox="0 0 24 24"
fill="none"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M12 4L4 12L12 20"
stroke={color}
stroke-width="1.4"
stroke-linejoin="round"
/>
<path
d="M4 12H21"
stroke={color}
stroke-width="1.4"
stroke-linejoin="round"
/>
</svg>
);
};

export default BackIcon;
27 changes: 27 additions & 0 deletions src/assets/icons/CartIcon.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
const CartIcon = ({ color = "black" }) => {
return (
<svg
width="24"
height="24"
viewBox="0 0 24 24"
fill="none"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M9 12V6C9 4.34315 10.3431 3 12 3V3C13.6569 3 15 4.34315 15 6V12"
stroke={color}
stroke-width="1.4"
stroke-linejoin="round"
/>
<path
d="M4.80224 20.3L6.38857 8.7H17.6114L19.1978 20.3H4.80224Z"
stroke={color}
stroke-width="1.4"
/>
<rect x="8" y="11" width="2" height="2" fill={color} />
<rect x="14" y="11" width="2" height="2" fill={color} />
</svg>
);
};

export default CartIcon;
27 changes: 27 additions & 0 deletions src/assets/icons/HomeIcon.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
const HomeIcon = ({ color = "black" }) => {
return (
<svg
width="24"
height="24"
viewBox="0 0 24 24"
fill="none"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M2 12L12 3L22 12"
stroke={color}
stroke-width="1.4"
stroke-linecap="round"
stroke-linejoin="round"
/>
<path
d="M5 9V20H19V9"
stroke={color}
stroke-width="1.4"
stroke-linejoin="round"
/>
</svg>
);
};

export default HomeIcon;
Loading

0 comments on commit c7a3582

Please sign in to comment.