Skip to content

Commit 351f948

Browse files
committed
[BOOK-509] fix: 디자인가이드 수치 반영 및 온보딩 문구 수정
1 parent 4d92c71 commit 351f948

1 file changed

Lines changed: 17 additions & 16 deletions

File tree

src/Projects/BKPresentation/Sources/OnboardingFlow/View/OnboardingView.swift

Lines changed: 17 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -114,6 +114,7 @@ private extension OnboardingView {
114114
imageView.snp.makeConstraints {
115115
$0.top.equalToSuperview()
116116
$0.horizontalEdges.equalToSuperview()
117+
$0.height.equalTo(imageView.snp.width).multipliedBy(274.0 / 375.0)
117118
}
118119

119120
labelStack.snp.makeConstraints {
@@ -169,13 +170,13 @@ private extension OnboardingView {
169170
updateButtonTitle(for: next)
170171
updatePage(to: next)
171172
}
172-
173+
173174
func updateButtonTitle(for page: Int) {
174175
let isLast = (page == pageControl.numberOfPages - 1)
175176
let title = isLast ? "시작하기" : "다음"
176177
nextButton.primaryButton?.title = title
177178
}
178-
179+
179180
func updatePage(to index: Int) {
180181
pageControl.currentPage = index
181182
pageControlChanged(pageControl)
@@ -195,20 +196,20 @@ extension OnboardingView: UIScrollViewDelegate {
195196
func scrollViewDidScroll(_ scrollView: UIScrollView) {
196197
syncPageWithScroll()
197198
}
198-
199+
199200
func scrollViewDidEndDecelerating(_ scrollView: UIScrollView) {
200201
syncPageWithScroll()
201202
}
202-
203+
203204
func scrollViewDidEndScrollingAnimation(_ scrollView: UIScrollView) {
204205
syncPageWithScroll()
205206
}
206207
}
207-
208+
208209
private extension OnboardingView {
209210
enum LayoutConstants {
210211
static let labelStackSpacing = BKSpacing.spacing3
211-
static let labelStackTopOffset = BKSpacing.spacing7
212+
static let labelStackTopOffset = BKSpacing.spacing8
212213
static let labelStackHorizontalInset = BKInset.inset5
213214
}
214215

@@ -229,26 +230,26 @@ private extension OnboardingView {
229230
OnboardingPage(
230231
image: BKImage.Graphics.onboarding2,
231232
title: """
232-
어떻게 쓸지 막막할땐,
233-
감상평 가이드가 도와드려요
233+
독서 중 느낀 감정을
234+
자세히 남겨 보세요
234235
""",
235236
description: """
236-
감정과 생각을 이끌어주는
237-
문장들이 기록을 자연스럽게 도와줘요
237+
책마다 쌓인 감정들은
238+
나만의 독서 흔적이 됩니다
238239
""",
239-
titleHighlightWord: "감상평 가이드"
240+
titleHighlightWord: "감정"
240241
),
241242
OnboardingPage(
242243
image: BKImage.Graphics.onboarding3,
243244
title: """
244-
독서 중 느낀 감정은
245-
씨앗으로 남겨보세요
245+
기록한 문장을
246+
카드로 공유해 보세요
246247
""",
247248
description: """
248-
책마다 쌓인 감정들은
249-
나만의 독서 흔적이 됩니다
249+
감정 캐릭터와 함께
250+
이미지로 저장하고 공유할 수 있어요
250251
""",
251-
titleHighlightWord: "씨앗"
252+
titleHighlightWord: "공유"
252253
)
253254
]
254255
}

0 commit comments

Comments
 (0)