-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Fix]#69 1차 배포 전 QA 사항 반영 #70
Changes from 11 commits
35b8c08
4f055a2
93ef9e7
5ad5791
676e979
791ef67
876b075
9637cce
39ef0e2
50bf091
ec095d0
d448cf6
2895413
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
package pokitmons.pokit.core.ui.components.template.pokki | ||
|
||
import androidx.compose.foundation.Image | ||
import androidx.compose.foundation.layout.Box | ||
import androidx.compose.foundation.layout.Column | ||
import androidx.compose.foundation.layout.Spacer | ||
import androidx.compose.foundation.layout.height | ||
import androidx.compose.foundation.layout.width | ||
import androidx.compose.material3.Text | ||
import androidx.compose.runtime.Composable | ||
import androidx.compose.ui.Alignment | ||
import androidx.compose.ui.Modifier | ||
import androidx.compose.ui.res.painterResource | ||
import androidx.compose.ui.unit.dp | ||
import pokitmons.pokit.core.ui.R | ||
import pokitmons.pokit.core.ui.theme.PokitTheme | ||
|
||
@Composable | ||
fun Pokki( | ||
modifier: Modifier = Modifier, | ||
title: String, | ||
sub: String, | ||
) { | ||
Box( | ||
modifier = modifier, | ||
contentAlignment = Alignment.Center | ||
) { | ||
Column( | ||
horizontalAlignment = Alignment.CenterHorizontally | ||
) { | ||
Image( | ||
modifier = Modifier | ||
.height(180.dp) | ||
.width(180.dp), | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. height, width 같다면 size로 설정 가능하지 않나여? 아닐 수도 있음ㅋ There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 완전 가능! 반영 완 |
||
painter = painterResource(id = R.drawable.pokki), | ||
contentDescription = "pokki" | ||
) | ||
|
||
Spacer(modifier = Modifier.height(16.dp)) | ||
|
||
Text(text = title, style = PokitTheme.typography.title2.copy(color = PokitTheme.colors.textPrimary)) | ||
|
||
Spacer(modifier = Modifier.height(8.dp)) | ||
|
||
Text(text = sub, style = PokitTheme.typography.body2Medium.copy(color = PokitTheme.colors.textSecondary)) | ||
} | ||
} | ||
} |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
package pokitmons.pokit.core.ui.components.template.pokki | ||
|
||
import androidx.compose.foundation.layout.fillMaxSize | ||
import androidx.compose.material3.Surface | ||
import androidx.compose.runtime.Composable | ||
import androidx.compose.ui.Modifier | ||
import androidx.compose.ui.tooling.preview.Preview | ||
import pokitmons.pokit.core.ui.theme.PokitTheme | ||
|
||
@Preview(showBackground = true) | ||
@Composable | ||
private fun Preview() { | ||
PokitTheme { | ||
Surface(modifier = Modifier.fillMaxSize()) { | ||
Pokki(title = "저장된 포킷이 없어요!", sub = "포킷을 생성해 링크를 저장해보세요") | ||
} | ||
} | ||
} |
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. ㅋㅋㅋㅋ 아놔 요거 맞았네 푸키입니다!!!! There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 헐 왜 저렇게 적었지 There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 머임 떡포끼임??ㅋㅋ There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. ㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋㅋ 군침 싹 ~ ㅋ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
포끼? 요거 우리 포킷 이미지 설정하는 그 캐릭터인가? 맞다면 푸키야!!!!!!