Skip to content

Commit 438f586

Browse files
committed
Merge branch 'develop' into feat/#119-photolog-upload-modifiy
2 parents 0b1107d + 7841567 commit 438f586

File tree

107 files changed

+1994
-2010
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

107 files changed

+1994
-2010
lines changed

README.md

Lines changed: 78 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,78 @@
1-
# Twix 🔥
1+
<div align="center">
2+
3+
<img src="https://img.shields.io/badge/Platform-Android-3DDC84?style=for-the-badge&logo=android&logoColor=white"/>
4+
<img src="https://img.shields.io/badge/Language-Kotlin-7F52FF?style=for-the-badge&logo=kotlin&logoColor=white"/>
5+
<img src="https://img.shields.io/badge/UI-Jetpack%20Compose-4285F4?style=for-the-badge&logo=jetpackcompose&logoColor=white"/>
6+
<img src="https://img.shields.io/badge/Architecture-MVI-FF6B6B?style=for-the-badge"/>
7+
8+
<br/><br/>
9+
10+
> ### *"서로를 원동력으로, 멈추지 않는 우리."*
11+
> **keep it luv! 💘**
12+
13+
<br/>
14+
15+
<img src="https://github.com/user-attachments/assets/6740fce9-7cda-44dc-87d1-2caeed53dd73" width="700"/>
16+
17+
<br/>
18+
19+
</div>
20+
21+
<br/>
22+
23+
> 우리는 더 나은 내일을 꿈꾸며 목표를 세웁니다.
24+
>
25+
> 하지만 혼자만의 다짐은 쉽게 무너지곤 하죠.
26+
>
27+
> 키피럽은 **'함께'** 라는 가장 강력한 무기를 쥐여줍니다.
28+
29+
## ⚡️ Synergy — 둘이 함께라면 폭발한다
30+
31+
> 키피럽은 연인 사이의 긍정적인 에너지가 어떻게 **'시너지'** 로 폭발하는지 보여줍니다.
32+
33+
<div align="center">
34+
<img src="https://github.com/user-attachments/assets/bf40b2d6-f1d1-406d-9e2b-7866bf11cf87" width="700"/>
35+
</div>
36+
37+
<br/>
38+
39+
## 🛠 Tech Stack
40+
41+
<div align="center">
42+
43+
| 영역 | 기술 |
44+
|:---:|:---|
45+
| **Language** | ![Kotlin](https://img.shields.io/badge/Kotlin-7F52FF?style=flat-square&logo=kotlin&logoColor=white) |
46+
| **UI** | ![Compose](https://img.shields.io/badge/Jetpack%20Compose-4285F4?style=flat-square&logo=jetpackcompose&logoColor=white) |
47+
| **Architecture** | ![MVI](https://img.shields.io/badge/MVI-FF6B6B?style=flat-square) |
48+
| **DI** | ![Koin](https://img.shields.io/badge/Koin-F68212?style=flat-square) |
49+
| **Network** | ![Ktor](https://img.shields.io/badge/Ktor%20Client-087CFA?style=flat-square&logo=ktor&logoColor=white) |
50+
| **Storage** | ![DataStore](https://img.shields.io/badge/DataStore-4285F4?style=flat-square&logo=google&logoColor=white) |
51+
| **Camera** | ![CameraX](https://img.shields.io/badge/CameraX-3DDC84?style=flat-square&logo=android&logoColor=white) |
52+
53+
</div>
54+
55+
<br/>
56+
57+
## 🧑‍💻 Contributors
58+
59+
<div align="center">
60+
61+
### 함께이기에 더 강한, 키피럽을 만든 두 사람 💘
62+
63+
<table>
64+
<tr>
65+
<td align="center" width="160">
66+
<a href="https://github.com/chanho0908">
67+
<img src="https://github.com/chanho0908.png" width="150px" style="border-radius:50%"/><br/>
68+
<sub><b>정찬호</b></sub>
69+
</a>
70+
</td>
71+
<td align="center" width="160">
72+
<a href="https://github.com/dogmania">
73+
<img src="https://github.com/dogmania.png" width="150px" style="border-radius:50%"/><br/>
74+
<sub><b>손현수</b></sub>
75+
</a>
76+
</td>
77+
</tr>
78+
</table>

app/build.gradle.kts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,9 @@ dependencies {
6060
implementation(projects.domain)
6161
implementation(projects.feature.login)
6262
implementation(projects.feature.main)
63-
implementation(projects.feature.taskCertification)
63+
implementation(projects.feature.photolog.capture)
64+
implementation(projects.feature.photolog.detail)
65+
implementation(projects.feature.photolog.editor)
6466
implementation(projects.feature.onboarding)
6567
implementation(projects.feature.goalEditor)
6668
implementation(projects.feature.goalManage)

app/src/main/java/com/yapp/twix/di/FeatureModules.kt

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,19 +7,23 @@ import com.twix.login.di.loginModule
77
import com.twix.main.di.mainModule
88
import com.twix.notification.di.notificationFeatureModule
99
import com.twix.onboarding.di.onBoardingModule
10+
import com.twix.photolog.capture.di.photologCaptureModule
11+
import com.twix.photolog.detail.di.photologDetailModule
12+
import com.twix.photolog.editor.di.photologEditorModule
1013
import com.twix.settings.di.settingsModule
1114
import com.twix.splash.di.splashModule
1215
import com.twix.stats.detail.di.statsDetailModule
1316
import com.twix.stats.di.statsModule
14-
import com.twix.task_certification.di.taskCertificationModule
1517
import org.koin.core.module.Module
1618

1719
val featureModules: List<Module> =
1820
listOf(
1921
loginModule,
2022
mainModule,
2123
homeModule,
22-
taskCertificationModule,
24+
photologCaptureModule,
25+
photologDetailModule,
26+
photologEditorModule,
2327
goalEditorModule,
2428
goalManageModule,
2529
settingsModule,

core/design-system/src/main/java/com/twix/designsystem/components/photolog/BackgroundCard.kt

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -27,19 +27,19 @@ import com.twix.ui.extension.noRippleClickable
2727

2828
@Composable
2929
fun BackgroundCard(
30-
isCertificated: Boolean,
3130
uploadedAt: String,
32-
buttonTitle: String,
33-
onClick: () -> Unit,
31+
actionLabel: String,
3432
rotation: Float,
33+
onClickAction: () -> Unit,
34+
showActionButton: Boolean,
3535
) {
3636
Column {
3737
PhotologCard(
3838
background = GrayColor.C200,
3939
borderColor = GrayColor.C500,
4040
rotation = rotation,
4141
)
42-
if (isCertificated) {
42+
if (!showActionButton) {
4343
AppText(
4444
text = uploadedAt,
4545
style = AppTextStyle.B4,
@@ -60,19 +60,19 @@ fun BackgroundCard(
6060
Modifier
6161
.width(150.dp)
6262
.height(74.dp)
63-
.noRippleClickable { onClick() },
64-
text = buttonTitle,
63+
.noRippleClickable { onClickAction() },
64+
text = actionLabel,
6565
textColor = GrayColor.C500,
6666
backgroundColor = CommonColor.White,
6767
)
6868
}
6969

7070
Image(
71-
imageVector = ImageVector.vectorResource(R.drawable.ic_keepi_sting),
71+
imageVector = ImageVector.vectorResource(R.drawable.ic_photolog_action_poke),
7272
contentDescription = null,
7373
modifier =
7474
Modifier
75-
.padding(end = 24.dp, top = 15.dp)
75+
.padding(end = 16.dp, top = 15.dp)
7676
.align(Alignment.TopEnd),
7777
)
7878
}
@@ -85,10 +85,10 @@ fun BackgroundCard(
8585
fun PreviewBackgroundCard() {
8686
TwixTheme {
8787
BackgroundCard(
88-
buttonTitle = stringResource(R.string.word_sting),
88+
actionLabel = stringResource(R.string.word_sting),
8989
uploadedAt = "2023.10.31 23:59",
90-
onClick = {},
91-
isCertificated = true,
90+
onClickAction = {},
91+
showActionButton = true,
9292
rotation = -8f,
9393
)
9494
}

core/design-system/src/main/java/com/twix/designsystem/components/photolog/ForegroundCard.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ fun ForegroundCard(
3333
when (currentShow) {
3434
BetweenUs.ME -> stringResource(R.string.keep_it_up)
3535
BetweenUs.PARTNER ->
36-
stringResource(R.string.partner_not_task_certification).format(
36+
stringResource(R.string.partner_not_photolog).format(
3737
nickName,
3838
)
3939
},

0 commit comments

Comments
 (0)