Skip to content

Commit

Permalink
feat: 카드 변경
Browse files Browse the repository at this point in the history
  • Loading branch information
tjrdnjs1534 committed Sep 7, 2024
1 parent 081923a commit 00c5e88
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions components/ShareModal/PredictionCard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -109,21 +109,21 @@ const ShareCard = styled.div<{ $predictionResult: PredictionResult }>`
height: 430px;
flex-shrink: 0;
color: white;
background-color: transparent;
${(props) => {
if (props.$predictionResult === 'KOREA')
return css`
background: linear-gradient(180deg, #f84853 0%, #ffb1b1 100%);
//background: linear-gradient(180deg, #f84853 0%, #ffb1b1 100%);
color: #f3233c;
`;
else if (props.$predictionResult === 'YONSEI')
return css`
background: linear-gradient(180deg, #8bd5ff 0%, #445fff 100%);
//background: linear-gradient(180deg, #8bd5ff 0%, #445fff 100%);
color: #2948ff;
`;
else
return css`
background: linear-gradient(360deg, #d0b2ff 0%, #7e41ff 100%, #6e2bff 100%);
//background: linear-gradient(360deg, #d0b2ff 0%, #7e41ff 100%, #6e2bff 100%);
color: #4c0eb0;
`;
}}
Expand Down
4 changes: 2 additions & 2 deletions components/ShareModal/constants.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export const YONSEI_WIN_IMAGE_LIST = [
export const KOREA_WIN_IMAGE_LIST = [
'/image-proxy/card/korea1.png',
'/image-proxy/card/korea2.png',
'/image-proxy/card/korea3.png',
Expand All @@ -11,7 +11,7 @@ export const YONSEI_WIN_IMAGE_LIST = [
'/image-proxy/card/korea10.png',
];

export const KOREA_WIN_IMAGE_LIST = [
export const YONSEI_WIN_IMAGE_LIST = [
'/image-proxy/card/yonsei1.png',
'/image-proxy/card/yonsei2.png',
'/image-proxy/card/yonsei3.png',
Expand Down

0 comments on commit 00c5e88

Please sign in to comment.