-
Notifications
You must be signed in to change notification settings - Fork 46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[강수민] Sprint11 #327
Merged
jyh0521
merged 8 commits into
codeit-bootcamp-frontend:Next-강수민
from
hpk5802:Next-강수민-sprint11
Dec 9, 2024
The head ref may contain hidden characters: "Next-\uAC15\uC218\uBBFC-sprint11"
Merged
[강수민] Sprint11 #327
Changes from all commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
22703ca
[refactor]: sprint10 코드리뷰 반영
8ecdda7
[refactor]: Form reducer에서 react-hook-form으로 마이그레이션
d347cbb
[feat]: 로그인 & 로그아웃 기능 추가
5926f7e
[feat]: 회원가입 기능 추가
151d9ec
[feat]: accessToken 있는 경우 redirection 기능 추가
a79afae
[refactor]: 불필요한 isLogin property 삭제
1898c76
[chore]: 에러 수정용 도메인 추가
8f96484
[refactor]: 로그아웃 기능 수정
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
interface IconProps { | ||
width?: string; | ||
height?: string; | ||
} | ||
|
||
function BackIcon({ width, height }: IconProps) { | ||
return ( | ||
<svg | ||
width={width} | ||
height={height} | ||
viewBox='0 0 25 24' | ||
fill='none' | ||
xmlns='http://www.w3.org/2000/svg' | ||
> | ||
<path | ||
d='M6.53333 3.60012C6.03627 3.60012 5.63333 4.00307 5.63333 4.50012C5.63333 4.99718 6.03627 5.40012 6.53333 5.40012V3.60012ZM6.53333 5.40012H16.6667V3.60012H6.53333V5.40012ZM21.1 9.83345V10.9001H22.9V9.83345H21.1ZM16.6667 15.3335H6.53333V17.1335H16.6667V15.3335ZM21.1 10.9001C21.1 13.3486 19.1151 15.3335 16.6667 15.3335V17.1335C20.1092 17.1335 22.9 14.3427 22.9 10.9001H21.1ZM16.6667 5.40012C19.1151 5.40012 21.1 7.38499 21.1 9.83345H22.9C22.9 6.39088 20.1092 3.60012 16.6667 3.60012V5.40012Z' | ||
fill='white' | ||
/> | ||
<path d='M3 16.2335L10.2 12.5384L10.2 19.9285L3 16.2335Z' fill='white' /> | ||
</svg> | ||
); | ||
} | ||
|
||
export default BackIcon; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
interface IconProps { | ||
width?: string; | ||
height?: string; | ||
} | ||
|
||
function EmptyIcon({ width, height }: IconProps) { | ||
return ( | ||
<svg | ||
width={width} | ||
height={height} | ||
viewBox='0 0 32 32' | ||
xmlns='http://www.w3.org/2000/svg' | ||
> | ||
<path d='m30 3.4141-1.4141-1.4141-26.5859 26.5859 1.4141 1.4141 2-2h20.5859a2.0027 2.0027 0 0 0 2-2v-20.5859zm-4 22.5859h-18.5859l7.7929-7.793 2.3788 2.3787a2 2 0 0 0 2.8284 0l1.5858-1.5857 4 3.9973zm0-5.8318-2.5858-2.5859a2 2 0 0 0 -2.8284 0l-1.5858 1.5859-2.377-2.3771 9.377-9.377z' /> | ||
<path d='m6 22v-3l5-4.9966 1.3733 1.3733 1.4159-1.416-1.375-1.375a2 2 0 0 0 -2.8284 0l-3.5858 3.5859v-10.1716h16v-2h-16a2.002 2.002 0 0 0 -2 2v16z' /> | ||
<path d='m0 0h32v32h-32z' fill='none' /> | ||
</svg> | ||
); | ||
} | ||
|
||
export default EmptyIcon; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
interface IconProps { | ||
width?: string; | ||
height?: string; | ||
isFavorite?: boolean; | ||
} | ||
|
||
function HeartIcon({ width, height, isFavorite = false }: IconProps) { | ||
return ( | ||
<svg | ||
width={width} | ||
height={height} | ||
viewBox='0 0 16 16' | ||
fill={isFavorite ? "#FF68CC" : "none"} | ||
stroke={isFavorite ? "#FF68CC" : "none"} | ||
xmlns='http://www.w3.org/2000/svg' | ||
> | ||
<path | ||
d='M3.5573 9.31157C3.40759 9.18016 3.28782 9.07475 3.20004 8.99739V8.95147L3.0243 8.77574C2.3305 8.08193 1.93337 7.16547 1.93337 6.2V6.07612C1.99484 4.2062 3.59191 2.66667 5.46671 2.66667C5.74499 2.66667 6.1142 2.76344 6.48225 2.96162C6.82958 3.14864 7.13445 3.40383 7.33689 3.68842C7.63138 4.31494 8.53917 4.30366 8.81157 3.65457C8.97931 3.36092 9.2733 3.0955 9.62562 2.89902C9.99324 2.694 10.3597 2.6 10.6 2.6C12.5294 2.6 14.0717 4.12742 14.1334 6.07581V6.2C14.1334 7.24201 13.73 8.14473 13.0613 8.75771L12.8667 8.93606V8.97957C12.7656 9.06525 12.6353 9.17766 12.4834 9.30974C12.1463 9.6029 11.6949 9.99999 11.2033 10.4332C11.0456 10.5722 10.8838 10.7149 10.7202 10.8592C9.86394 11.6143 8.9594 12.4119 8.34603 12.9417C8.16951 13.0861 7.89724 13.0861 7.72071 12.9417C6.9885 12.3093 5.82589 11.2962 4.83654 10.4316C4.34091 9.9984 3.88917 9.60286 3.5573 9.31157Z' | ||
stroke='#4B5563' | ||
strokeWidth='1.2' | ||
/> | ||
</svg> | ||
); | ||
} | ||
|
||
export default HeartIcon; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,115 @@ | ||
interface IconProps { | ||
width?: string; | ||
height?: string; | ||
isComment?: boolean; | ||
} | ||
|
||
function InquiryEmptyIcon({ width, height, isComment = false }: IconProps) { | ||
return ( | ||
<> | ||
{isComment ? ( | ||
<svg | ||
width={width} | ||
height={height} | ||
viewBox='0 0 140 140' | ||
fill='none' | ||
xmlns='http://www.w3.org/2000/svg' | ||
> | ||
<path | ||
fillRule='evenodd' | ||
clipRule='evenodd' | ||
d='M44 20C30.7452 20 20 30.7452 20 44V45C20 56.9621 28.7514 66.8802 40.201 68.701L47.5 76L54.5 69H96C109.255 69 120 58.2548 120 45V44C120 30.7452 109.255 20 96 20H44Z' | ||
fill='#F3F4F6' | ||
/> | ||
<path | ||
fillRule='evenodd' | ||
clipRule='evenodd' | ||
d='M74.5 74C64.2827 74 56 82.2827 56 92.5C56 102.717 64.2827 111 74.5 111H86L94 119L102.007 110.993C111.99 110.725 120 102.548 120 92.5C120 82.2827 111.717 74 101.5 74H74.5Z' | ||
fill='#F3F4F6' | ||
/> | ||
<circle cx='58' cy='45' r='3' fill='#E5E7EB' /> | ||
<circle cx='70' cy='45' r='3' fill='#E5E7EB' /> | ||
<circle cx='82' cy='45' r='3' fill='#E5E7EB' /> | ||
<circle cx='76' cy='93' r='3' fill='#E5E7EB' /> | ||
<circle cx='88' cy='93' r='3' fill='#E5E7EB' /> | ||
<circle cx='100' cy='93' r='3' fill='#E5E7EB' /> | ||
</svg> | ||
) : ( | ||
<svg | ||
width={width} | ||
height={height} | ||
viewBox='0 0 196 196' | ||
fill='none' | ||
xmlns='http://www.w3.org/2000/svg' | ||
> | ||
<path | ||
d='M86.0466 52.3371C89.2265 60.5521 83.564 70.4014 76.3348 73.1997C69.1055 75.998 58.5849 72.413 55.405 64.198C52.2251 55.983 56.3465 43.859 63.5757 41.0607C73.2154 37.3293 82.8667 44.1221 86.0466 52.3371Z' | ||
fill='#D1D5DB' | ||
/> | ||
<path | ||
d='M90.1228 51.9829C88.4086 60.6236 95.6864 69.3476 103.29 70.856C110.894 72.3644 120.638 67.0171 122.352 58.3765C124.066 49.7359 117.914 38.5053 110.31 36.9969C100.171 34.9855 91.8369 43.3423 90.1228 51.9829Z' | ||
fill='#D1D5DB' | ||
/> | ||
<path | ||
d='M164.866 114.979C164.866 144.048 136.664 154.854 98.1945 154.854C59.7251 154.854 32.1611 144.048 32.1611 114.979C32.1611 81.1646 59.7251 51.1785 98.1945 51.1785C136.664 51.1785 164.866 78.6126 164.866 114.979Z' | ||
fill='#F3F4F6' | ||
/> | ||
<path | ||
d='M146.762 114.644C146.762 135.955 127.003 143.876 100.051 143.876C73.0996 143.876 53.7881 135.955 53.7881 114.644C53.7881 89.8557 73.0996 67.8735 100.051 67.8735C127.003 67.8735 146.762 87.9849 146.762 114.644Z' | ||
fill='#F9FAFB' | ||
/> | ||
<path | ||
d='M97.5082 111.671C97.5082 118.718 93.211 126.449 87.2058 126.449C81.2007 126.449 71.5 120.707 71.5 110.18C71.5 100.291 81.9796 96.774 92.8086 98.5799C99.4457 99.6867 97.5082 104.624 97.5082 111.671Z' | ||
fill='#D1D5DB' | ||
/> | ||
<path | ||
d='M92.4857 110.959C92.4857 112.016 92.1837 112.873 90.6735 112.873C89.1634 112.873 88.8613 112.016 88.8613 110.959C88.8613 109.902 89.4654 109.045 90.6735 109.045C91.8817 109.045 92.4857 109.902 92.4857 110.959Z' | ||
fill='#F3F4F6' | ||
/> | ||
<path | ||
d='M115.279 111.671C115.279 118.718 119.262 126.449 124.828 126.449C130.394 126.449 139.386 120.707 139.386 110.18C139.386 100.291 129.672 96.7742 119.635 98.5801C113.484 99.6869 115.279 104.624 115.279 111.671Z' | ||
fill='#D1D5DB' | ||
/> | ||
<path | ||
d='M119.935 110.959C119.935 112.016 120.215 112.873 121.614 112.873C123.014 112.873 123.294 112.016 123.294 110.959C123.294 109.902 122.734 109.045 121.614 109.045C120.494 109.045 119.935 109.902 119.935 110.959Z' | ||
fill='#F3F4F6' | ||
/> | ||
<path | ||
d='M99.7138 121.936C99.3675 121.432 98.6784 121.304 98.1747 121.651C97.671 121.997 97.5434 122.686 97.8897 123.19L99.7138 121.936ZM106.919 120.349L107.965 119.989C107.812 119.542 107.391 119.242 106.919 119.242C106.446 119.242 106.025 119.542 105.872 119.989L106.919 120.349ZM115.947 123.19C116.294 122.686 116.166 121.997 115.662 121.651C115.159 121.304 114.47 121.432 114.123 121.936L115.947 123.19ZM97.8897 123.19C98.2225 123.674 98.8315 124.329 99.6498 124.87C100.475 125.415 101.572 125.883 102.86 125.883V123.67C102.119 123.67 101.441 123.4 100.871 123.023C100.294 122.642 99.8883 122.19 99.7138 121.936L97.8897 123.19ZM102.86 125.883C104.42 125.883 105.595 124.772 106.343 123.784C107.128 122.746 107.684 121.528 107.965 120.709L105.872 119.989C105.646 120.646 105.188 121.642 104.577 122.449C103.93 123.305 103.329 123.67 102.86 123.67V125.883ZM105.872 120.709C106.153 121.528 106.709 122.746 107.494 123.784C108.242 124.772 109.417 125.883 110.977 125.883V123.67C110.508 123.67 109.907 123.305 109.26 122.449C108.65 121.642 108.191 120.646 107.965 119.989L105.872 120.709ZM110.977 125.883C112.265 125.883 113.362 125.415 114.187 124.87C115.005 124.329 115.615 123.674 115.947 123.19L114.123 121.936C113.949 122.19 113.543 122.642 112.966 123.023C112.396 123.4 111.718 123.67 110.977 123.67V125.883Z' | ||
fill='#D1D5DB' | ||
/> | ||
<path | ||
d='M113.675 119.212C113.675 120.249 108.934 121.573 107.429 121.967C107.131 122.045 106.821 122.045 106.524 121.967C105.019 121.573 100.277 120.249 100.277 119.212C100.277 117.978 103.981 116.66 106.976 116.66C109.971 116.66 113.675 117.978 113.675 119.212Z' | ||
fill='#D1D5DB' | ||
/> | ||
<path | ||
d='M107.959 85.3511C79.4856 87.1413 72.5407 78.0521 71.499 74.2171L87.4721 65.3098L105.529 61.9696L130.53 74.9594C129.025 78.0521 125.469 84.2503 107.959 85.3511Z' | ||
fill='#D1D5DB' | ||
/> | ||
<path | ||
fillRule='evenodd' | ||
clipRule='evenodd' | ||
d='M101.648 154.946C138.126 154.946 164.869 144.14 164.869 115.071C164.869 78.7046 138.126 51.2704 101.648 51.2704C65.1704 51.2704 39.0332 81.2566 39.0332 115.071C39.0332 144.14 65.1704 154.946 101.648 154.946ZM100.215 143.781C127.047 143.781 146.718 135.868 146.718 114.58C146.718 87.9492 127.047 67.859 100.215 67.859C73.3822 67.859 54.1563 89.8181 54.1563 114.58C54.1563 135.868 73.3822 143.781 100.215 143.781Z' | ||
fill='#F3F4F6' | ||
/> | ||
<path | ||
fillRule='evenodd' | ||
clipRule='evenodd' | ||
d='M24.1065 91.173C28.1518 86.6434 35.4429 87.3948 38.4795 92.6542L42.9266 100.357C45.9631 105.616 42.9683 112.306 37.0229 113.545L35.0892 113.948C34.9785 113.971 34.8678 113.992 34.757 114.01C34.7153 114.125 34.6623 114.237 34.6001 114.344C32.8394 117.371 32.0011 124.344 40.6765 132.414C49.1296 140.277 56.4369 140.849 59.8006 140.009C60.0392 139.95 60.2871 139.933 60.5262 139.963L60.9665 139.09C63.7016 133.668 70.9387 132.507 75.233 136.801L81.5222 143.09C85.8165 147.384 84.6552 154.622 79.2329 157.357L78.8262 157.562C78.7148 157.739 78.5559 157.892 78.3494 158.004C67.6399 163.816 43.5652 161.007 30.3966 142.694C13.9143 119.773 15.5748 100.285 22.0736 93.3313C22.1843 93.2127 22.3105 93.1217 22.4454 93.057C22.5559 92.9174 22.671 92.7803 22.7908 92.6462L24.1065 91.173Z' | ||
fill='#D1D5DB' | ||
/> | ||
<path | ||
d='M151.65 49.4415C152.22 48.1462 152.785 47.1463 153.346 46.4417C153.923 45.731 154.521 45.2276 155.14 44.9318C155.759 44.6359 156.515 44.4199 157.407 44.2839C158.498 44.1163 159.369 43.8784 160.02 43.5702C160.682 43.2668 161.161 42.7774 161.458 42.1021C161.775 41.3825 161.779 40.6973 161.471 40.0464C161.167 39.3844 160.65 38.8928 159.92 38.5714C159.444 38.362 158.952 38.2779 158.445 38.3192C157.943 38.3493 157.475 38.5132 157.04 38.8109C156.61 39.0974 156.272 39.5039 156.028 40.0305L150.747 37.7078C151.46 36.1455 152.403 34.9943 153.574 34.2542C154.761 33.5079 156.07 33.1455 157.501 33.167C158.936 33.1775 160.401 33.5114 161.896 34.1688C163.512 34.8797 164.834 35.7649 165.861 36.8244C166.899 37.8888 167.55 39.067 167.814 40.3591C168.089 41.656 167.925 42.9909 167.321 44.3636C166.742 45.681 165.926 46.6635 164.875 47.311C163.824 47.9585 162.542 48.3791 161.03 48.5728C160.234 48.6717 159.559 48.8241 159.006 49.0301C158.469 49.2299 157.999 49.5319 157.596 49.9362C157.194 50.3406 156.839 50.8915 156.533 51.5889L156.328 52.0539L151.446 49.9065L151.65 49.4415ZM150.596 58.6887C150.053 58.4501 149.608 58.0957 149.26 57.6255C148.912 57.1553 148.707 56.6293 148.646 56.0474C148.585 55.4656 148.681 54.9003 148.936 54.3517C149.158 53.8154 149.502 53.3788 149.968 53.0417C150.433 52.7047 150.957 52.5056 151.539 52.4444C152.12 52.3832 152.683 52.4719 153.225 52.7105C153.745 52.9394 154.174 53.2865 154.511 53.7518C154.859 54.222 155.072 54.745 155.149 55.3206C155.237 55.9011 155.17 56.4595 154.947 56.9958C154.693 57.5444 154.325 57.9904 153.843 58.3336C153.367 58.6658 152.835 58.868 152.249 58.9402C151.667 59.0014 151.116 58.9176 150.596 58.6887Z' | ||
fill='#D1D5DB' | ||
/> | ||
<path | ||
d='M167.617 61.1128C168.37 60.3361 169.041 59.7699 169.63 59.4141C170.233 59.0582 170.795 58.8565 171.317 58.809C171.839 58.7616 172.438 58.8077 173.114 58.9474C173.94 59.1174 174.627 59.1785 175.176 59.1306C175.731 59.0892 176.204 58.866 176.597 58.4611C177.015 58.0296 177.2 57.5396 177.152 56.9913C177.111 56.4363 176.871 55.9465 176.433 55.522C176.147 55.2454 175.817 55.0544 175.443 54.9492C175.075 54.8373 174.696 54.8302 174.305 54.9279C173.921 55.019 173.571 55.2206 173.256 55.5328L170.089 52.4645C171.016 51.5347 171.997 50.9603 173.033 50.7413C174.082 50.5222 175.117 50.6105 176.136 51.0062C177.162 51.3954 178.123 52.0241 179.019 52.8925C179.988 53.8316 180.7 54.8173 181.154 55.8496C181.615 56.8882 181.769 57.9056 181.614 58.9017C181.467 59.9042 180.994 60.817 180.197 61.6402C179.431 62.4302 178.586 62.9174 177.66 63.102C176.735 63.2865 175.705 63.2472 174.57 62.984C173.973 62.843 173.448 62.7729 172.997 62.7734C172.559 62.7738 172.143 62.8653 171.747 63.0481C171.351 63.2308 170.95 63.5313 170.545 63.9495L170.275 64.2283L167.347 61.3916L167.617 61.1128ZM164.403 67.4587C164.078 67.1435 163.853 66.7712 163.729 66.3417C163.604 65.9122 163.597 65.4808 163.708 65.0476C163.819 64.6145 164.039 64.2351 164.367 63.9096C164.669 63.5845 165.031 63.3631 165.455 63.2453C165.878 63.1275 166.306 63.124 166.739 63.2349C167.172 63.3457 167.551 63.5587 167.877 63.8739C168.189 64.1762 168.404 64.5389 168.521 64.962C168.646 65.3915 168.659 65.8227 168.561 66.2557C168.47 66.6951 168.274 67.0774 167.971 67.4025C167.643 67.7279 167.261 67.9497 166.825 68.0677C166.395 68.1791 165.961 68.1826 165.521 68.0784C165.088 67.9676 164.715 67.761 164.403 67.4587Z' | ||
fill='#D1D5DB' | ||
/> | ||
</svg> | ||
)} | ||
</> | ||
); | ||
} | ||
|
||
export default InquiryEmptyIcon; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
interface IconProps { | ||
width?: string; | ||
height?: string; | ||
} | ||
|
||
function MedalIcon({ width, height }: IconProps) { | ||
return ( | ||
<svg | ||
width={width} | ||
height={height} | ||
viewBox='0 0 16 16' | ||
fill='none' | ||
xmlns='http://www.w3.org/2000/svg' | ||
> | ||
<rect x='4' y='3' width='8' height='7' rx='2.5' fill='white' /> | ||
<path | ||
fillRule='evenodd' | ||
clipRule='evenodd' | ||
d='M11.0912 5.78199L7.35789 9.51532L4.90923 7.06665C4.80464 6.95255 4.74815 6.80247 4.75151 6.64773C4.75488 6.49298 4.81786 6.34551 4.9273 6.23606C5.03675 6.12661 5.18422 6.06364 5.33897 6.06027C5.49371 6.0569 5.64379 6.1134 5.75789 6.21798L7.35789 7.81799L10.2426 4.93332C10.2983 4.87759 10.3644 4.83339 10.4372 4.80323C10.5101 4.77308 10.5881 4.75755 10.6669 4.75755C10.7457 4.75755 10.8237 4.77308 10.8965 4.80323C10.9693 4.83339 11.0355 4.87759 11.0912 4.93332C11.147 4.98904 11.1912 5.0552 11.2213 5.128C11.2515 5.20081 11.267 5.27885 11.267 5.35765C11.267 5.43646 11.2515 5.51449 11.2213 5.5873C11.1912 5.66011 11.147 5.72626 11.0912 5.78199ZM14.0979 7.04665C14.1604 6.98414 14.1955 6.89937 14.1955 6.81099C14.1955 6.7226 14.1604 6.63783 14.0979 6.57532L13.1312 5.60865C13.0898 5.56732 13.06 5.51577 13.0449 5.45922C13.0298 5.40268 13.0299 5.34314 13.0452 5.28665L13.3986 3.96665C13.4214 3.88125 13.4093 3.7903 13.365 3.71378C13.3208 3.63727 13.248 3.58147 13.1626 3.55865L11.8426 3.20532C11.7859 3.19014 11.7342 3.16026 11.6928 3.1187C11.6513 3.07714 11.6216 3.02538 11.6066 2.96865L11.2532 1.64865C11.2303 1.56321 11.1743 1.49037 11.0977 1.44612C11.0211 1.40188 10.93 1.38984 10.8446 1.41265L9.52389 1.76665C9.46744 1.78176 9.408 1.78171 9.35158 1.76649C9.29516 1.75127 9.24376 1.72143 9.20256 1.67998L8.23589 0.713318C8.17338 0.650828 8.08861 0.615723 8.00023 0.615723C7.91184 0.615723 7.82707 0.650828 7.76456 0.713318L6.79789 1.68065C6.75652 1.72204 6.705 1.75183 6.64848 1.76704C6.59197 1.78225 6.53245 1.78235 6.47589 1.76732L5.15589 1.41265C5.11356 1.40126 5.0694 1.39834 5.02594 1.40404C4.98248 1.40974 4.94057 1.42396 4.90261 1.44588C4.86465 1.46781 4.83138 1.497 4.80472 1.53179C4.77806 1.56659 4.75852 1.6063 4.74723 1.64865L4.39323 2.96865C4.37816 3.02518 4.34848 3.07675 4.30717 3.11817C4.26586 3.1596 4.21438 3.18943 4.15789 3.20465L2.83723 3.55865C2.75196 3.58161 2.67928 3.63748 2.63516 3.71397C2.59104 3.79047 2.57907 3.88134 2.60189 3.96665L2.95523 5.28665C2.97055 5.34314 2.97066 5.40268 2.95556 5.45922C2.94046 5.51577 2.91067 5.56732 2.86923 5.60865L1.90256 6.57532C1.87154 6.60623 1.84692 6.64295 1.83013 6.68339C1.81333 6.72384 1.80469 6.76719 1.80469 6.81099C1.80469 6.85478 1.81333 6.89813 1.83013 6.93858C1.84692 6.97902 1.87154 7.01574 1.90256 7.04665L2.86923 8.01332C2.91067 8.05479 2.94045 8.10645 2.95555 8.16311C2.97064 8.21976 2.97053 8.27939 2.95523 8.33598L2.60189 9.65598C2.57907 9.74129 2.59104 9.83217 2.63516 9.90867C2.67928 9.98516 2.75196 10.041 2.83723 10.064L4.15789 10.418C4.21438 10.4332 4.26586 10.463 4.30717 10.5045C4.34848 10.5459 4.37816 10.5975 4.39323 10.654L4.74656 11.974C4.75825 12.0168 4.77837 12.0568 4.80573 12.0917C4.83309 12.1266 4.86714 12.1557 4.90589 12.1773L3.66523 15.522H7.12056L7.99989 13.15L8.88056 15.522H12.3352L11.0946 12.1773C11.1333 12.1558 11.1673 12.1267 11.1946 12.0918C11.2218 12.0569 11.2418 12.0168 11.2532 11.974L11.6066 10.654C11.6216 10.5973 11.6514 10.5457 11.6928 10.5042C11.7343 10.4628 11.7859 10.433 11.8426 10.418L13.1626 10.0647C13.2049 10.0534 13.2446 10.0338 13.2794 10.0072C13.3142 9.98049 13.3434 9.94723 13.3653 9.90927C13.3872 9.87131 13.4015 9.8294 13.4072 9.78594C13.4129 9.74248 13.4099 9.69832 13.3986 9.65598L13.0452 8.33598C13.0299 8.2795 13.0298 8.21996 13.0449 8.16341C13.06 8.10686 13.0898 8.05531 13.1312 8.01398L14.0979 7.04732V7.04665Z' | ||
fill='#FFC117' | ||
/> | ||
</svg> | ||
); | ||
} | ||
|
||
export default MedalIcon; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
interface IconProps { | ||
width?: string; | ||
height?: string; | ||
} | ||
|
||
function PlusIcon({ width, height }: IconProps) { | ||
return ( | ||
<svg | ||
width={width} | ||
height={height} | ||
viewBox='0 0 48 48' | ||
fill='none' | ||
xmlns='http://www.w3.org/2000/svg' | ||
> | ||
<path | ||
d='M10 24H38' | ||
stroke='#9CA3AF' | ||
strokeWidth='4' | ||
strokeLinecap='round' | ||
/> | ||
<path | ||
d='M24 38V10' | ||
stroke='#9CA3AF' | ||
strokeWidth='4' | ||
strokeLinecap='round' | ||
/> | ||
</svg> | ||
); | ||
} | ||
|
||
export default PlusIcon; |
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
아이콘 별도의 컴포넌트로 파일 분리 해주신거 좋네요!