Skip to content

Commit 5caa587

Browse files
committed
[REFACTOR/#97] UX라이팅 수정
1 parent 1efa7df commit 5caa587

File tree

3 files changed

+17
-8
lines changed

3 files changed

+17
-8
lines changed

feature/fortune/src/main/java/com/yapp/fortune/FortunePagesProvider.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ object FortunePagesProvider {
2020
),
2121
),
2222
FortunePageData(
23-
title = "오늘의 건강운",
24-
description = "오늘 컨디션을 체크하고\n건강을 챙겨보세요!",
23+
title = "오늘의 운세",
24+
description = "오늘 나의 하루는\n" + "행운이 가득해!",
2525
backgroundResId = core.designsystem.R.drawable.ic_letter_horoscope,
2626
details = listOf(
2727
Fortune("건강운 95점", "오늘은 컨디션 최고! 몸이 가볍고 활력이 넘칠 거야. 평소보다 운동을 좀 더 해보거나, 건강한 음식을 챙겨 먹으면 더욱 좋을 거야. 충분한 수면으로 컨디션을 유지하는 것도 잊지 말고!"),

feature/fortune/src/main/java/com/yapp/fortune/page/FortuneFirstPage.kt

Lines changed: 13 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,12 @@ package com.yapp.fortune.page
33
import androidx.compose.foundation.Image
44
import androidx.compose.foundation.layout.Box
55
import androidx.compose.foundation.layout.Column
6+
import androidx.compose.foundation.layout.IntrinsicSize
67
import androidx.compose.foundation.layout.fillMaxSize
78
import androidx.compose.foundation.layout.fillMaxWidth
89
import androidx.compose.foundation.layout.padding
10+
import androidx.compose.foundation.layout.width
11+
import androidx.compose.foundation.layout.wrapContentSize
912
import androidx.compose.material3.Text
1013
import androidx.compose.runtime.Composable
1114
import androidx.compose.ui.Alignment
@@ -50,18 +53,24 @@ fun FortuneFirstPage() {
5053
.paddingForScreenPercentage(topPercentage = 0.30f),
5154
horizontalAlignment = Alignment.CenterHorizontally,
5255
) {
53-
Box {
56+
Box(
57+
contentAlignment = Alignment.Center,
58+
modifier = Modifier.wrapContentSize(),
59+
) {
5460
Image(
5561
painter = painterResource(id = R.drawable.ic_letter),
5662
contentDescription = null,
5763
)
58-
5964
Text(
60-
text = "오늘은 네가 가진 성실함과 진정성이\n빛을 발할 수 있는 날이야. 중요한 결정\n은 신중히, 감정적 말은 삼가고 차분히 대\n처하면 좋아. 주변 사람들과 긍정적으로 소\n통하고, 계획을 재정비하는 데 시간 써봐.\n 파란색이나 녹색 아이템이 너의 운을 더\n 북돋아줄거야! 오늘도 화이팅 하자! 오늘도\n 화이팅 하자! 오늘도 화이팅 하자! 오늘도 ",
65+
text = "오늘은 괜찮은 하루가 될 거야! 평소보다 긍정적인 마음으로 하루를 시작하면 좋은 일이 생길지도 몰라. 주변 사람들과의 관계에 신경 쓰면 더욱 행복한 하루가 될 거야. 혹시 오늘 중요한 일이 있다면, 미리 계획을 세우고 차분하게 진행하는 게 좋아. 너의 꼼꼼함이 빛을 발할 거야!",
6166
style = OrbitTheme.typography.H3,
6267
color = OrbitTheme.colors.gray_600,
6368
modifier = Modifier
64-
.align(Alignment.Center),
69+
.width(IntrinsicSize.Max)
70+
.align(Alignment.Center)
71+
.padding(horizontal = 60.dp),
72+
maxLines = Int.MAX_VALUE,
73+
softWrap = true,
6574
)
6675
Text(
6776
text = "From. 오르비",

feature/fortune/src/main/java/com/yapp/fortune/page/content/LuckyColorContent.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,14 +29,14 @@ fun LuckyColorContent() {
2929
LuckyColorBox(
3030
colorTitle = "행운의 색",
3131
resId = core.designsystem.R.drawable.ic_circle,
32-
contentLabel = "색상1",
32+
contentLabel = "초록색",
3333
colorTint = OrbitTheme.colors.green,
3434
)
3535
Spacer(modifier = Modifier.height(52.dp))
3636
LuckyColorBox(
3737
colorTitle = "피해야할 색",
3838
resId = core.designsystem.R.drawable.ic_circle,
39-
contentLabel = "색상2",
39+
contentLabel = "빨간색",
4040
colorTint = OrbitTheme.colors.red,
4141
)
4242
Spacer(modifier = Modifier.height(52.dp))

0 commit comments

Comments
 (0)