-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#56 Feat : 5분 비활성화 시간이 자나지 않았음을 표시하는 바텀 시트 추가
- Loading branch information
1 parent
a9370b5
commit 8ae1819
Showing
7 changed files
with
123 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
71 changes: 71 additions & 0 deletions
71
.../src/main/java/com/teamwiney/auth/signup/component/bottomsheet/SendDisabledBottomSheet.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,71 @@ | ||
package com.teamwiney.auth.signup.component.bottomsheet | ||
|
||
import androidx.compose.foundation.Image | ||
import androidx.compose.foundation.background | ||
import androidx.compose.foundation.layout.Column | ||
import androidx.compose.foundation.layout.Spacer | ||
import androidx.compose.foundation.layout.fillMaxWidth | ||
import androidx.compose.foundation.layout.height | ||
import androidx.compose.foundation.layout.padding | ||
import androidx.compose.foundation.layout.width | ||
import androidx.compose.foundation.shape.RoundedCornerShape | ||
import androidx.compose.material3.Text | ||
import androidx.compose.runtime.Composable | ||
import androidx.compose.ui.Alignment | ||
import androidx.compose.ui.Modifier | ||
import androidx.compose.ui.graphics.Color | ||
import androidx.compose.ui.res.painterResource | ||
import androidx.compose.ui.text.style.TextAlign | ||
import androidx.compose.ui.unit.dp | ||
import com.teamwiney.core.design.R | ||
import com.teamwiney.ui.components.HeightSpacer | ||
import com.teamwiney.ui.components.WButton | ||
import com.teamwiney.ui.theme.WineyTheme | ||
|
||
@Composable | ||
fun SendDisabledBottomSheet( | ||
modifier: Modifier = Modifier, | ||
containerColor: Color = WineyTheme.colors.gray_950, | ||
onConfirm: () -> Unit | ||
) { | ||
Column( | ||
modifier = modifier | ||
.fillMaxWidth() | ||
.background( | ||
color = containerColor, | ||
shape = RoundedCornerShape(topStart = 6.dp, topEnd = 6.dp) | ||
) | ||
.padding(start = 24.dp, end = 24.dp, top = 10.dp, bottom = 20.dp), | ||
horizontalAlignment = Alignment.CenterHorizontally | ||
) { | ||
Spacer( | ||
modifier = Modifier | ||
.width(66.dp) | ||
.height(5.dp) | ||
.background( | ||
color = WineyTheme.colors.gray_900, | ||
shape = RoundedCornerShape(6.dp) | ||
) | ||
) | ||
HeightSpacer(height = 20.dp) | ||
Image( | ||
painter = painterResource(id = R.mipmap.img_lock), | ||
contentDescription = null | ||
) | ||
HeightSpacer(height = 16.dp) | ||
Text( | ||
text = "아직 5분이 지나지 않았어요\n5분 후 인증을 진행해주세요!", | ||
style = WineyTheme.typography.bodyB1, | ||
color = WineyTheme.colors.gray_200, | ||
textAlign = TextAlign.Center | ||
) | ||
HeightSpacer(height = 72.dp) | ||
WButton( | ||
text = "확인", | ||
onClick = { | ||
onConfirm() | ||
} | ||
) | ||
HeightSpacer(height = 10.dp) | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters