Skip to content

Commit fb77c9d

Browse files
authored
[26기] Yapp 공식 웹페이지 1차 개선 버그 수정 (#178)
2 parents 62e18c0 + 54366e2 commit fb77c9d

File tree

3 files changed

+39
-19
lines changed

3 files changed

+39
-19
lines changed

components/home/Dday/index.tsx

Lines changed: 20 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -91,35 +91,48 @@ const DdayContainer = styled.div`
9191
position: relative;
9292
display: flex;
9393
gap: 12px;
94+
${media.small} {
95+
gap: 4px;
96+
}
9497
`;
9598
const StyledBox = styled(Box)`
9699
display: flex;
97100
flex-direction: column;
98101
justify-content: center;
99102
align-items: center;
100-
${media.tablet} {
103+
${media.mobile} {
101104
width: 151.75px;
102105
height: 147px;
103106
}
104-
${media.mobile} {
107+
${media.small} {
105108
width: 64.75px;
106109
height: 81px;
110+
border-radius: 8px;
107111
}
108112
`;
109113
const TimeSpan = styled.span`
110114
color: ${({ theme }) => theme.palette.blue_100};
111115
font-weight: 700;
112116
font-size: 6rem;
113-
${media.mobile} {
117+
line-height: 140%;
118+
119+
${media.small} {
120+
line-height: 160%;
121+
letter-spacing: -2%;
114122
font-size: 2.4rem;
115123
}
116124
`;
117125
const TimeText = styled.span`
118126
color: ${({ theme }) => theme.palette.grey_400};
119127
font-weight: 600;
120128
font-size: 2.6rem;
121-
${media.mobile} {
129+
line-height: 100%;
130+
letter-spacing: -2%;
131+
132+
${media.small} {
122133
font-size: 1.5rem;
134+
line-height: 130%;
135+
letter-spacing: 0%;
123136
}
124137
`;
125138
const Dot = styled.div`
@@ -130,8 +143,9 @@ const Dot = styled.div`
130143
line-height: 160%;
131144
display: flex;
132145
align-items: center;
133-
margin: 0 0.4rem;
134-
${media.mobile} {
146+
147+
${media.small} {
148+
width: 7px;
135149
font-size: 2.4rem;
136150
}
137151
`;

components/home/IntroSection/Banner26th.tsx

Lines changed: 15 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -29,15 +29,15 @@ const Banner26th = () => {
2929
<StyledButton
3030
width={265}
3131
height={72}
32-
borderRadius={20}
32+
borderRadius={16}
3333
buttonColor={'blue_100'}
3434
fontColor={'white'}
3535
onClick={() => (window.location.href = NEXT_GENERATION_RECRUIT_LINK)}
3636
>
3737
⏰ 26기 모집 알림 신청하기
3838
</StyledButton>
3939
</Banner25thTextContentBox>
40-
<BannerBackgroundInner className={mounted ? 'appear' : ''} />;
40+
<BannerBackgroundInner className={mounted ? 'appear' : ''} />
4141
</>
4242
);
4343
};
@@ -103,6 +103,9 @@ const Banner25thTextContentBox = styled.div`
103103
transform: translate3d(-50%, 0, 0);
104104
opacity: 1;
105105
}
106+
${media.small} {
107+
gap: 4rem;
108+
}
106109
`;
107110

108111
const BannerTitleBox = styled.div`
@@ -122,18 +125,13 @@ const BannerTitleBox = styled.div`
122125
letter-spacing: -0.07rem;
123126
color: ${({ theme }) => theme.palette.black};
124127
}
125-
${media.mobile} {
126-
& > h3 {
127-
font-size: 3.6rem;
128-
letter-spacing: -0.032rem;
129-
}
130-
}
128+
131129
${media.small} {
132130
top: 20%;
133131
gap: 1rem;
134132
135133
& > h3 {
136-
font-size: 2rem;
134+
font-size: 3.6rem;
137135
letter-spacing: -0.032rem;
138136
}
139137
}
@@ -156,17 +154,24 @@ const BannerRecruitDateBox = styled.div`
156154
const YappuLogoBox = styled(YappuLogo)``;
157155

158156
const YappSubTitleBox = styled.div`
159-
font-size: 2.8rem;
157+
font-size: 2.6rem;
158+
font-weight: 600;
160159
color: ${({ theme }) => theme.palette.grey_700};
161160
margin-top: 1.4rem;
162161
163162
${media.small} {
163+
font-size: 1.6rem;
164164
}
165165
`;
166166

167167
const StyledButton = styled(Button)`
168168
${media.mobile} {
169+
font-size: 2rem;
170+
}
171+
${media.small} {
172+
font-size: 1.6rem;
169173
width: 229px;
170174
height: 59px;
175+
border-radius: 12px;
171176
}
172177
`;

components/home/IntroSection/index.tsx

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import { FloatingArrow } from 'components/common';
21
import type { MouseEvent, ReactElement } from 'react';
32
import { useState } from 'react';
43
import styled from 'styled-components';
@@ -25,7 +24,6 @@ function IntroSection(): ReactElement {
2524
onMouseMove={handleMove}
2625
>
2726
<Banner26th />
28-
<FloatingArrow />
2927
</IntroSectionContainer>
3028
);
3129
}
@@ -40,9 +38,12 @@ const IntroSectionContainer = styled.div`
4038
width: 100%;
4139
height: calc(100vh - 70px);
4240
@media (max-height: 874px) {
43-
height: 110vh;
41+
height: 120vh;
4442
}
4543
${media.mobile} {
44+
height: 120vh;
45+
}
46+
${media.small} {
4647
height: calc(100vh - 64px);
4748
}
4849
overflow: hidden;

0 commit comments

Comments
 (0)