-
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
로그인 없이 개발자 괴롭히기 보내기 #369
Merged
Merged
로그인 없이 개발자 괴롭히기 보내기 #369
Changes from all commits
Commits
Show all changes
8 commits
Select commit
Hold shift + click to select a range
b6ae7df
feat: SocialLoginButton 디폴트 크기 변경
JuTaK97 e6fa113
feat: DividerWithText 에 Modifier 파라미터 추가
JuTaK97 3e43829
feat: TutorialPage 디자인 스펙에 맞게 수정 (안읽어도됨)
JuTaK97 50db96d
feat: string resource 추가 및 수정
JuTaK97 4d33801
feat: 개발자 괴롭히기 이동 기능 추가
JuTaK97 e008e2d
lint
JuTaK97 e735843
feat: 색깔 변경
JuTaK97 52862d1
Merge branch 'develop' into jutak/logout-feedback
JuTaK97 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,6 @@ import android.app.Activity | |
import androidx.activity.compose.rememberLauncherForActivityResult | ||
import androidx.activity.result.contract.ActivityResultContracts | ||
import androidx.compose.foundation.Image | ||
import androidx.compose.foundation.background | ||
import androidx.compose.foundation.layout.* | ||
import androidx.compose.material.Text | ||
import androidx.compose.runtime.Composable | ||
|
@@ -28,6 +27,7 @@ import com.wafflestudio.snutt2.R | |
import com.wafflestudio.snutt2.components.compose.BorderButton | ||
import com.wafflestudio.snutt2.components.compose.DividerWithText | ||
import com.wafflestudio.snutt2.components.compose.SocialLoginButton | ||
import com.wafflestudio.snutt2.components.compose.clicks | ||
import com.wafflestudio.snutt2.lib.android.toast | ||
import com.wafflestudio.snutt2.lib.facebookLogin | ||
import com.wafflestudio.snutt2.ui.SNUTTColors | ||
|
@@ -173,40 +173,33 @@ fun TutorialPage() { | |
} | ||
} | ||
|
||
Column( | ||
modifier = Modifier | ||
.fillMaxSize() | ||
.padding(12.dp) | ||
.background(SNUTTColors.White900), | ||
horizontalAlignment = Alignment.CenterHorizontally, | ||
) { | ||
Spacer(modifier = Modifier.weight(25f)) | ||
|
||
BoxWithConstraints(modifier = Modifier.fillMaxSize()) { | ||
Column( | ||
modifier = Modifier.fillMaxSize(), | ||
horizontalAlignment = Alignment.CenterHorizontally, | ||
verticalArrangement = Arrangement.Center, | ||
) { | ||
Image( | ||
painter = painterResource(id = R.drawable.logo), | ||
contentDescription = stringResource(R.string.sign_in_logo_title), | ||
modifier = Modifier.padding(top = 20.dp, bottom = 15.dp), | ||
) | ||
Spacer(modifier = Modifier.height([email protected] * 0.3f)) | ||
|
||
Text( | ||
text = stringResource(R.string.sign_in_logo_title), | ||
style = SNUTTTypography.h1, | ||
) | ||
} | ||
Column( | ||
horizontalAlignment = Alignment.CenterHorizontally, | ||
verticalArrangement = Arrangement.spacedBy(16.dp), | ||
) { | ||
Image( | ||
painter = painterResource(id = R.drawable.logo), | ||
contentDescription = stringResource(R.string.sign_in_logo_title), | ||
) | ||
Text( | ||
text = stringResource(R.string.sign_in_logo_title), | ||
style = SNUTTTypography.h1, | ||
) | ||
} | ||
|
||
Spacer(modifier = Modifier.weight(13f)) | ||
Spacer(modifier = Modifier.height([email protected] * 0.16f)) | ||
|
||
Column( | ||
verticalArrangement = Arrangement.Center, | ||
) { | ||
BorderButton( | ||
modifier = Modifier | ||
.fillMaxWidth() | ||
.padding(horizontal = 20.dp), | ||
.padding(horizontal = 32.dp), | ||
bgColor = colorResource(R.color.theme_snutt_5), | ||
color = colorResource(R.color.theme_snutt_5), | ||
cornerRadius = 6.dp, | ||
|
@@ -215,37 +208,35 @@ fun TutorialPage() { | |
Text( | ||
text = stringResource(R.string.tutorial_sign_in_button), | ||
style = SNUTTTypography.button, | ||
color = SNUTTColors.White900, | ||
color = SNUTTColors.AllWhite, | ||
) | ||
} | ||
|
||
BorderButton( | ||
Text( | ||
text = stringResource(R.string.tutorial_sign_up_button), | ||
style = SNUTTTypography.button, | ||
modifier = Modifier | ||
.fillMaxWidth() | ||
.padding(horizontal = 20.dp), | ||
color = SNUTTColors.White900, | ||
cornerRadius = 10.dp, | ||
onClick = { navController.navigate(NavigationDestination.SignUp) }, | ||
) { | ||
Text( | ||
text = stringResource(R.string.tutorial_sign_up_button), | ||
style = SNUTTTypography.button, | ||
) | ||
} | ||
.padding(top = 14.dp) | ||
.clicks { | ||
navController.navigate(NavigationDestination.SignUp) | ||
}, | ||
) | ||
|
||
Spacer(modifier = Modifier.height(30.dp)) | ||
Spacer(modifier = Modifier.weight(1f)) | ||
|
||
DividerWithText( | ||
color = SNUTTColors.Gray200, | ||
color = SNUTTColors.VacancyGray, | ||
textStyle = SNUTTTypography.subtitle2, | ||
text = stringResource(R.string.continue_with_sns_account), | ||
modifier = Modifier | ||
.fillMaxWidth() | ||
.padding(horizontal = 12.dp), | ||
) | ||
|
||
Spacer(modifier = Modifier.height(20.dp)) | ||
Spacer(modifier = Modifier.height(24.dp)) | ||
|
||
Row( | ||
modifier = Modifier.fillMaxWidth(), | ||
horizontalArrangement = Arrangement.spacedBy(12.dp, alignment = Alignment.CenterHorizontally), | ||
horizontalArrangement = Arrangement.spacedBy(12.dp), | ||
) { | ||
SocialLoginButton( | ||
painter = painterResource(id = R.drawable.kakao_login), | ||
|
@@ -266,9 +257,20 @@ fun TutorialPage() { | |
onClick = { handleFacebookSignIn() }, | ||
) | ||
} | ||
} | ||
|
||
Spacer(modifier = Modifier.weight(11f)) | ||
Spacer(modifier = Modifier.height([email protected] * 0.06f)) | ||
|
||
Text( | ||
color = SNUTTColors.Gray200, | ||
style = SNUTTTypography.subtitle2, | ||
text = stringResource(R.string.tutorial_help_button), | ||
modifier = Modifier.clicks { | ||
navController.navigate(NavigationDestination.AppReport) | ||
}, | ||
) | ||
|
||
Spacer(modifier = Modifier.height([email protected] * 0.05f)) | ||
} | ||
} | ||
} | ||
|
||
|
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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.
오 근데 혹시 이거 이유가 있나요
다크모드 상관없이 그리기 위함인건가
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.
ㅇㅇ iOS 보니까 다크모드때도 하얀색이더라구