-
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.
- Loading branch information
1 parent
0e2bb7a
commit 5f51483
Showing
6 changed files
with
112 additions
and
12 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
71 changes: 71 additions & 0 deletions
71
.../java/com/teamwiney/auth/signup/component/bottomsheet/AuthenticationTimeOutBottomSheet.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 AuthenticationTimeOutBottomSheet( | ||
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 = "인증번호 재전송 버튼을 눌러\n새로운 인증번호를 입력해주세요!", | ||
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