Skip to content

Commit 16c9a61

Browse files
Feat: 인트로 모바일 뷰 그라데이션 색상 변경경
1 parent f040c63 commit 16c9a61

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/pages/Main/Intro/Intro.styled.tsx

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,10 @@ export const Container = styled.div<{ $isMobile: boolean; $isTablet: boolean }>`
66
align-items: flex-start;
77
justify-content: center;
88
height: ${({ $isMobile, $isTablet }) => ($isMobile ? "80vh" : $isTablet ? "100vh" : "110vh")};
9-
background: linear-gradient(90deg, #28723F, #A2E9B8);
9+
background: ${({ $isMobile }) => (
10+
$isMobile ? "linear-gradient(90deg, #28723F, #75e298)"
11+
: "linear-gradient(90deg, #28723F, #A2E9B8)"
12+
)};
1013
padding: ${({ $isMobile }) => ($isMobile ? "0px" : "50px")};
1114
color: white;
1215
`;

0 commit comments

Comments
 (0)