diff --git a/core/src/main/java/com/terning/core/designsystem/component/bottomsheet/ProfileBottomSheet.kt b/core/src/main/java/com/terning/core/designsystem/component/bottomsheet/ProfileBottomSheet.kt index 9382ceb7a..9109deb87 100644 --- a/core/src/main/java/com/terning/core/designsystem/component/bottomsheet/ProfileBottomSheet.kt +++ b/core/src/main/java/com/terning/core/designsystem/component/bottomsheet/ProfileBottomSheet.kt @@ -30,6 +30,7 @@ import com.terning.core.R import com.terning.core.designsystem.theme.TerningMain import com.terning.core.designsystem.theme.TerningTheme import com.terning.core.extension.noRippleClickable +import com.terning.core.type.ProfileImage import kotlinx.coroutines.launch /** @@ -38,15 +39,15 @@ import kotlinx.coroutines.launch * @param modifier 바텀시트에 적용할 Modifier입니다. * @param onDismiss 바텀시트가 닫힐 때 호출되는 콜백 함수입니다. * @param onSaveClick 저장하기 버튼 클릭 시, 호출되는 콜백 함수입니다. - * @param initialSelectedOption 초기에 선택된 이미지를 나타내는 인덱스 값입니다. + * @param initialSelectedOption 초기에 선택된 이미지의 이름을 나타내는 string 값입니다. */ @OptIn(ExperimentalMaterial3Api::class) @Composable fun ProfileBottomSheet( modifier: Modifier = Modifier, onDismiss: () -> Unit, - onSaveClick: (Int) -> Unit, - initialSelectedOption: Int + onSaveClick: (ProfileImage) -> Unit, + initialSelectedOption: String ) { val scope = rememberCoroutineScope() val sheetState = rememberModalBottomSheetState() @@ -64,11 +65,11 @@ fun ProfileBottomSheet( ), ) RadioButtonGroup( - onOptionSelected = { index -> + onOptionSelected = { selectedProfile -> scope.launch { sheetState.hide() } .invokeOnCompletion { if (!sheetState.isVisible) { - onSaveClick(index) + onSaveClick(selectedProfile) } } }, @@ -82,29 +83,25 @@ fun ProfileBottomSheet( ) } + /** * 6개의 프로필 이미지 중, 하나의 이미지만 선택할 수 있는 라디오 버튼입니다. * - * @param onOptionSelected 선택된 이미지의 인덱스 값을 나타내는 콜백 함수입니다. - * @param initialSelectedOption 초기에 선택된 이미지를 나타내는 인덱스 값입니다. + * @param onOptionSelected 선택된 이미지의 이름을 나타내는 콜백 함수입니다. + * @param initialSelectedOption 초기에 선택된 이미지의 이름을 나타내는 string 값입니다. * @param modifier 라디오 버튼에 적용할 Modifier입니다. */ @Composable fun RadioButtonGroup( - onOptionSelected: (Int) -> Unit, - initialSelectedOption: Int, + onOptionSelected: (ProfileImage) -> Unit, + initialSelectedOption: String, modifier: Modifier = Modifier, ) { - val options = listOf( - R.drawable.ic_terning_profile_00, - R.drawable.ic_terning_profile_01, - R.drawable.ic_terning_profile_02, - R.drawable.ic_terning_profile_03, - R.drawable.ic_terning_profile_04, - R.drawable.ic_terning_profile_05 - ) + val options = ProfileImage.entries - var selectedOption by rememberSaveable { mutableIntStateOf(options[initialSelectedOption]) } + var selectedOptionIndex by rememberSaveable { + mutableIntStateOf(ProfileImage.toIndex(ProfileImage.fromString(initialSelectedOption))) + } LazyVerticalGrid( columns = GridCells.Fixed(3), @@ -112,8 +109,8 @@ fun RadioButtonGroup( horizontalArrangement = Arrangement.spacedBy(20.dp), modifier = modifier.padding(horizontal = 34.dp) ) { - itemsIndexed(options) { index, option -> - val imageModifier = if (selectedOption == options[index]) { + itemsIndexed(options.take(6)) { index, option -> + val imageModifier = if (selectedOptionIndex == index) { Modifier .border( color = TerningMain, @@ -126,14 +123,12 @@ fun RadioButtonGroup( } Image( - painter = painterResource( - id = option - ), + painter = painterResource(id = option.drawableResId), contentDescription = "profile image", modifier = imageModifier .noRippleClickable { - onOptionSelected(index) - selectedOption = option + onOptionSelected(option) + selectedOptionIndex = index } .clip(shape = CircleShape) .size(76.dp) @@ -141,4 +136,4 @@ fun RadioButtonGroup( ) } } -} \ No newline at end of file +} diff --git a/core/src/main/java/com/terning/core/designsystem/component/item/ProfileWithPlusButton.kt b/core/src/main/java/com/terning/core/designsystem/component/item/ProfileWithPlusButton.kt index 659f27b03..a8bccb6da 100644 --- a/core/src/main/java/com/terning/core/designsystem/component/item/ProfileWithPlusButton.kt +++ b/core/src/main/java/com/terning/core/designsystem/component/item/ProfileWithPlusButton.kt @@ -14,26 +14,20 @@ import androidx.compose.ui.res.painterResource import androidx.compose.ui.tooling.preview.Preview import androidx.compose.ui.unit.dp import com.terning.core.R +import com.terning.core.type.ProfileImage @Composable fun ProfileWithPlusButton( - index: Int, + profileImage: String, modifier: Modifier = Modifier, ) { - val grade = when (index) { - 0 -> R.drawable.ic_terning_profile_00 - 1 -> R.drawable.ic_terning_profile_01 - 2 -> R.drawable.ic_terning_profile_02 - 3 -> R.drawable.ic_terning_profile_03 - 4 -> R.drawable.ic_terning_profile_04 - else -> R.drawable.ic_terning_profile_05 - } + val userProfile = ProfileImage.fromString(profileImage) Box( modifier = modifier.wrapContentWidth() ) { Image( - painterResource(id = grade), + painterResource(id = userProfile.drawableResId), contentDescription = "profile image", modifier = modifier .clip(shape = CircleShape) @@ -51,5 +45,5 @@ fun ProfileWithPlusButton( @Preview(showBackground = true) @Composable fun ProfileWithPlusButtonPreview() { - ProfileWithPlusButton(index = 1) + ProfileWithPlusButton(profileImage = "basic") } \ No newline at end of file diff --git a/core/src/main/java/com/terning/core/designsystem/component/snackbar/TerningBasicSnackBar.kt b/core/src/main/java/com/terning/core/designsystem/component/snackbar/TerningBasicSnackBar.kt new file mode 100644 index 000000000..0d12f3811 --- /dev/null +++ b/core/src/main/java/com/terning/core/designsystem/component/snackbar/TerningBasicSnackBar.kt @@ -0,0 +1,23 @@ +package com.terning.core.designsystem.component.snackbar + +import androidx.compose.foundation.background +import androidx.compose.foundation.layout.Box +import androidx.compose.foundation.layout.padding +import androidx.compose.foundation.shape.CircleShape +import androidx.compose.runtime.Composable +import androidx.compose.ui.Modifier +import androidx.compose.ui.draw.clip +import androidx.compose.ui.unit.dp +import com.terning.core.designsystem.theme.Grey500 + +@Composable +fun TerningBasicSnackBar(content: @Composable () -> Unit) { + Box( + modifier = Modifier + .clip(CircleShape) + .background(Grey500) + .padding(vertical = 7.dp, horizontal = 20.dp) + ) { + content() + } +} \ No newline at end of file diff --git a/core/src/main/java/com/terning/core/type/ProfileImage.kt b/core/src/main/java/com/terning/core/type/ProfileImage.kt new file mode 100644 index 000000000..f4836df27 --- /dev/null +++ b/core/src/main/java/com/terning/core/type/ProfileImage.kt @@ -0,0 +1,33 @@ +package com.terning.core.type + +import androidx.annotation.DrawableRes +import com.terning.core.R + +enum class ProfileImage( + @DrawableRes val drawableResId: Int, + val stringValue: String +) { + + BASIC(drawableResId = R.drawable.ic_terning_profile_00, stringValue = "basic"), + LUCKY(drawableResId = R.drawable.ic_terning_profile_01, stringValue = "lucky"), + SMART(drawableResId = R.drawable.ic_terning_profile_02, stringValue = "smart"), + GLASS(drawableResId = R.drawable.ic_terning_profile_03, stringValue = "glass"), + CALENDAR(drawableResId = R.drawable.ic_terning_profile_04, stringValue = "calendar"), + PASSION(drawableResId = R.drawable.ic_terning_profile_05, stringValue = "passion"), + DEFAULT(drawableResId = R.drawable.ic_terning_profile_default, stringValue = "default"); + + companion object { + fun fromString(value: String): ProfileImage = when (value) { + "basic" -> BASIC + "lucky" -> LUCKY + "smart" -> SMART + "glass" -> GLASS + "calendar" -> CALENDAR + "passion" -> PASSION + else -> BASIC + } + + fun toIndex(profileImage: ProfileImage): Int = + entries.indexOf(profileImage) + } +} diff --git a/core/src/main/res/drawable/ic_terning_profile_00.xml b/core/src/main/res/drawable/ic_terning_profile_00.xml index f34f8769c..99edfdf96 100644 --- a/core/src/main/res/drawable/ic_terning_profile_00.xml +++ b/core/src/main/res/drawable/ic_terning_profile_00.xml @@ -1,137 +1,60 @@ <vector xmlns:android="http://schemas.android.com/apk/res/android" - android:width="800dp" - android:height="800dp" - android:viewportWidth="800" - android:viewportHeight="800"> - <path - android:pathData="M0.5,0.5h800v800h-800z" - android:strokeWidth="0" - android:fillColor="#fffede"/> - <path - android:pathData="M513.99,511.69c-12.05,-10.15 -38.82,-4.86 -48.7,-6.23s12.75,41.33 12.75,41.33l16.57,10.84 19.38,-45.94" - android:strokeWidth="0" - android:fillColor="#c3e4ea"/> - <path - android:pathData="M395.28,530.77c-12.05,-10.15 -38.82,-4.86 -48.7,-6.23s12.75,41.33 12.75,41.33l16.57,10.84 19.38,-45.94" - android:strokeWidth="0" - android:fillColor="#c3e4ea"/> - <path - android:pathData="M341.29,248c0.28,4.43 0,0 0,0 0,0 27.21,-41.84 49.22,-46.48s6.25,-15.03 6.25,-15.03" - android:strokeWidth="0" - android:fillColor="#292021"/> - <path - android:pathData="M354.22,140.48s-48.07,-18.68 -74.13,2.83 -11.91,42.53 -31.16,56.36 -46.42,34.84 -38.49,75.29 16.98,64.79 16.98,64.79h310.88s58.22,-16.92 54.82,-64.79c-3.4,-47.87 -22.64,-37.68 -27.17,-63.72 -4.53,-26.04 -32.27,-61.7 -67.37,-67.37s-31.49,-33.97 -73.77,-34.53 -60.96,16.42 -70.58,31.14Z" - android:strokeWidth="0" - android:fillColor="#292021"/> - <path - android:pathData="M263.9,317.75c-57.84,-1.02 -69.09,31.89 -66.02,62.61s36.85,54.1 81.38,42.33l-15.36,-104.93Z" - android:strokeWidth="0" - android:fillColor="#fec4b6"/> - <path - android:pathData="M486.58,432.36c-3.29,54.82 -18.64,92.65 4.39,107.46l23.03,14.8 -113.49,88.27s-65.24,-75.11 -64.14,-90.46 26.21,-9.14 27.96,-26.32 0,-31.25 0,-31.25l106.91,-69.08 15.35,6.58Z" - android:fillColor="#fed6ca"/> + android:width="76dp" + android:height="76dp" + android:viewportWidth="76" + android:viewportHeight="76"> <group> <clip-path - android:pathData="M486.58,432.36c-3.29,54.82 -18.64,92.65 4.39,107.46l23.03,14.8 -113.49,88.27s-65.24,-75.11 -64.14,-90.46 26.21,-9.14 27.96,-26.32 0,-31.25 0,-31.25l106.91,-69.08 15.35,6.58Z"/> + android:pathData="M38,0L38,0A38,38 0,0 1,76 38L76,38A38,38 0,0 1,38 76L38,76A38,38 0,0 1,0 38L0,38A38,38 0,0 1,38 0z"/> <path - android:pathData="M475.62,430.79c-12.83,45.46 -47.71,112.86 -142.55,107.38 -37.41,-2.16 17,-55.92 17,-55.92l125.56,-51.46Z" - android:strokeWidth="0" - android:fillColor="#fec4b5"/> - </group> - <path - android:pathData="M252,309.02c0,69.79 28.64,198.93 112.73,200.41 51,0.89 102.89,-48.31 118.99,-76.05 0,0 80.52,22.37 96.63,-39.37s-45.63,-100.2 -81.42,-59.94c0,0 -42.05,-134.2 -125.26,-134.2s-121.68,109.15 -121.68,109.15Z" - android:strokeWidth="0" - android:fillColor="#fed6ca"/> - <path - android:pathData="M341.88,250.04s7.91,-13.88 25.87,-6.97 19.02,26.25 16.89,45.77 7.11,35.55 7.11,35.55l12.6,-95.65 -39.54,-6.91 -23.52,17.27 0.59,10.94" - android:strokeWidth="0" - android:fillColor="#191314"/> - <path - android:pathData="M341.88,250.04c-16.14,-10.21 -53.09,22.01 -54.75,43.8 -5.9,-30.27 3.29,-62.4 3.29,-62.4l46.05,-11.91 5.41,30.52" - android:strokeWidth="0" - android:fillColor="#191314"/> - <path - android:pathData="M498.94,314.96c1.6,-25.94 30.75,-119.46 -50.6,-127.79 -24.32,-2.49 -43.61,2.13 -58.7,9.83 -7.63,-2.43 -26.03,-6.99 -43.48,-1.32 -14.25,4.64 -23.07,11.86 -27.67,16.6 -1.85,-1.45 -3.83,-2.93 -5.97,-4.45 -25.15,-17.83 -46.76,31.87 -57.64,63.99 -6.15,-13.46 -12.89,-23.44 -12.89,-23.44 -10.22,13.05 -23.9,28.86 -12.65,69.35 4.78,17.22 -9.35,29.36 -9.35,29.36 0,0 16.96,1.42 31.4,-10.23 -1.5,10.38 -4.02,17.8 -4.02,17.8 55.52,-3.22 28.4,-52.72 46.57,-83.3 31.04,-52.25 47.95,-21.31 47.95,-21.31 0,0 16.03,-31.19 39.2,-10.35 25.86,23.26 -32.96,106.66 42.35,121.25 0,0 -35.28,-30.53 -10.32,-78.33 0,0 5.44,54.45 57.65,62.77 0,0 -11.21,-4.16 -13.13,-22.1 0,0 12.81,19.22 44.52,17.94 0,0 -4.8,-0.32 -3.2,-26.26Z" - android:strokeWidth="0" - android:fillColor="#292021"/> - <path - android:pathData="M296.22,389.57m-23.91,0a23.91,23.91 0,1 1,47.82 0a23.91,23.91 0,1 1,-47.82 0" - android:strokeWidth="0" - android:fillColor="#ffc0c0"/> - <path - android:pathData="M409.93,389.57m-23.91,0a23.91,23.91 0,1 1,47.82 0a23.91,23.91 0,1 1,-47.82 0" - android:strokeWidth="0" - android:fillColor="#ffc0c0"/> - <path - android:pathData="M307.77,363.94a9.21,11.57 0,1 0,18.42 0a9.21,11.57 0,1 0,-18.42 0z" - android:strokeWidth="0" - android:fillColor="#191314"/> - <path - android:pathData="M381.45,363.94a9.21,11.57 0,1 0,18.42 0a9.21,11.57 0,1 0,-18.42 0z" - android:strokeWidth="0" - android:fillColor="#191314"/> - <path - android:pathData="M324.19,320.72s-24.5,-2.76 -41.93,6.67" - android:strokeWidth="7" - android:fillColor="#00000000" - android:strokeColor="#191314" - android:strokeLineCap="round"/> - <path - android:pathData="M375.67,321.41s24.29,-4.22 42.25,4.15" - android:strokeWidth="7" - android:fillColor="#00000000" - android:strokeColor="#191314" - android:strokeLineCap="round"/> - <path - android:pathData="M496.41,543.55c-10.03,-7.47 -7.32,-4.42 -11.94,-9.74 0,0 -80.77,80.78 -83.54,88.32s38.53,6.29 38.53,6.29l56.94,-84.87Z" - android:strokeWidth="0" - android:fillColor="#fec4b5"/> - <path - android:pathData="M400.93,622.13s-73.93,-66.94 -92.96,-64.5 -110.29,13.3 -158.22,89.61 -63.07,153.26 -63.07,153.26h713.81s-52.24,-163.35 -153.14,-209.39 -148.21,-43.52 -148.21,-43.52l-98.21,74.53" - android:fillColor="#e3faff"/> - <path - android:pathData="M422.76,646.03c10.9,-18.27 49.82,-33.92 49.82,-33.92l1.28,14.17 -45.1,36.52 -6,-16.77Z" - android:fillColor="#147c3e"/> - <group> - <clip-path - android:pathData="M422.76,646.03c10.9,-18.27 49.82,-33.92 49.82,-33.92l1.28,14.17 -45.1,36.52 -6,-16.77Z"/> + android:pathData="M76,0H0V76H76V0Z" + android:fillColor="#FBF8CB"/> <path - android:pathData="M435.88,657.84c0.39,-5.64 -13.11,-20.83 -13.11,-20.83l-7.39,5.88 20.5,14.95" - android:strokeWidth="0" - android:fillColor="#147c3e"/> - </group> - <path - android:pathData="M382.68,650.92l-9.64,10.11s-27.93,-19.46 -29.59,-33.91l14.73,-11.67s4.15,14.54 24.5,35.47Z" - android:fillColor="#147c3e"/> - <group> - <clip-path - android:pathData="M382.68,650.92l-9.64,10.11s-27.93,-19.46 -29.59,-33.91l14.73,-11.67s4.15,14.54 24.5,35.47Z"/> + android:pathData="M57.95,77.966L67.64,49.542C68.314,47.472 67.574,45.192 65.807,43.909L41.971,26.59C40.204,25.308 37.819,25.308 36.053,26.59L12.217,43.909C10.45,45.192 9.718,47.462 10.384,49.542L19.494,77.567C20.169,79.638 22.097,81.045 24.282,81.045H53.751" + android:fillColor="#ffffff"/> <path - android:pathData="M382.04,639.75c-9.49,5.25 -13.4,13.33 -12.16,19.73 1.32,6.81 3.5,7.83 3.5,7.83l13.83,-23.55 -5.16,-4.01Z" - android:strokeWidth="0" - android:fillColor="#147c3e"/> - </group> - <path - android:pathData="M400.93,622.13s-43.04,-40.48 -47.98,-63.82 3.79,-26.23 11.37,-32.2l0.55,-7.09s-19.05,1.22 -38,15.31 -40.91,19.03 -40.91,19.03l44.48,99.39s36.66,-50.83 70.5,-30.63" - android:strokeWidth="0" - android:fillColor="#d2f1f9"/> - <path - android:pathData="M400.93,622.13s29.23,-23.82 74.7,37.35c0,0 67.85,-72 98.34,-103.4 0,0 -48.16,-26.53 -59.99,-44.39 -11.19,-6.8 -27.17,-7.88 -35.35,-6.23 -0.02,6.8 -0.51,7.4 0.55,14.59 0,0 22.78,6.73 11.78,19.76s-75.95,69.86 -90.03,82.31Z" - android:strokeWidth="0" - android:fillColor="#d2f1f9"/> - <path - android:pathData="M385.18,695.04c-6.57,25.71 -21.64,105.46 -21.64,105.46h72.87l-20.51,-111.02 -30.73,5.56" - android:fillColor="#25a25f"/> - <group> - <clip-path - android:pathData="M385.18,695.04c-6.57,25.71 -21.64,105.46 -21.64,105.46h72.87l-20.51,-111.02 -30.73,5.56"/> + android:pathData="M57.95,77.966L67.64,49.542C68.314,47.472 67.574,45.192 65.807,43.909L41.971,26.59C40.204,25.308 37.819,25.308 36.053,26.59L12.217,43.909C10.45,45.192 9.718,47.462 10.384,49.542L19.494,77.567C20.169,79.638 22.097,81.045 24.282,81.045H53.751" + android:strokeWidth="1.425" + android:fillColor="#00000000" + android:strokeColor="#171717" + android:strokeLineCap="round"/> + <path + android:pathData="M37.506,63.441H38.599C38.988,63.441 39.321,63.707 39.397,64.077L41.762,75.8C41.829,76.2 41.705,76.608 41.42,76.902L39.017,79.372C38.504,79.895 37.649,79.914 37.126,79.401L34.618,76.979C34.314,76.684 34.172,76.257 34.248,75.839L36.718,64.077C36.794,63.707 37.126,63.441 37.516,63.441H37.506Z" + android:strokeWidth="1.425" + android:fillColor="#40A56B" + android:strokeColor="#171717"/> + <path + android:pathData="M39.168,63.907H36.955C36.518,63.907 36.147,63.603 36.053,63.185L35.54,60.952C35.407,60.373 35.853,59.812 36.442,59.812H39.701C40.299,59.812 40.745,60.373 40.603,60.952L40.071,63.185C39.976,63.603 39.596,63.897 39.168,63.897V63.907Z" + android:strokeWidth="1.425" + android:fillColor="#40A56B" + android:strokeColor="#171717"/> + <path + android:pathData="M31.663,53.447C31.663,53.779 31.616,54.131 31.502,54.416C31.388,54.701 31.036,54.872 30.808,55.1C30.58,55.328 30.409,55.623 30.105,55.746C29.801,55.869 29.488,55.841 29.155,55.841C28.823,55.841 28.509,55.822 28.224,55.699C27.939,55.575 27.654,55.395 27.426,55.167C27.198,54.938 26.999,54.682 26.875,54.378C26.752,54.074 26.638,53.761 26.638,53.438C26.638,53.114 26.837,52.811 26.961,52.526C27.084,52.241 27.274,52.003 27.502,51.775C27.73,51.547 27.939,51.319 28.234,51.195C28.528,51.072 28.832,51.072 29.165,51.072C29.497,51.072 29.801,51.082 30.086,51.205C30.371,51.328 30.647,51.509 30.875,51.728C31.103,51.946 31.293,52.212 31.416,52.507C31.54,52.801 31.682,53.105 31.682,53.438L31.663,53.447Z" + android:fillColor="#F9DBDE"/> + <path + android:pathData="M31.663,53.447C31.663,53.779 31.616,54.131 31.502,54.416C31.388,54.701 31.036,54.872 30.808,55.1C30.58,55.328 30.409,55.623 30.105,55.746C29.801,55.869 29.488,55.841 29.155,55.841C28.823,55.841 28.509,55.822 28.224,55.699C27.939,55.575 27.654,55.395 27.426,55.167C27.198,54.938 26.999,54.682 26.875,54.378C26.752,54.074 26.638,53.761 26.638,53.438C26.638,53.114 26.837,52.811 26.961,52.526C27.084,52.241 27.274,52.003 27.502,51.775C27.73,51.547 27.939,51.319 28.234,51.195C28.528,51.072 28.832,51.072 29.165,51.072C29.497,51.072 29.801,51.082 30.086,51.205C30.371,51.328 30.647,51.509 30.875,51.728C31.103,51.946 31.293,52.212 31.416,52.507C31.54,52.801 31.682,53.105 31.682,53.438L31.663,53.447Z" + android:strokeWidth="0.7315" + android:fillColor="#00000000" + android:strokeColor="#F9DBDE"/> + <path + android:pathData="M49.343,53.266C49.343,53.599 49.267,53.931 49.144,54.226C49.02,54.521 48.84,54.825 48.611,55.043C48.383,55.262 48.079,55.432 47.785,55.556C47.491,55.68 47.167,55.651 46.835,55.651C46.502,55.651 46.217,55.584 45.923,55.461C45.629,55.338 45.268,55.28 45.049,55.053C44.831,54.825 44.669,54.511 44.546,54.216C44.422,53.922 44.422,53.599 44.422,53.266C44.422,52.934 44.451,52.611 44.564,52.326C44.679,52.041 44.897,51.775 45.125,51.556C45.353,51.338 45.638,51.215 45.932,51.091C46.227,50.967 46.502,50.92 46.835,50.92C47.167,50.92 47.491,50.863 47.785,50.986C48.079,51.11 48.355,51.3 48.583,51.528C48.811,51.756 49.011,52.022 49.134,52.326C49.257,52.63 49.343,52.944 49.343,53.276V53.266Z" + android:fillColor="#F9DBDE"/> + <path + android:pathData="M49.343,53.266C49.343,53.599 49.267,53.931 49.144,54.226C49.02,54.521 48.84,54.825 48.611,55.043C48.383,55.262 48.079,55.432 47.785,55.556C47.491,55.68 47.167,55.651 46.835,55.651C46.502,55.651 46.217,55.584 45.923,55.461C45.629,55.338 45.268,55.28 45.049,55.053C44.831,54.825 44.669,54.511 44.546,54.216C44.422,53.922 44.422,53.599 44.422,53.266C44.422,52.934 44.451,52.611 44.564,52.326C44.679,52.041 44.897,51.775 45.125,51.556C45.353,51.338 45.638,51.215 45.932,51.091C46.227,50.967 46.502,50.92 46.835,50.92C47.167,50.92 47.491,50.863 47.785,50.986C48.079,51.11 48.355,51.3 48.583,51.528C48.811,51.756 49.011,52.022 49.134,52.326C49.257,52.63 49.343,52.944 49.343,53.276V53.266Z" + android:strokeWidth="0.7315" + android:fillColor="#00000000" + android:strokeColor="#F9DBDE"/> + <path + android:pathData="M34.818,52.497C35.384,52.497 35.843,51.791 35.843,50.92C35.843,50.049 35.384,49.343 34.818,49.343C34.251,49.343 33.792,50.049 33.792,50.92C33.792,51.791 34.251,52.497 34.818,52.497Z" + android:fillColor="#171717"/> + <path + android:pathData="M41.182,52.497C41.749,52.497 42.208,51.791 42.208,50.92C42.208,50.049 41.749,49.343 41.182,49.343C40.616,49.343 40.157,50.049 40.157,50.92C40.157,51.791 40.616,52.497 41.182,52.497Z" + android:fillColor="#171717"/> <path - android:pathData="M379.74,707.57c36.05,-1.95 54.63,-18.08 54.63,-18.08l-59.03,-5.71 4.4,23.79Z" - android:strokeWidth="0" - android:fillColor="#147c3e"/> + android:pathData="M35.444,53.884C35.444,53.884 36.243,55.613 38.114,55.613C39.986,55.613 40.565,53.884 40.565,53.884" + android:strokeWidth="1.425" + android:fillColor="#00000000" + android:strokeColor="#171717" + android:strokeLineCap="round"/> </group> - <path - android:pathData="M381.25,692.87c-1.9,0 -33.47,-49.99 16.2,-49.99 27.72,0 35.04,6.66 38.43,14.95s-10.17,30.52 -13.94,35.04 -35.04,6.03 -40.69,0Z" - android:strokeWidth="0" - android:fillColor="#25a25f"/> </vector> diff --git a/core/src/main/res/drawable/ic_terning_profile_01.xml b/core/src/main/res/drawable/ic_terning_profile_01.xml index 557c169b6..0bfcc7b29 100644 --- a/core/src/main/res/drawable/ic_terning_profile_01.xml +++ b/core/src/main/res/drawable/ic_terning_profile_01.xml @@ -1,132 +1,80 @@ <vector xmlns:android="http://schemas.android.com/apk/res/android" - android:width="800dp" - android:height="800dp" - android:viewportWidth="800" - android:viewportHeight="800"> - <path - android:pathData="M0.5,0.5h800v800h-800z" - android:strokeWidth="0" - android:fillColor="#d7fff7"/> - <path - android:pathData="M198.93,259.05c-9.34,33.19 -17.36,92.32 7.77,161.11s64.74,136.98 96.52,158.1 72.45,26.55 72.45,26.55l121.56,-86.29 44.69,-81.88 -324.57,-174.35 -18.41,-3.23Z" - android:strokeWidth="0" - android:fillColor="#a0a0a0"/> - <path - android:pathData="M349.54,138.29c21.03,-7.52 116.38,-14.82 164.45,34.98s55.37,119.75 51.93,154.12 -8.59,34.79 -8.59,34.79l-43.35,-13.31 -169.14,-144.41 4.7,-66.17Z" - android:strokeWidth="0" - android:fillColor="#292021"/> - <path - android:pathData="M528.3,427.9c-15.02,18.12 -33.14,31.07 -47.64,36.25l-14.5,5.18 9.46,-38.53 52.68,-2.89Z" - android:strokeWidth="0" - android:fillColor="#292021"/> - <path - android:pathData="M263.9,317.75c-57.84,-1.02 -69.09,31.89 -66.02,62.61 3.07,30.71 36.85,54.1 81.38,42.33l-15.36,-104.93Z" - android:strokeWidth="0" - android:fillColor="#fec4b6"/> - <path - android:pathData="M486.58,432.36c-3.29,54.82 -18.64,92.65 4.39,107.46l23.03,14.8 -113.49,88.27s-65.24,-75.11 -64.14,-90.46c1.1,-15.35 26.21,-9.14 27.96,-26.32s0,-31.25 0,-31.25l106.91,-69.08 15.35,6.58Z" - android:fillColor="#fed6ca"/> + android:width="76dp" + android:height="76dp" + android:viewportWidth="76" + android:viewportHeight="76"> <group> <clip-path - android:pathData="M486.58,432.36c-3.29,54.82 -18.64,92.65 4.39,107.46l23.03,14.8 -113.49,88.27s-65.24,-75.11 -64.14,-90.46c1.1,-15.35 26.21,-9.14 27.96,-26.32s0,-31.25 0,-31.25l106.91,-69.08 15.35,6.58Z"/> + android:pathData="M38,0L38,0A38,38 0,0 1,76 38L76,38A38,38 0,0 1,38 76L38,76A38,38 0,0 1,0 38L0,38A38,38 0,0 1,38 0z"/> <path - android:pathData="M475.62,430.79c-12.83,45.46 -47.71,112.86 -142.55,107.38 -37.41,-2.16 17,-55.92 17,-55.92l125.56,-51.46Z" - android:strokeWidth="0" - android:fillColor="#fec4b5"/> + android:pathData="M76,0H0V76H76V0Z" + android:fillColor="#ECF9CA"/> + <path + android:pathData="M61.341,58.045C64.78,55.1 66.975,50.73 66.975,45.847C66.975,36.984 59.783,29.792 50.92,29.792C45.619,29.792 40.926,32.376 38,36.347C35.074,32.386 30.39,29.792 25.08,29.792C16.216,29.792 9.025,36.984 9.025,45.847C9.025,50.73 11.21,55.1 14.658,58.045C11.219,60.99 9.025,65.36 9.025,70.243C9.025,79.106 16.216,86.298 25.08,86.298C30.381,86.298 35.074,83.714 38,79.743C40.926,83.704 45.609,86.298 50.92,86.298C59.783,86.298 66.975,79.106 66.975,70.243C66.975,65.36 64.79,60.99 61.341,58.045Z" + android:strokeWidth="1.425" + android:fillColor="#40A56B" + android:strokeColor="#171717"/> + <path + android:pathData="M37.506,63.441H38.598C38.988,63.441 39.32,63.707 39.396,64.077L41.762,75.8C41.828,76.199 41.705,76.608 41.42,76.902L39.016,79.372C38.503,79.895 37.648,79.914 37.126,79.401L34.618,76.978C34.314,76.684 34.171,76.256 34.247,75.838L36.717,64.077C36.793,63.707 37.126,63.441 37.515,63.441H37.506Z" + android:strokeWidth="1.425" + android:fillColor="#F2F2F2" + android:strokeColor="#171717"/> + <path + android:pathData="M39.168,63.907H36.955C36.518,63.907 36.147,63.603 36.053,63.185L35.54,60.952C35.407,60.373 35.853,59.812 36.442,59.812H39.701C40.299,59.812 40.745,60.373 40.603,60.952L40.071,63.185C39.976,63.603 39.596,63.897 39.168,63.897V63.907Z" + android:strokeWidth="1.425" + android:fillColor="#F2F2F2" + android:strokeColor="#171717"/> + <path + android:pathData="M31.663,53.447C31.663,53.779 31.616,54.131 31.502,54.416C31.388,54.701 31.036,54.872 30.808,55.1C30.58,55.328 30.409,55.623 30.105,55.746C29.801,55.869 29.488,55.841 29.155,55.841C28.823,55.841 28.509,55.822 28.224,55.699C27.939,55.575 27.654,55.395 27.426,55.167C27.198,54.938 26.999,54.682 26.875,54.378C26.752,54.074 26.638,53.761 26.638,53.438C26.638,53.114 26.837,52.811 26.961,52.526C27.084,52.241 27.274,52.003 27.502,51.775C27.73,51.547 27.939,51.319 28.234,51.195C28.528,51.072 28.832,51.072 29.165,51.072C29.497,51.072 29.801,51.082 30.086,51.205C30.371,51.328 30.647,51.509 30.875,51.728C31.103,51.946 31.293,52.212 31.416,52.507C31.54,52.801 31.682,53.105 31.682,53.438L31.663,53.447Z" + android:fillColor="#F9DBDE"/> + <path + android:pathData="M31.663,53.447C31.663,53.779 31.616,54.131 31.502,54.416C31.388,54.701 31.036,54.872 30.808,55.1C30.58,55.328 30.409,55.623 30.105,55.746C29.801,55.869 29.488,55.841 29.155,55.841C28.823,55.841 28.509,55.822 28.224,55.699C27.939,55.575 27.654,55.395 27.426,55.167C27.198,54.938 26.999,54.682 26.875,54.378C26.752,54.074 26.638,53.761 26.638,53.438C26.638,53.114 26.837,52.811 26.961,52.526C27.084,52.241 27.274,52.003 27.502,51.775C27.73,51.547 27.939,51.319 28.234,51.195C28.528,51.072 28.832,51.072 29.165,51.072C29.497,51.072 29.801,51.082 30.086,51.205C30.371,51.328 30.647,51.509 30.875,51.728C31.103,51.946 31.293,52.212 31.416,52.507C31.54,52.801 31.682,53.105 31.682,53.438L31.663,53.447Z" + android:strokeWidth="0.7315" + android:fillColor="#00000000" + android:strokeColor="#F9DBDE"/> + <path + android:pathData="M49.343,53.267C49.343,53.599 49.267,53.932 49.143,54.226C49.02,54.521 48.839,54.825 48.611,55.043C48.383,55.262 48.079,55.433 47.785,55.556C47.49,55.68 47.167,55.651 46.835,55.651C46.502,55.651 46.217,55.585 45.923,55.461C45.628,55.338 45.267,55.281 45.049,55.053C44.83,54.825 44.669,54.511 44.545,54.217C44.422,53.922 44.422,53.599 44.422,53.267C44.422,52.934 44.45,52.611 44.564,52.326C44.678,52.041 44.897,51.775 45.125,51.557C45.353,51.338 45.638,51.215 45.932,51.091C46.227,50.968 46.502,50.92 46.835,50.92C47.167,50.92 47.49,50.863 47.785,50.987C48.079,51.11 48.355,51.3 48.583,51.528C48.811,51.756 49.01,52.022 49.134,52.326C49.257,52.63 49.343,52.944 49.343,53.276V53.267Z" + android:fillColor="#F9DBDE"/> + <path + android:pathData="M49.343,53.267C49.343,53.599 49.267,53.932 49.143,54.226C49.02,54.521 48.839,54.825 48.611,55.043C48.383,55.262 48.079,55.433 47.785,55.556C47.49,55.68 47.167,55.651 46.835,55.651C46.502,55.651 46.217,55.585 45.923,55.461C45.628,55.338 45.267,55.281 45.049,55.053C44.83,54.825 44.669,54.511 44.545,54.217C44.422,53.922 44.422,53.599 44.422,53.267C44.422,52.934 44.45,52.611 44.564,52.326C44.678,52.041 44.897,51.775 45.125,51.557C45.353,51.338 45.638,51.215 45.932,51.091C46.227,50.968 46.502,50.92 46.835,50.92C47.167,50.92 47.49,50.863 47.785,50.987C48.079,51.11 48.355,51.3 48.583,51.528C48.811,51.756 49.01,52.022 49.134,52.326C49.257,52.63 49.343,52.944 49.343,53.276V53.267Z" + android:strokeWidth="0.7315" + android:fillColor="#00000000" + android:strokeColor="#F9DBDE"/> + <path + android:pathData="M34.818,52.497C35.384,52.497 35.843,51.791 35.843,50.92C35.843,50.049 35.384,49.343 34.818,49.343C34.251,49.343 33.792,50.049 33.792,50.92C33.792,51.791 34.251,52.497 34.818,52.497Z" + android:fillColor="#171717"/> + <path + android:pathData="M41.182,52.497C41.749,52.497 42.208,51.791 42.208,50.92C42.208,50.049 41.749,49.343 41.182,49.343C40.616,49.343 40.157,50.049 40.157,50.92C40.157,51.791 40.616,52.497 41.182,52.497Z" + android:fillColor="#171717"/> + <path + android:pathData="M35.445,53.884C35.445,53.884 36.243,55.613 38.114,55.613C39.986,55.613 40.565,53.884 40.565,53.884" + android:strokeWidth="1.425" + android:fillColor="#00000000" + android:strokeColor="#171717" + android:strokeLineCap="round"/> + <path + android:pathData="M19.285,39.833L24.975,45.296" + android:strokeWidth="1.425" + android:fillColor="#00000000" + android:strokeColor="#171717" + android:strokeLineCap="round"/> + <path + android:pathData="M56.715,39.833L51.024,45.296" + android:strokeWidth="1.425" + android:fillColor="#00000000" + android:strokeColor="#171717" + android:strokeLineCap="round"/> + <path + android:pathData="M18.763,76.133L24.444,70.661" + android:strokeWidth="1.425" + android:fillColor="#00000000" + android:strokeColor="#171717" + android:strokeLineCap="round"/> + <path + android:pathData="M56.183,76.133L50.502,70.661" + android:strokeWidth="1.425" + android:fillColor="#00000000" + android:strokeColor="#171717" + android:strokeLineCap="round"/> </group> - <path - android:pathData="M252,309.02c0,69.79 28.64,198.93 112.73,200.41 51,0.89 102.89,-48.31 118.99,-76.05 0,0 80.52,22.37 96.63,-39.37s-45.63,-100.2 -81.42,-59.94c0,0 -42.05,-134.2 -125.26,-134.2s-121.68,109.15 -121.68,109.15Z" - android:strokeWidth="0" - android:fillColor="#fed6ca"/> - <path - android:pathData="M296.22,389.57m-23.91,0a23.91,23.91 0,1 1,47.82 0a23.91,23.91 0,1 1,-47.82 0" - android:strokeWidth="0" - android:fillColor="#ffc0c0"/> - <path - android:pathData="M409.93,389.57m-23.91,0a23.91,23.91 0,1 1,47.82 0a23.91,23.91 0,1 1,-47.82 0" - android:strokeWidth="0" - android:fillColor="#ffc0c0"/> - <path - android:pathData="M307.77,363.94a9.21,11.57 0,1 0,18.42 0a9.21,11.57 0,1 0,-18.42 0z" - android:strokeWidth="0" - android:fillColor="#191314"/> - <path - android:pathData="M381.45,363.94a9.21,11.57 0,1 0,18.42 0a9.21,11.57 0,1 0,-18.42 0z" - android:strokeWidth="0" - android:fillColor="#191314"/> - <path - android:pathData="M293.81,291.88c-4.17,18.77 -0.27,31.34 30.37,50.42 0,0 -42.53,9.77 -61.26,-14.91 0,0 -2.83,15.97 3.53,24.98 0,0 -20.6,-3.4 -41.84,-28.5 0,0 -59.18,-81.3 37.52,-156.01 41.08,-31.74 87.4,-29.57 87.4,-29.57l3.04,61.57v16.26l-49.36,37.4 -9.41,38.35Z" - android:strokeWidth="0" - android:fillColor="#292021"/> - <path - android:pathData="M344.85,251.87s-41.8,-25.28 -27.87,42.99c9.21,45.14 46.68,51.06 46.68,51.06 0,0 -60.73,-0.54 -71.48,-52.13s19.35,-61.27 19.35,-61.27l28.48,-39.23 27.75,18.82 -22.91,39.76Z" - android:strokeWidth="0" - android:fillColor="#292021"/> - <path - android:pathData="M344.85,251.87c6.29,-10.92 17.31,-19.22 26,-12.26s15.14,19.13 15.18,33.05 -0.03,46.53 39.14,58.27c0,0 -11.27,-2.61 -10.4,-34.35 0,0 30.44,21.31 34.79,40.01 0,0 3.91,-6.52 3.48,-21.31 0,0 17.59,23.82 31.74,21.31 0,0 -1.3,-2.47 -1.74,-13.63 0,0 8.26,4.49 12.61,17.97 0,0 1.97,-7.47 15.4,-17.06s30.87,-33.12 30.87,-33.12l-116.75,-107.11 -80.32,9.66v58.58Z" - android:strokeWidth="0" - android:fillColor="#292021"/> - <path - android:pathData="M324.19,320.72s-24.5,-2.76 -41.93,6.67" - android:strokeWidth="7" - android:fillColor="#00000000" - android:strokeColor="#191314" - android:strokeLineCap="round"/> - <path - android:pathData="M375.67,321.41s24.29,-4.22 42.25,4.15" - android:strokeWidth="7" - android:fillColor="#00000000" - android:strokeColor="#191314" - android:strokeLineCap="round"/> - <path - android:pathData="M346.08,541.1c3.99,13.13 19.53,46.13 62.64,44.13s79.38,-56.53 79.38,-56.53l-15.7,48.83 -93.94,32.55 -98.81,-44.61c-5.79,-1.66 50.43,-20.61 66.43,-24.36" - android:strokeWidth="0" - android:fillColor="#fff"/> - <path - android:pathData="M479.67,519.04c-1.13,-6.78 -1.06,-13.06 -1.06,-13.06 3.43,4.99 -69.99,80.79 -80.12,83.18 -9.5,2.25 60.66,-29.31 60.66,-29.31l20.52,-40.81Z" - android:strokeWidth="0" - android:fillColor="#fec4b5"/> - <path - android:pathData="M333.35,114.62c37.84,-7.42 185.23,-10.37 234.22,70.27 64.57,106.28 91.95,280.34 79.11,322.35s-43.21,74.12 -43.21,74.12l-230.48,39.83s102.09,-78.53 124.24,-118.7 44.96,-84.26 57.19,-155.4 -13.71,-127.68 -26.12,-150.3 -81.04,-59.82 -110.38,-68.01c-29.33,-8.2 -84.57,-14.16 -84.57,-14.16Z" - android:strokeWidth="0" - android:fillColor="#c6c6c6"/> - <path - android:pathData="M566.65,275.77c-8.53,-88.36 -58.59,-135.86 -110.9,-152.71 -52.31,-16.85 -216.2,-39.48 -266.01,116.95 -49.8,156.42 77.28,341.78 130.39,364.91 25.36,11.05 42.85,30.93 97.36,0 106.74,-60.56 157.7,-240.79 149.16,-329.15ZM412.79,579.74c-48.76,27.66 -64.4,9.88 -87.09,0 -47.51,-20.69 -161.17,-186.48 -116.63,-326.4 44.55,-139.92 191.14,-119.68 237.93,-104.61 46.79,15.08 91.57,57.56 99.2,136.59s-37.94,240.24 -133.42,294.41Z" - android:strokeWidth="0" - android:fillColor="#c6c6c6"/> - <path - android:pathData="M272.32,563.73c-35.92,11.71 -117.03,67.25 -157.14,180.51 -13.04,36.83 -14.58,56.26 -14.58,56.26h695.15s-29.92,-179.43 -191.05,-236.77 -128.14,-29.4 -128.14,-29.4l-79.77,75.74 -93.57,-23.12 -30.9,-23.22Z" - android:fillColor="#c6c6c6"/> - <path - android:pathData="M564.02,369.9c-8.55,40.44 -20.92,80.08 -36.87,118.22" - android:strokeWidth="4" - android:fillColor="#00000000" - android:strokeColor="#a0a0a0" - android:strokeLineCap="round"/> - <path - android:pathData="M479.18,128.97c29.78,14.1 54.67,38.29 69.62,67.66" - android:strokeWidth="4" - android:fillColor="#00000000" - android:strokeColor="#a0a0a0" - android:strokeLineCap="round"/> - <path - android:pathData="M273.01,563.65c11.96,15.08 26.31,28.27 42.36,38.9" - android:strokeWidth="4" - android:fillColor="#00000000" - android:strokeColor="#a0a0a0" - android:strokeLineCap="round"/> - <path - android:pathData="M500.49,536.72c-21.12,21.39 -43.84,41.2 -67.89,59.22" - android:strokeWidth="4" - android:fillColor="#00000000" - android:strokeColor="#a0a0a0" - android:strokeLineCap="round"/> - <path - android:pathData="M310.57,626.15s5.29,-6.54 11.91,-4.68 7.17,9.77 7.17,9.77c0,0 -13.67,50.63 -9.54,169.26h-19.02s-6.84,-77.63 9.48,-174.35Z" - android:strokeWidth="0" - android:fillColor="#a0a0a0"/> - <path - android:pathData="M438.19,626.15s5.29,-6.54 11.91,-4.68 7.17,9.77 7.17,9.77c0,0 -13.67,50.63 -9.54,169.26h-19.02s-6.84,-77.63 9.48,-174.35Z" - android:strokeWidth="0" - android:fillColor="#a0a0a0"/> </vector> diff --git a/core/src/main/res/drawable/ic_terning_profile_01_selected.png b/core/src/main/res/drawable/ic_terning_profile_01_selected.png deleted file mode 100644 index f85119d4b..000000000 Binary files a/core/src/main/res/drawable/ic_terning_profile_01_selected.png and /dev/null differ diff --git a/core/src/main/res/drawable/ic_terning_profile_02.xml b/core/src/main/res/drawable/ic_terning_profile_02.xml index 1ad3e5dd8..8ba5ffc15 100644 --- a/core/src/main/res/drawable/ic_terning_profile_02.xml +++ b/core/src/main/res/drawable/ic_terning_profile_02.xml @@ -1,98 +1,75 @@ <vector xmlns:android="http://schemas.android.com/apk/res/android" - android:width="800dp" - android:height="800dp" - android:viewportWidth="800" - android:viewportHeight="800"> - <path - android:pathData="M0.5,0.5h800v800h-800z" - android:strokeWidth="0" - android:fillColor="#e6ffeb"/> - <path - android:pathData="M197.42,290.77c-18.82,13.01 -26.66,33.92 -16.97,49.97s29.35,20.82 64.13,13.92 51.64,-79.13 51.64,-79.13l-45.96,-5.68s-19.76,-1.94 -52.85,20.93Z" - android:strokeWidth="0" - android:fillColor="#151f4f"/> - <path - android:pathData="M510.58,434.16c-4.74,20.29 7.44,38.22 7.44,38.22 0,0 -13.53,-3.04 -19.62,-10.15 0,0 -2.37,6.76 -12.18,13.87 0,0 -0.67,-3.72 -5.41,-11.16s0,-45.66 0,-45.66l29.76,14.88Z" - android:strokeWidth="0" - android:fillColor="#353535"/> - <path - android:pathData="M281,439.69c-2.63,11.64 -1.04,26.01 -8.69,35.99 0,0 15.07,0.71 25.51,-8.58 0,0 1.01,6.41 9.94,11.13 0,0 -8.79,-2.03 2.42,-5.18s-29.18,-33.36 -29.18,-33.36Z" - android:strokeWidth="0" - android:fillColor="#353535"/> - <path - android:pathData="M263.9,317.75c-57.84,-1.02 -69.09,31.89 -66.02,62.61 3.07,30.71 36.85,54.1 81.38,42.33l-15.36,-104.93Z" - android:strokeWidth="0" - android:fillColor="#fec4b6"/> - <path - android:pathData="M486.58,432.36c-3.29,54.82 -18.64,92.65 4.39,107.46l23.03,14.8 -113.49,88.27s-65.24,-75.11 -64.14,-90.46c1.1,-15.35 26.21,-9.14 27.96,-26.32s0,-31.25 0,-31.25l106.91,-69.08 15.35,6.58Z" - android:fillColor="#fed6ca"/> + android:width="76dp" + android:height="76dp" + android:viewportWidth="76" + android:viewportHeight="76"> <group> <clip-path - android:pathData="M486.58,432.36c-3.29,54.82 -18.64,92.65 4.39,107.46l23.03,14.8 -113.49,88.27s-65.24,-75.11 -64.14,-90.46c1.1,-15.35 26.21,-9.14 27.96,-26.32s0,-31.25 0,-31.25l106.91,-69.08 15.35,6.58Z"/> + android:pathData="M38,0L38,0A38,38 0,0 1,76 38L76,38A38,38 0,0 1,38 76L38,76A38,38 0,0 1,0 38L0,38A38,38 0,0 1,38 0z"/> <path - android:pathData="M475.62,430.79c-12.83,45.46 -47.71,112.86 -142.55,107.38 -37.41,-2.16 17,-55.92 17,-55.92l125.56,-51.46Z" - android:strokeWidth="0" - android:fillColor="#fec4b5"/> + android:pathData="M76,0H0V76H76V0Z" + android:fillColor="#D4F9DE"/> + <path + android:pathData="M38,84.199H7.467V33.725C7.467,33.725 21.66,24.539 34.827,38.903L38.009,84.208L38,84.199Z" + android:strokeWidth="1.425" + android:fillColor="#5CB1F2" + android:strokeColor="#171717"/> + <path + android:pathData="M38.076,84.199H68.609V33.725C68.609,33.725 54.416,24.539 41.249,38.903L38.066,84.208L38.076,84.199Z" + android:strokeWidth="1.425" + android:fillColor="#5CB1F2" + android:strokeColor="#171717"/> + <path + android:pathData="M38,38C38,38 30.343,21.052 11.267,29.032V78.584L38,78.118L64.733,78.584V29.032C45.657,21.061 38,38 38,38Z" + android:strokeLineJoin="round" + android:strokeWidth="1.425" + android:fillColor="#ffffff" + android:strokeColor="#171717" + android:strokeLineCap="round"/> + <path + android:pathData="M38,38V43.539" + android:strokeLineJoin="round" + android:strokeWidth="1.425" + android:fillColor="#00000000" + android:strokeColor="#171717" + android:strokeLineCap="round"/> + <path + android:pathData="M37.506,63.441H38.598C38.988,63.441 39.32,63.707 39.396,64.077L41.762,75.8C41.828,76.199 41.705,76.608 41.42,76.902L39.016,79.372C38.503,79.895 37.648,79.914 37.126,79.401L34.618,76.978C34.314,76.684 34.171,76.256 34.247,75.838L36.717,64.077C36.793,63.707 37.126,63.441 37.515,63.441H37.506Z" + android:strokeWidth="1.425" + android:fillColor="#40A56B" + android:strokeColor="#171717"/> + <path + android:pathData="M39.168,63.907H36.955C36.518,63.907 36.147,63.603 36.053,63.185L35.54,60.952C35.407,60.373 35.853,59.812 36.442,59.812H39.701C40.299,59.812 40.745,60.373 40.603,60.952L40.071,63.185C39.976,63.603 39.596,63.897 39.168,63.897V63.907Z" + android:strokeWidth="1.425" + android:fillColor="#40A56B" + android:strokeColor="#171717"/> + <path + android:pathData="M31.663,53.447C31.663,53.779 31.616,54.131 31.502,54.416C31.388,54.701 31.036,54.872 30.808,55.1C30.58,55.328 30.409,55.623 30.105,55.746C29.801,55.869 29.488,55.841 29.155,55.841C28.823,55.841 28.509,55.822 28.224,55.699C27.939,55.575 27.654,55.395 27.426,55.167C27.198,54.938 26.999,54.682 26.875,54.378C26.752,54.074 26.638,53.761 26.638,53.438C26.638,53.114 26.837,52.811 26.961,52.526C27.084,52.241 27.274,52.003 27.502,51.775C27.73,51.547 27.939,51.319 28.234,51.195C28.528,51.072 28.832,51.072 29.165,51.072C29.497,51.072 29.801,51.082 30.086,51.205C30.371,51.328 30.647,51.509 30.875,51.728C31.103,51.946 31.293,52.212 31.416,52.507C31.54,52.801 31.682,53.105 31.682,53.438L31.663,53.447Z" + android:fillColor="#F9DBDE"/> + <path + android:pathData="M31.663,53.447C31.663,53.779 31.616,54.131 31.502,54.416C31.388,54.701 31.036,54.872 30.808,55.1C30.58,55.328 30.409,55.623 30.105,55.746C29.801,55.869 29.488,55.841 29.155,55.841C28.823,55.841 28.509,55.822 28.224,55.699C27.939,55.575 27.654,55.395 27.426,55.167C27.198,54.938 26.999,54.682 26.875,54.378C26.752,54.074 26.638,53.761 26.638,53.438C26.638,53.114 26.837,52.811 26.961,52.526C27.084,52.241 27.274,52.003 27.502,51.775C27.73,51.547 27.939,51.319 28.234,51.195C28.528,51.072 28.832,51.072 29.165,51.072C29.497,51.072 29.801,51.082 30.086,51.205C30.371,51.328 30.647,51.509 30.875,51.728C31.103,51.946 31.293,52.212 31.416,52.507C31.54,52.801 31.682,53.105 31.682,53.438L31.663,53.447Z" + android:strokeWidth="0.7315" + android:fillColor="#00000000" + android:strokeColor="#F9DBDE"/> + <path + android:pathData="M49.343,53.267C49.343,53.599 49.267,53.932 49.143,54.226C49.02,54.521 48.839,54.825 48.611,55.043C48.383,55.262 48.079,55.433 47.785,55.556C47.49,55.68 47.167,55.651 46.835,55.651C46.502,55.651 46.217,55.585 45.923,55.461C45.628,55.338 45.267,55.281 45.049,55.053C44.83,54.825 44.669,54.511 44.545,54.217C44.422,53.922 44.422,53.599 44.422,53.267C44.422,52.934 44.45,52.611 44.564,52.326C44.678,52.041 44.897,51.775 45.125,51.557C45.353,51.338 45.638,51.215 45.932,51.091C46.227,50.968 46.502,50.92 46.835,50.92C47.167,50.92 47.49,50.863 47.785,50.987C48.079,51.11 48.355,51.3 48.583,51.528C48.811,51.756 49.01,52.022 49.134,52.326C49.257,52.63 49.343,52.944 49.343,53.276V53.267Z" + android:fillColor="#F9DBDE"/> + <path + android:pathData="M49.343,53.267C49.343,53.599 49.267,53.932 49.143,54.226C49.02,54.521 48.839,54.825 48.611,55.043C48.383,55.262 48.079,55.433 47.785,55.556C47.49,55.68 47.167,55.651 46.835,55.651C46.502,55.651 46.217,55.585 45.923,55.461C45.628,55.338 45.267,55.281 45.049,55.053C44.83,54.825 44.669,54.511 44.545,54.217C44.422,53.922 44.422,53.599 44.422,53.267C44.422,52.934 44.45,52.611 44.564,52.326C44.678,52.041 44.897,51.775 45.125,51.557C45.353,51.338 45.638,51.215 45.932,51.091C46.227,50.968 46.502,50.92 46.835,50.92C47.167,50.92 47.49,50.863 47.785,50.987C48.079,51.11 48.355,51.3 48.583,51.528C48.811,51.756 49.01,52.022 49.134,52.326C49.257,52.63 49.343,52.944 49.343,53.276V53.267Z" + android:strokeWidth="0.7315" + android:fillColor="#00000000" + android:strokeColor="#F9DBDE"/> + <path + android:pathData="M34.818,52.497C35.384,52.497 35.843,51.791 35.843,50.92C35.843,50.049 35.384,49.343 34.818,49.343C34.251,49.343 33.792,50.049 33.792,50.92C33.792,51.791 34.251,52.497 34.818,52.497Z" + android:fillColor="#171717"/> + <path + android:pathData="M41.182,52.497C41.749,52.497 42.208,51.791 42.208,50.92C42.208,50.049 41.749,49.343 41.182,49.343C40.616,49.343 40.157,50.049 40.157,50.92C40.157,51.791 40.616,52.497 41.182,52.497Z" + android:fillColor="#171717"/> + <path + android:pathData="M35.445,53.884C35.445,53.884 36.243,55.613 38.114,55.613C39.986,55.613 40.565,53.884 40.565,53.884" + android:strokeWidth="1.425" + android:fillColor="#00000000" + android:strokeColor="#171717" + android:strokeLineCap="round"/> </group> - <path - android:pathData="M252,309.02c0,69.79 28.64,198.93 112.73,200.41 51,0.89 102.89,-48.31 118.99,-76.05 0,0 80.52,22.37 96.63,-39.37s-45.63,-100.2 -81.42,-59.94c0,0 -42.05,-134.2 -125.26,-134.2s-121.68,109.15 -121.68,109.15Z" - android:strokeWidth="0" - android:fillColor="#fed6ca"/> - <path - android:pathData="M296.22,389.57m-23.91,0a23.91,23.91 0,1 1,47.82 0a23.91,23.91 0,1 1,-47.82 0" - android:strokeWidth="0" - android:fillColor="#ffc0c0"/> - <path - android:pathData="M409.93,389.57m-23.91,0a23.91,23.91 0,1 1,47.82 0a23.91,23.91 0,1 1,-47.82 0" - android:strokeWidth="0" - android:fillColor="#ffc0c0"/> - <path - android:pathData="M307.77,363.94a9.21,11.57 0,1 0,18.42 0a9.21,11.57 0,1 0,-18.42 0z" - android:strokeWidth="0" - android:fillColor="#191314"/> - <path - android:pathData="M381.45,363.94a9.21,11.57 0,1 0,18.42 0a9.21,11.57 0,1 0,-18.42 0z" - android:strokeWidth="0" - android:fillColor="#191314"/> - <path - android:pathData="M324.19,320.72s-24.5,-2.76 -41.93,6.67" - android:strokeWidth="7" - android:fillColor="#00000000" - android:strokeColor="#191314" - android:strokeLineCap="round"/> - <path - android:pathData="M375.67,321.41s24.29,-4.22 42.25,4.15" - android:strokeWidth="7" - android:fillColor="#00000000" - android:strokeColor="#191314" - android:strokeLineCap="round"/> - <path - android:pathData="M449.92,301.55c17.02,13.96 27.49,41.67 28.36,56.18 0,0 11.28,-14.84 25.06,-28.09s34.96,-15.75 49.34,-7.57c5.61,3.19 8.32,5.1 8.32,5.1 0,0 3.32,-6.23 4.25,-10.41l-96.42,-34.2 -18.91,19Z" - android:strokeWidth="0" - android:fillColor="#353535"/> - <path - android:pathData="M272.32,280.04c-18.63,8.37 -20.32,38.01 -20.32,38.01 0,0 -3.4,-17.71 1.46,-38.89 3.71,-16.18 18.86,0.88 18.86,0.88Z" - android:strokeWidth="0" - android:fillColor="#353535"/> - <path - android:pathData="M257.2,254.45c-1.22,-37.35 42.17,-118.29 154.81,-117.03s189.82,94.7 152.69,182.93c0,0 -53.03,-16.4 -83.88,-29.58s-223.62,-36.32 -223.62,-36.32Z" - android:strokeWidth="0" - android:fillColor="#1e3684"/> - <path - android:pathData="M480.82,290.77s-34.9,22.38 -67.41,37.74c-7.6,3.59 -16.51,3.12 -23.65,-1.32 -29.73,-18.5 -124.7,-64.95 -199.22,-30.83 14.45,-12.84 38.86,-27.13 66.66,-41.91 21.48,-6.94 124.63,-20.51 223.62,36.32Z" - android:strokeWidth="0" - android:fillColor="#223077"/> - <path - android:pathData="M345.87,541.6c7.22,19.36 23.22,53.09 54.63,54.34s92.68,-34.75 96.45,-54.34c0,0 129.41,31.29 197.88,90.97s84.8,167.93 84.8,167.93H92.5s40.97,-157.62 158.34,-217.4c85.62,-43.61 95.03,-41.5 95.03,-41.5Z" - android:fillColor="#c5cdea"/> - <path - android:pathData="M321.02,560.64c6.37,20.87 21.25,39.01 40.48,49.33" - android:strokeWidth="3" - android:fillColor="#00000000" - android:strokeColor="#93a2c6"/> - <path - android:pathData="M389.17,616.68c42.36,2.03 85.27,-15.23 114.42,-46.03" - android:strokeWidth="3" - android:fillColor="#00000000" - android:strokeColor="#93a2c6"/> </vector> diff --git a/core/src/main/res/drawable/ic_terning_profile_03.xml b/core/src/main/res/drawable/ic_terning_profile_03.xml index fc45cad6a..25e878efb 100644 --- a/core/src/main/res/drawable/ic_terning_profile_03.xml +++ b/core/src/main/res/drawable/ic_terning_profile_03.xml @@ -1,131 +1,76 @@ <vector xmlns:android="http://schemas.android.com/apk/res/android" - android:width="800dp" - android:height="800dp" - android:viewportWidth="800" - android:viewportHeight="800"> - <path - android:pathData="M0.43,0h800v800h-800z" - android:strokeWidth="0" - android:fillColor="#e6edff"/> - <path - android:pathData="M345.77,146.31s-104.76,-14.92 -133.13,105.86c-15.28,65.05 -51.27,86.27 -45.35,131.43 5.92,45.16 23.73,59.96 38.67,91.39 9.15,19.25 -8.61,39.97 -8.61,39.97h37.48s8.88,-15.55 7.4,-31.83c0,0 8.14,19.99 5.92,31.83h300.56s-5.18,-12.58 0,-31.83c0,0 8.14,31.09 23.69,31.83 0,0 -10.36,-25.17 3.7,-48.86s42.94,-65.24 10.36,-139.22 -28.13,-130.98 -97.71,-177.62 -142.98,-2.96 -142.98,-2.96Z" - android:strokeWidth="0" - android:fillColor="#4f2c20"/> - <path - android:pathData="M343.38,544.65l163.72,2.06l-6.85,-21.94l-140.53,-2.05l-13.95,9.59l-2.39,12.34z" - android:strokeWidth="0" - android:fillColor="#eccef4"/> - <path - android:pathData="M263.84,317.25c-57.84,-1.02 -69.09,31.89 -66.02,62.61 3.07,30.71 36.85,54.1 81.38,42.33l-15.36,-104.93Z" - android:strokeWidth="0" - android:fillColor="#fec4b6"/> - <path - android:pathData="M486.51,431.86c-3.29,54.82 -18.64,92.65 4.39,107.46l23.03,14.8 -113.49,88.27s-65.24,-75.11 -64.14,-90.46c1.1,-15.35 26.21,-9.14 27.96,-26.32s0,-31.25 0,-31.25l106.91,-69.08 15.35,6.58Z" - android:fillColor="#fed6ca"/> + android:width="76dp" + android:height="76dp" + android:viewportWidth="76" + android:viewportHeight="76"> <group> <clip-path - android:pathData="M486.51,431.86c-3.29,54.82 -18.64,92.65 4.39,107.46l23.03,14.8 -113.49,88.27s-65.24,-75.11 -64.14,-90.46c1.1,-15.35 26.21,-9.14 27.96,-26.32s0,-31.25 0,-31.25l106.91,-69.08 15.35,6.58Z"/> + android:pathData="M38,0L38,0A38,38 0,0 1,76 38L76,38A38,38 0,0 1,38 76L38,76A38,38 0,0 1,0 38L0,38A38,38 0,0 1,38 0z"/> <path - android:pathData="M475.55,430.29c-12.83,45.46 -47.71,112.86 -142.55,107.38 -37.41,-2.16 17,-55.92 17,-55.92l125.56,-51.46Z" - android:strokeWidth="0" - android:fillColor="#fec4b5"/> + android:pathData="M76.209,0H0.209V76H76.209V0Z" + android:fillColor="#C5DEF2"/> + <path + android:pathData="M57.95,77.966L67.64,49.542C68.314,47.472 67.574,45.192 65.807,43.909L41.971,26.59C40.204,25.308 37.819,25.308 36.053,26.59L12.217,43.909C10.45,45.192 9.718,47.462 10.384,49.542L19.494,77.567C20.169,79.638 22.097,81.045 24.282,81.045H53.751" + android:fillColor="#ffffff"/> + <path + android:pathData="M57.95,77.966L67.64,49.542C68.314,47.472 67.574,45.192 65.807,43.909L41.971,26.59C40.204,25.308 37.819,25.308 36.053,26.59L12.217,43.909C10.45,45.192 9.718,47.462 10.384,49.542L19.494,77.567C20.169,79.638 22.097,81.045 24.282,81.045H53.751" + android:strokeWidth="1.425" + android:fillColor="#00000000" + android:strokeColor="#171717" + android:strokeLineCap="round"/> + <path + android:pathData="M31.663,53.447C31.663,53.779 31.616,54.131 31.502,54.416C31.388,54.701 31.036,54.872 30.808,55.1C30.58,55.328 30.409,55.623 30.105,55.746C29.801,55.869 29.488,55.841 29.155,55.841C28.823,55.841 28.509,55.822 28.224,55.699C27.939,55.575 27.654,55.395 27.426,55.167C27.198,54.938 26.999,54.682 26.875,54.378C26.752,54.074 26.638,53.761 26.638,53.438C26.638,53.114 26.837,52.811 26.961,52.526C27.084,52.241 27.274,52.003 27.502,51.775C27.73,51.547 27.939,51.319 28.234,51.195C28.528,51.072 28.832,51.072 29.165,51.072C29.497,51.072 29.801,51.082 30.086,51.205C30.371,51.328 30.647,51.509 30.875,51.728C31.103,51.946 31.293,52.212 31.416,52.507C31.54,52.801 31.682,53.105 31.682,53.438L31.663,53.447Z" + android:fillColor="#F9DBDE"/> + <path + android:pathData="M31.663,53.447C31.663,53.779 31.616,54.131 31.502,54.416C31.388,54.701 31.036,54.872 30.808,55.1C30.58,55.328 30.409,55.623 30.105,55.746C29.801,55.869 29.488,55.841 29.155,55.841C28.823,55.841 28.509,55.822 28.224,55.699C27.939,55.575 27.654,55.395 27.426,55.167C27.198,54.938 26.999,54.682 26.875,54.378C26.752,54.074 26.638,53.761 26.638,53.438C26.638,53.114 26.837,52.811 26.961,52.526C27.084,52.241 27.274,52.003 27.502,51.775C27.73,51.547 27.939,51.319 28.234,51.195C28.528,51.072 28.832,51.072 29.165,51.072C29.497,51.072 29.801,51.082 30.086,51.205C30.371,51.328 30.647,51.509 30.875,51.728C31.103,51.946 31.293,52.212 31.416,52.507C31.54,52.801 31.682,53.105 31.682,53.438L31.663,53.447Z" + android:strokeWidth="0.7315" + android:fillColor="#00000000" + android:strokeColor="#F9DBDE"/> + <path + android:pathData="M49.343,53.267C49.343,53.599 49.267,53.932 49.143,54.226C49.02,54.521 48.839,54.825 48.611,55.043C48.383,55.262 48.079,55.433 47.785,55.556C47.49,55.68 47.167,55.651 46.835,55.651C46.502,55.651 46.217,55.585 45.923,55.461C45.628,55.338 45.267,55.281 45.049,55.053C44.83,54.825 44.669,54.511 44.545,54.217C44.422,53.922 44.422,53.599 44.422,53.267C44.422,52.934 44.45,52.611 44.564,52.326C44.678,52.041 44.897,51.775 45.125,51.557C45.353,51.338 45.638,51.215 45.932,51.091C46.227,50.968 46.502,50.92 46.835,50.92C47.167,50.92 47.49,50.863 47.785,50.987C48.079,51.11 48.355,51.3 48.583,51.528C48.811,51.756 49.01,52.022 49.134,52.326C49.257,52.63 49.343,52.944 49.343,53.276V53.267Z" + android:fillColor="#F9DBDE"/> + <path + android:pathData="M49.343,53.267C49.343,53.599 49.267,53.932 49.143,54.226C49.02,54.521 48.839,54.825 48.611,55.043C48.383,55.262 48.079,55.433 47.785,55.556C47.49,55.68 47.167,55.651 46.835,55.651C46.502,55.651 46.217,55.585 45.923,55.461C45.628,55.338 45.267,55.281 45.049,55.053C44.83,54.825 44.669,54.511 44.545,54.217C44.422,53.922 44.422,53.599 44.422,53.267C44.422,52.934 44.45,52.611 44.564,52.326C44.678,52.041 44.897,51.775 45.125,51.557C45.353,51.338 45.638,51.215 45.932,51.091C46.227,50.968 46.502,50.92 46.835,50.92C47.167,50.92 47.49,50.863 47.785,50.987C48.079,51.11 48.355,51.3 48.583,51.528C48.811,51.756 49.01,52.022 49.134,52.326C49.257,52.63 49.343,52.944 49.343,53.276V53.267Z" + android:strokeWidth="0.7315" + android:fillColor="#00000000" + android:strokeColor="#F9DBDE"/> + <path + android:pathData="M34.818,52.497C35.384,52.497 35.843,51.791 35.843,50.92C35.843,50.049 35.384,49.343 34.818,49.343C34.251,49.343 33.792,50.049 33.792,50.92C33.792,51.791 34.251,52.497 34.818,52.497Z" + android:fillColor="#171717"/> + <path + android:pathData="M41.182,52.497C41.749,52.497 42.208,51.791 42.208,50.92C42.208,50.049 41.749,49.343 41.182,49.343C40.616,49.343 40.157,50.049 40.157,50.92C40.157,51.791 40.616,52.497 41.182,52.497Z" + android:fillColor="#171717"/> + <path + android:pathData="M36.176,53.713H39.919C39.919,53.713 39.32,55.432 38.048,55.432C36.775,55.432 36.176,53.713 36.176,53.713Z" + android:strokeLineJoin="round" + android:strokeWidth="0.95" + android:fillColor="#7A1C2A" + android:strokeColor="#171717" + android:strokeLineCap="round"/> + <path + android:pathData="M31.749,55.879C34.724,55.879 37.136,53.467 37.136,50.493C37.136,47.518 34.724,45.106 31.749,45.106C28.774,45.106 26.362,47.518 26.362,50.493C26.362,53.467 28.774,55.879 31.749,55.879Z" + android:strokeWidth="1.235" + android:fillColor="#00000000" + android:strokeColor="#D6D6D6"/> + <path + android:pathData="M44.251,55.879C47.226,55.879 49.638,53.467 49.638,50.493C49.638,47.518 47.226,45.106 44.251,45.106C41.276,45.106 38.864,47.518 38.864,50.493C38.864,53.467 41.276,55.879 44.251,55.879Z" + android:strokeWidth="1.235" + android:fillColor="#00000000" + android:strokeColor="#D6D6D6"/> + <path + android:pathData="M37.079,49.657C37.079,49.657 37.858,49.201 38.931,49.657" + android:strokeWidth="1.235" + android:fillColor="#00000000" + android:strokeColor="#D6D6D6"/> + <path + android:pathData="M37.506,63.441H38.598C38.988,63.441 39.32,63.707 39.396,64.077L41.762,75.8C41.828,76.199 41.705,76.608 41.42,76.902L39.016,79.372C38.503,79.895 37.648,79.914 37.126,79.401L34.618,76.978C34.314,76.684 34.171,76.256 34.247,75.838L36.717,64.077C36.793,63.707 37.126,63.441 37.515,63.441H37.506Z" + android:strokeWidth="1.425" + android:fillColor="#40A56B" + android:strokeColor="#171717"/> + <path + android:pathData="M39.168,63.907H36.955C36.518,63.907 36.147,63.603 36.053,63.185L35.54,60.952C35.407,60.373 35.853,59.812 36.442,59.812H39.701C40.299,59.812 40.745,60.373 40.603,60.952L40.071,63.185C39.976,63.603 39.596,63.897 39.168,63.897V63.907Z" + android:strokeWidth="1.425" + android:fillColor="#40A56B" + android:strokeColor="#171717"/> </group> - <path - android:pathData="M251.94,308.52c0,69.79 28.64,198.93 112.73,200.41 51,0.89 102.89,-48.31 118.99,-76.05 0,0 80.52,22.37 96.63,-39.37s-45.63,-100.2 -81.42,-59.94c0,0 -42.05,-134.2 -125.26,-134.2s-121.68,109.15 -121.68,109.15Z" - android:strokeWidth="0" - android:fillColor="#fed6ca"/> - <path - android:pathData="M296.16,389.07m-23.91,0a23.91,23.91 0,1 1,47.82 0a23.91,23.91 0,1 1,-47.82 0" - android:strokeWidth="0" - android:fillColor="#ffc0c0"/> - <path - android:pathData="M409.87,389.07m-23.91,0a23.91,23.91 0,1 1,47.82 0a23.91,23.91 0,1 1,-47.82 0" - android:strokeWidth="0" - android:fillColor="#ffc0c0"/> - <path - android:pathData="M324.12,320.22s-24.5,-2.76 -41.93,6.67" - android:strokeWidth="7" - android:fillColor="#00000000" - android:strokeColor="#4f2c20" - android:strokeLineCap="round"/> - <path - android:pathData="M375.6,320.91s24.29,-4.22 42.25,4.15" - android:strokeWidth="7" - android:fillColor="#00000000" - android:strokeColor="#4f2c20" - android:strokeLineCap="round"/> - <path - android:pathData="M316.29,354.69c-5.28,-0.09 -10.58,-2.11 -13.99,-6.21 -0.27,-0.31 -0.25,-0.79 0.07,-1.06 0.29,-0.26 0.73,-0.25 1.01,0.02 0.86,0.82 1.75,1.62 2.78,2.21 2.94,1.79 6.64,2.55 10.03,2.32 1.86,-0.11 1.97,2.69 0.1,2.72h0Z" - android:strokeWidth="0" - android:fillColor="#191314"/> - <path - android:pathData="M389.77,354.69c-4.03,-0.03 -7.93,-1.11 -11.22,-3.41 -1.1,-0.73 -2.04,-1.69 -2.93,-2.66 -0.36,-0.39 -0.33,-1 0.07,-1.35 0.4,-0.37 1.02,-0.32 1.37,0.08 1.61,1.66 3.58,2.92 5.78,3.65 2.14,0.74 4.62,1.11 6.84,0.97 1.83,-0.08 1.94,2.67 0.1,2.72h0Z" - android:strokeWidth="0" - android:fillColor="#191314"/> - <path - android:pathData="M307.7,363.44a9.21,11.57 0,1 0,18.42 0a9.21,11.57 0,1 0,-18.42 0z" - android:strokeWidth="0" - android:fillColor="#191314"/> - <path - android:pathData="M381.38,363.44a9.21,11.57 0,1 0,18.42 0a9.21,11.57 0,1 0,-18.42 0z" - android:strokeWidth="0" - android:fillColor="#191314"/> - <path - android:pathData="M345.77,260.65s-27.2,-34.43 -54.98,24.85c-18.54,39.55 -35.56,51.98 -63.26,77.93s-24.85,69.69 -4.52,88.51c0,0 -51.97,-37.13 -42.18,-80.7s47.11,-69.17 57.45,-74.45 33.98,-79.08 33.98,-79.08l53.87,-31.63 19.65,74.56Z" - android:strokeWidth="0" - android:fillColor="#4f2c20"/> - <path - android:pathData="M345.77,260.65s12.95,-27.11 43.92,-7.02 7.06,77.72 95.08,94.35c0,0 11.3,-14.67 26.22,-24.61s-15.22,-69.26 -15.22,-69.26l-90.41,-64.1 -43.05,-3.92h-36.18l19.65,74.56Z" - android:strokeWidth="0" - android:fillColor="#4f2c20"/> - <path - android:pathData="M481.42,528.03c8.75,9.15 -78.07,93.99 -80.55,93.6l95.49,-80.94s-8.71,0.86 -14.94,-12.66" - android:strokeWidth="0" - android:fillColor="#fec4b5"/> - <path - android:pathData="M316.21,559.14c-39.29,6.57 -136.61,69.02 -161.54,120.43 -32.58,67.18 -51.76,120.43 -51.76,120.43h640.57s-28.09,-143.28 -135.22,-207.56c-55.32,-33.19 -60.05,-33.3 -60.05,-33.3l-93.11,62.49 -27.83,-11.05s-17.89,3.49 -26.4,11.05 0,0 0,0c0,0 -12.31,-9.88 -25.58,-18.96s-59.08,-43.53 -59.08,-43.53Z" - android:strokeWidth="0" - android:fillColor="#fcfafc"/> - <path - android:pathData="M403.59,651.09s30.47,-23.1 47.75,-36.97" - android:strokeWidth="8" - android:fillColor="#00000000" - android:strokeColor="#da63e0"/> - <path - android:pathData="M394.22,649s-28.89,-25.05 -45.23,-40.01" - android:strokeWidth="8" - android:fillColor="#00000000" - android:strokeColor="#da63e0"/> - <path - android:pathData="M395.71,656.66s-42,101.56 -35.31,143.34" - android:strokeWidth="8" - android:fillColor="#00000000" - android:strokeColor="#da63e0"/> - <path - android:pathData="M400.43,656.66s36.91,64.01 42.86,143.34" - android:strokeWidth="8" - android:fillColor="#00000000" - android:strokeColor="#da63e0"/> - <path - android:pathData="M392.75,654.56s-72.71,66.05 -36.87,97.8 36.87,-97.8 36.87,-97.8Z" - android:strokeWidth="8" - android:fillColor="#00000000" - android:strokeColor="#f078f4"/> - <path - android:pathData="M404.07,654.56s72.71,66.05 36.87,97.8c-35.84,31.75 -36.87,-97.8 -36.87,-97.8Z" - android:strokeWidth="8" - android:fillColor="#00000000" - android:strokeColor="#f078f4"/> - <path - android:pathData="M399.02,654.56m-11.27,0a11.27,11.27 0,1 1,22.54 0a11.27,11.27 0,1 1,-22.54 0" - android:strokeWidth="0" - android:fillColor="#f078f4"/> - <path - android:pathData="M400.87,621.63s-43.04,-40.48 -47.98,-63.82c-4.94,-23.34 3.79,-26.23 11.37,-32.2l0.55,-7.09s-19.05,1.22 -38,15.31 -40.91,19.03 -40.91,19.03l31.98,71.47c5.54,12.38 21.4,16.24 31.84,7.59 13.71,-11.36 32.84,-21.22 51.15,-10.29" - android:strokeWidth="0" - android:fillColor="#fff5ff"/> - <path - android:pathData="M400.87,621.63s23.46,-19.12 61.04,20.89c7.98,8.49 21.43,8.66 29.64,0.39 21.02,-21.16 57.72,-58.19 78.63,-79.72 0,0 -35.69,-22.01 -56.25,-39.86 -11.19,-6.8 -27.17,-7.88 -35.35,-6.23 -0.02,6.8 -0.02,1.89 2.85,10.93 0,0 15.61,1.06 9.48,11.28 -8.77,14.61 -75.95,69.86 -90.03,82.31Z" - android:strokeWidth="0" - android:fillColor="#fff5ff"/> </vector> diff --git a/core/src/main/res/drawable/ic_terning_profile_04.xml b/core/src/main/res/drawable/ic_terning_profile_04.xml index 228909ea8..8b27c5c6c 100644 --- a/core/src/main/res/drawable/ic_terning_profile_04.xml +++ b/core/src/main/res/drawable/ic_terning_profile_04.xml @@ -1,150 +1,74 @@ <vector xmlns:android="http://schemas.android.com/apk/res/android" - android:width="800dp" - android:height="800dp" - android:viewportWidth="800" - android:viewportHeight="800"> + android:width="76dp" + android:height="76dp" + android:viewportWidth="76" + android:viewportHeight="76"> <path - android:pathData="M0,0h800v800h-800z" - android:strokeWidth="0" - android:fillColor="#d2f2ff"/> + android:pathData="M76,0H0V76H76V0Z" + android:fillColor="#E9F1E4"/> <path - android:pathData="M238.07,321.43c-7.59,-25.82 -24.01,-153.8 118.81,-181.66s205.15,105.03 199,157.35c-4.28,36.45 -9.52,50.86 -9.52,50.86l-47.93,-14.41 -62.52,-112.99 -86.52,-31.12 -82.78,70.33 -8.71,60.06 -19.83,1.58Z" - android:strokeWidth="0" - android:fillColor="#292021"/> - <path - android:pathData="M564,377.26c12.46,-0.38 64.51,13.91 52.88,71.01 -4.15,20.4 -25.6,27.57 -25.6,27.57 0,0 -32.19,41.17 -72.6,15.11s-36.7,-36.64 -34.21,-69.87 79.54,-43.81 79.54,-43.81Z" - android:strokeWidth="0" - android:fillColor="#292021"/> - <path - android:pathData="M194.1,382.88a52.26,74.12 0,1 0,104.52 0a52.26,74.12 0,1 0,-104.52 0z" - android:strokeWidth="0" - android:fillColor="#cecece"/> - <path - android:pathData="M216.91,382.88a54.91,74.12 0,1 0,109.82 0a54.91,74.12 0,1 0,-109.82 0z" - android:strokeWidth="0" - android:fillColor="#8e8e8e"/> - <path - android:pathData="M293.11,568.29c11.01,-11.67 15.89,-27.36 38.85,-36.05 10.37,-3.93 15.1,-18.01 38.98,-19.76 22.81,-1.67 108.75,-5.5 146.84,5.89s34.64,14.44 38.52,22.53 2.31,10.62 16.45,18.58 73.04,18.08 82.74,69.32c7.9,41.73 -147.85,26.98 -147.85,26.98l-190.09,-16.88 -30.72,-66.44" - android:strokeWidth="0" - android:fillColor="#f9f4dc"/> - <path - android:pathData="M486.08,431.86c-3.29,54.82 -18.64,92.65 4.39,107.46l23.03,14.8 -113.49,88.27s-65.24,-75.11 -64.14,-90.46c1.1,-15.35 26.21,-9.14 27.96,-26.32s0,-31.25 0,-31.25l106.91,-69.08 15.35,6.58Z" - android:fillColor="#fed6ca"/> - <group> - <clip-path - android:pathData="M486.08,431.86c-3.29,54.82 -18.64,92.65 4.39,107.46l23.03,14.8 -113.49,88.27s-65.24,-75.11 -64.14,-90.46c1.1,-15.35 26.21,-9.14 27.96,-26.32s0,-31.25 0,-31.25l106.91,-69.08 15.35,6.58Z"/> - <path - android:pathData="M475.12,430.29c-12.83,45.46 -47.71,112.86 -142.55,107.38 -37.41,-2.16 17,-55.92 17,-55.92l125.56,-51.46Z" - android:strokeWidth="0" - android:fillColor="#fec4b5"/> - </group> - <path - android:pathData="M250.71,351.87c-4.37,31.25 -42.74,153.58 47.91,157.06 0,0 -71.57,-10.23 -19.86,-114.6 51.71,-104.36 -26.32,-62.68 -26.32,-62.68 0,0 0.4,-1.89 -0.93,10.71" - android:strokeWidth="0" - android:fillColor="#292021"/> - <path - android:pathData="M251.5,308.52c0,69.79 28.64,198.93 112.73,200.41 51,0.89 102.89,-48.31 118.99,-76.05 0,0 80.52,22.37 96.63,-39.37s-45.63,-100.2 -81.42,-59.94c0,0 -42.05,-134.2 -125.26,-134.2s-121.68,109.15 -121.68,109.15Z" - android:strokeWidth="0" - android:fillColor="#fed6ca"/> - <path - android:pathData="M295.72,389.07m-23.91,0a23.91,23.91 0,1 1,47.82 0a23.91,23.91 0,1 1,-47.82 0" - android:strokeWidth="0" - android:fillColor="#ffc0c0"/> - <path - android:pathData="M409.43,389.07m-23.91,0a23.91,23.91 0,1 1,47.82 0a23.91,23.91 0,1 1,-47.82 0" - android:strokeWidth="0" - android:fillColor="#ffc0c0"/> - <path - android:pathData="M315.86,354.69c-5.28,-0.09 -10.58,-2.11 -13.99,-6.21 -0.27,-0.31 -0.25,-0.79 0.07,-1.06 0.29,-0.26 0.73,-0.25 1.01,0.02 0.86,0.82 1.75,1.62 2.78,2.21 2.94,1.79 6.64,2.55 10.03,2.32 1.86,-0.11 1.97,2.69 0.1,2.72h0Z" - android:strokeWidth="0" - android:fillColor="#191314"/> - <path - android:pathData="M389.34,354.69c-4.03,-0.03 -7.93,-1.11 -11.22,-3.41 -1.1,-0.73 -2.04,-1.69 -2.93,-2.66 -0.36,-0.39 -0.33,-1 0.07,-1.35 0.4,-0.37 1.02,-0.32 1.37,0.08 1.61,1.66 3.58,2.92 5.78,3.65 2.14,0.74 4.62,1.11 6.84,0.97 1.83,-0.08 1.94,2.67 0.1,2.72h0Z" - android:strokeWidth="0" - android:fillColor="#191314"/> - <path - android:pathData="M307.27,363.44a9.21,11.57 0,1 0,18.42 0a9.21,11.57 0,1 0,-18.42 0z" - android:strokeWidth="0" - android:fillColor="#191314"/> - <path - android:pathData="M380.95,363.44a9.21,11.57 0,1 0,18.42 0a9.21,11.57 0,1 0,-18.42 0z" - android:strokeWidth="0" - android:fillColor="#191314"/> - <path - android:pathData="M412.15,618.97c23.28,-19.99 84.42,-66.08 80.76,-78.08l9.25,5.49s-14.69,58.67 -90.01,72.59" - android:strokeWidth="0" - android:fillColor="#fec4b5"/> - <path - android:pathData="M323.69,223.87s-24.24,87.19 12.16,108.27h93.38s-19.38,-34.19 -7.98,-102c0,0 -1.21,71.37 34.76,102l42.43,1.43 -21.41,-109.7 -128.01,-51.32 -103.46,92.88s-11.81,30.63 6.88,66.23h63.34s-29.47,-18.54 7.91,-107.79Z" - android:strokeWidth="0" - android:fillColor="#292021"/> - <path - android:pathData="M479.86,323.44c-2.14,20.29 -15.7,85.74 -18.3,110.05 -2.11,19.73 7.51,52.58 46.07,66.11 0,0 -41.57,-15.02 -25.63,-74.31 13.19,-49.09 22.25,-70.54 22.67,-100.22s-24.81,-1.62 -24.81,-1.62Z" - android:strokeWidth="0" - android:fillColor="#292021"/> - <path - android:pathData="M484.46,382.88a54.91,74.12 0,1 0,109.82 0a54.91,74.12 0,1 0,-109.82 0z" - android:strokeWidth="0" - android:fillColor="#8e8e8e"/> - <path - android:pathData="M504.04,382.88a52.26,74.12 0,1 0,104.52 0a52.26,74.12 0,1 0,-104.52 0z" - android:strokeWidth="0" - android:fillColor="#cecece"/> + android:pathData="M64.676,32.956H11.324V85.035H64.676V32.956Z" + android:strokeLineJoin="round" + android:strokeWidth="1.425" + android:fillColor="#ffffff" + android:strokeColor="#171717" + android:strokeLineCap="round"/> <path - android:pathData="M541.73,313.47l18.37,-4.71s0.93,-6.59 0,-19.22l-18.98,1.94s1.69,8.72 0.61,21.98Z" - android:strokeWidth="0" - android:fillColor="#474747"/> + android:pathData="M31.663,53.447C31.663,53.779 31.616,54.131 31.502,54.416C31.388,54.701 31.036,54.872 30.808,55.1C30.58,55.328 30.409,55.623 30.105,55.746C29.801,55.869 29.488,55.841 29.155,55.841C28.823,55.841 28.509,55.822 28.224,55.699C27.939,55.575 27.654,55.395 27.426,55.167C27.198,54.938 26.999,54.682 26.875,54.378C26.752,54.074 26.638,53.761 26.638,53.438C26.638,53.114 26.837,52.811 26.961,52.526C27.084,52.241 27.274,52.003 27.502,51.775C27.73,51.547 27.939,51.319 28.234,51.195C28.528,51.072 28.832,51.072 29.165,51.072C29.497,51.072 29.801,51.082 30.086,51.205C30.371,51.328 30.647,51.509 30.875,51.728C31.103,51.946 31.293,52.212 31.416,52.507C31.54,52.801 31.682,53.105 31.682,53.438L31.663,53.447Z" + android:fillColor="#F9DBDE"/> <path - android:pathData="M504.04,382.88a52.26,74.12 0,1 0,104.52 0a52.26,74.12 0,1 0,-104.52 0z" - android:strokeWidth="0" - android:fillColor="#cecece"/> + android:pathData="M31.663,53.447C31.663,53.779 31.616,54.131 31.502,54.416C31.388,54.701 31.036,54.872 30.808,55.1C30.58,55.328 30.409,55.623 30.105,55.746C29.801,55.869 29.488,55.841 29.155,55.841C28.823,55.841 28.509,55.822 28.224,55.699C27.939,55.575 27.654,55.395 27.426,55.167C27.198,54.938 26.999,54.682 26.875,54.378C26.752,54.074 26.638,53.761 26.638,53.438C26.638,53.114 26.837,52.811 26.961,52.526C27.084,52.241 27.274,52.003 27.502,51.775C27.73,51.547 27.939,51.319 28.234,51.195C28.528,51.072 28.832,51.072 29.165,51.072C29.497,51.072 29.801,51.082 30.086,51.205C30.371,51.328 30.647,51.509 30.875,51.728C31.103,51.946 31.293,52.212 31.416,52.507C31.54,52.801 31.682,53.105 31.682,53.438L31.663,53.447Z" + android:strokeWidth="0.7315" + android:fillColor="#00000000" + android:strokeColor="#F9DBDE"/> <path - android:pathData="M550.81,294.88c-13.89,4.73 -19.54,5.09 -26.33,-24.2s-30.71,-95.83 -91.14,-116.42c-67,-22.83 -93.06,-10.61 -93.06,-10.61 0,0 44.11,-24.68 125.51,-1.43 80.32,22.94 106.99,123.97 107.08,142.27 0.05,8.91 -12.7,7.22 -22.06,10.4Z" - android:strokeWidth="0" - android:fillColor="#cecece"/> + android:pathData="M49.343,53.267C49.343,53.599 49.267,53.932 49.143,54.226C49.02,54.521 48.839,54.825 48.611,55.043C48.383,55.262 48.079,55.433 47.785,55.556C47.49,55.68 47.167,55.651 46.835,55.651C46.502,55.651 46.217,55.585 45.923,55.461C45.628,55.338 45.267,55.281 45.049,55.053C44.83,54.825 44.669,54.511 44.545,54.217C44.422,53.922 44.422,53.599 44.422,53.267C44.422,52.934 44.45,52.611 44.564,52.326C44.678,52.041 44.897,51.775 45.125,51.557C45.353,51.338 45.638,51.215 45.932,51.091C46.227,50.968 46.502,50.92 46.835,50.92C47.167,50.92 47.49,50.863 47.785,50.987C48.079,51.11 48.355,51.3 48.583,51.528C48.811,51.756 49.01,52.022 49.134,52.326C49.257,52.63 49.343,52.944 49.343,53.276V53.267Z" + android:fillColor="#F9DBDE"/> <path - android:pathData="M323.69,320.22s-24.5,-2.76 -41.93,6.67" - android:strokeWidth="7" + android:pathData="M49.343,53.267C49.343,53.599 49.267,53.932 49.143,54.226C49.02,54.521 48.839,54.825 48.611,55.043C48.383,55.262 48.079,55.433 47.785,55.556C47.49,55.68 47.167,55.651 46.835,55.651C46.502,55.651 46.217,55.585 45.923,55.461C45.628,55.338 45.267,55.281 45.049,55.053C44.83,54.825 44.669,54.511 44.545,54.217C44.422,53.922 44.422,53.599 44.422,53.267C44.422,52.934 44.45,52.611 44.564,52.326C44.678,52.041 44.897,51.775 45.125,51.557C45.353,51.338 45.638,51.215 45.932,51.091C46.227,50.968 46.502,50.92 46.835,50.92C47.167,50.92 47.49,50.863 47.785,50.987C48.079,51.11 48.355,51.3 48.583,51.528C48.811,51.756 49.01,52.022 49.134,52.326C49.257,52.63 49.343,52.944 49.343,53.276V53.267Z" + android:strokeWidth="0.7315" android:fillColor="#00000000" - android:strokeColor="#191314" - android:strokeLineCap="round"/> + android:strokeColor="#F9DBDE"/> <path - android:pathData="M375.17,320.91s24.29,-4.22 42.25,4.15" - android:strokeWidth="7" - android:fillColor="#00000000" - android:strokeColor="#191314" - android:strokeLineCap="round"/> + android:pathData="M37.506,63.441H38.598C38.988,63.441 39.32,63.707 39.396,64.077L41.762,75.8C41.828,76.199 41.705,76.608 41.42,76.902L39.016,79.372C38.503,79.895 37.648,79.914 37.126,79.401L34.618,76.978C34.314,76.684 34.171,76.256 34.247,75.838L36.717,64.077C36.793,63.707 37.126,63.441 37.515,63.441H37.506Z" + android:strokeWidth="1.425" + android:fillColor="#A6B7FF" + android:strokeColor="#171717"/> <path - android:pathData="M345.36,540.89c4.23,21.49 32.13,53.48 66.79,78.08 0,0 92.06,-55.16 86.28,-74.53 0,0 182.38,21.37 259.44,255.56H125.13s0,-157.62 220.23,-259.11Z" - android:strokeWidth="0" - android:fillColor="#f9f4dc"/> + android:pathData="M39.168,63.907H36.955C36.518,63.907 36.147,63.603 36.053,63.185L35.54,60.952C35.407,60.373 35.853,59.812 36.442,59.812H39.701C40.299,59.812 40.745,60.373 40.603,60.952L40.071,63.185C39.976,63.603 39.596,63.897 39.168,63.897V63.907Z" + android:strokeWidth="1.425" + android:fillColor="#A6B7FF" + android:strokeColor="#171717"/> <path - android:pathData="M353.15,634.15s4.39,-6.22 9.87,-4.45 5.94,9.3 5.94,9.3c0,0 -11.34,48.16 -7.91,161h-15.77s-5.67,-73.85 7.86,-165.85Z" - android:strokeWidth="0" - android:fillColor="#efe2ac"/> + android:pathData="M34.818,52.497C35.384,52.497 35.843,51.791 35.843,50.92C35.843,50.049 35.384,49.343 34.818,49.343C34.251,49.343 33.792,50.049 33.792,50.92C33.792,51.791 34.251,52.497 34.818,52.497Z" + android:fillColor="#171717"/> <path - android:pathData="M458.94,634.15s4.39,-6.22 9.87,-4.45 5.94,9.3 5.94,9.3c0,0 -11.34,48.16 -7.91,161h-15.77s-5.67,-73.85 7.86,-165.85Z" - android:strokeWidth="0" - android:fillColor="#efe2ac"/> + android:pathData="M41.182,52.497C41.749,52.497 42.208,51.791 42.208,50.92C42.208,50.049 41.749,49.343 41.182,49.343C40.616,49.343 40.157,50.049 40.157,50.92C40.157,51.791 40.616,52.497 41.182,52.497Z" + android:fillColor="#171717"/> <path - android:pathData="M330.87,559.52c6.06,16.86 15.68,32.43 28.04,45.4" + android:pathData="M36.176,53.713H39.919C39.919,53.713 39.32,55.432 38.048,55.432C36.775,55.432 36.176,53.713 36.176,53.713Z" android:strokeLineJoin="round" - android:strokeWidth="3" - android:fillColor="#00000000" - android:strokeColor="#efe2ac" + android:strokeWidth="0.95" + android:fillColor="#7A1C2A" + android:strokeColor="#171717" android:strokeLineCap="round"/> <path - android:pathData="M518.11,562.15c-11.36,15.91 -26.03,29.46 -42.79,39.53" + android:pathData="M14.62,27.541H61.37C63.194,27.541 64.666,29.022 64.666,30.837V41.857H11.324V30.837C11.324,29.013 12.806,27.541 14.62,27.541Z" + android:strokeWidth="1.425" + android:fillColor="#40A56B" + android:strokeColor="#171717"/> + <path + android:pathData="M25.906,24.463C25.906,23.319 24.979,22.392 23.835,22.392C22.692,22.392 21.764,23.319 21.764,24.463V29.735C21.764,30.879 22.692,31.806 23.835,31.806C24.979,31.806 25.906,30.879 25.906,29.735V24.463Z" android:strokeLineJoin="round" - android:strokeWidth="3" - android:fillColor="#00000000" - android:strokeColor="#efe2ac" + android:strokeWidth="1.425" + android:fillColor="#C9C9C9" + android:strokeColor="#171717" android:strokeLineCap="round"/> <path - android:pathData="M567.94,584.4c16.46,3.53 33.26,7.2 47.71,15.84 3.75,2.24 7.31,4.8 10.86,7.35 7.88,5.67 15.76,11.34 23.64,17.01" + android:pathData="M54.397,24.463C54.397,23.319 53.47,22.392 52.326,22.392C51.182,22.392 50.255,23.319 50.255,24.463V29.735C50.255,30.879 51.182,31.806 52.326,31.806C53.47,31.806 54.397,30.879 54.397,29.735V24.463Z" android:strokeLineJoin="round" - android:strokeWidth="3" - android:fillColor="#00000000" - android:strokeColor="#efe2ac" + android:strokeWidth="1.425" + android:fillColor="#C9C9C9" + android:strokeColor="#171717" android:strokeLineCap="round"/> </vector> diff --git a/core/src/main/res/drawable/ic_terning_profile_05.xml b/core/src/main/res/drawable/ic_terning_profile_05.xml index 2d21f7990..9a32c789e 100644 --- a/core/src/main/res/drawable/ic_terning_profile_05.xml +++ b/core/src/main/res/drawable/ic_terning_profile_05.xml @@ -1,111 +1,73 @@ <vector xmlns:android="http://schemas.android.com/apk/res/android" - android:width="800dp" - android:height="800dp" - android:viewportWidth="800" - android:viewportHeight="800"> - <path - android:pathData="M0,-0.23h800v800h-800z" - android:strokeWidth="0" - android:fillColor="#f5f9e5"/> - <path - android:pathData="M367.51,150.6s-145.77,-20.32 -165.11,162.5c-5.48,51.84 -35.55,43.26 -36.37,86.67s22.94,36.19 30.88,71.42 -32.32,29.09 -38.78,69.48c-5.04,31.47 33.43,50.5 23.59,79.17s-34.99,11.62 -49.95,56.61c-11.38,34.21 15.68,45.49 8.83,69.01 -4.81,16.52 -33.69,21.19 -33.69,54.77l656.15,-0.47c-0.82,-23.75 -30.98,-21.03 -38.37,-61.12 -4.22,-22.91 15.72,-39.56 -2.17,-71.95 -17.25,-31.23 -48.45,-14.82 -67.15,-62.95 -11.13,-28.64 27.05,-45.54 18.95,-78.97 -10.33,-42.63 -46.37,-25.18 -50.47,-64.5 -4.1,-39.32 25.81,-36.64 21,-71.42 -6.34,-45.85 -44.05,-41.09 -48.46,-85.57 -4.77,-48.15 -69.98,-225.57 -228.89,-152.67Z" - android:strokeWidth="0" - android:fillColor="#ffe3a4"/> - <path - android:pathData="M263.4,317.02c-57.84,-1.02 -69.09,31.89 -66.02,62.61 3.07,30.71 36.85,54.1 81.38,42.33l-15.36,-104.93Z" - android:strokeWidth="0" - android:fillColor="#fec4b6"/> - <path - android:pathData="M486.08,431.63c-3.29,54.82 -18.64,92.65 4.39,107.46l23.03,14.8 -100.2,171.06s-78.53,-157.9 -77.43,-173.25c1.1,-15.35 26.21,-9.14 27.96,-26.32s0,-31.25 0,-31.25l106.91,-69.08 15.35,6.58Z" - android:fillColor="#fed6ca"/> + android:width="76dp" + android:height="76dp" + android:viewportWidth="76" + android:viewportHeight="76"> <group> <clip-path - android:pathData="M486.08,431.63c-3.29,54.82 -18.64,92.65 4.39,107.46l23.03,14.8 -100.2,171.06s-78.53,-157.9 -77.43,-173.25c1.1,-15.35 26.21,-9.14 27.96,-26.32s0,-31.25 0,-31.25l106.91,-69.08 15.35,6.58Z"/> + android:pathData="M38,0L38,0A38,38 0,0 1,76 38L76,38A38,38 0,0 1,38 76L38,76A38,38 0,0 1,0 38L0,38A38,38 0,0 1,38 0z"/> <path - android:pathData="M475.12,430.07c-12.83,45.46 -47.71,112.86 -142.55,107.38 -37.41,-2.16 17,-55.92 17,-55.92l125.56,-51.46Z" - android:strokeWidth="0" - android:fillColor="#fec4b5"/> + android:pathData="M76,0H0V76H76V0Z" + android:fillColor="#E6FFF6"/> + <path + android:pathData="M21.67,80.085C21.67,80.085 7.448,75.553 12.986,55.432C16.653,42.113 12.797,39.083 10.915,36.869C10.915,36.869 18.041,37.876 20.188,43.662C22.334,49.447 29.194,43.662 26.913,35.055C24.633,26.448 38.741,20.805 38.741,20.805C38.741,20.805 36.319,30.751 42.104,31.825C47.889,32.898 50.303,27.122 50.303,27.122C50.303,27.122 47.376,41.211 54.891,41.781C60.867,42.227 64.477,37.382 64.477,37.382C64.477,37.382 59.251,45.296 63.08,54.463C68.941,68.514 59.451,79.154 56.221,80.094H21.67V80.085Z" + android:strokeLineJoin="round" + android:strokeWidth="1.425" + android:fillColor="#FF6969" + android:strokeColor="#000000" + android:strokeLineCap="round"/> + <path + android:pathData="M37.506,63.441H38.598C38.988,63.441 39.32,63.707 39.396,64.077L41.762,75.8C41.828,76.199 41.705,76.608 41.42,76.902L39.016,79.372C38.503,79.895 37.648,79.914 37.126,79.401L34.618,76.978C34.314,76.684 34.171,76.256 34.247,75.838L36.717,64.077C36.793,63.707 37.126,63.441 37.515,63.441H37.506Z" + android:strokeWidth="1.425" + android:fillColor="#40A56B" + android:strokeColor="#171717"/> + <path + android:pathData="M39.168,63.907H36.955C36.518,63.907 36.147,63.603 36.053,63.185L35.54,60.952C35.407,60.373 35.853,59.812 36.442,59.812H39.701C40.299,59.812 40.745,60.373 40.603,60.952L40.071,63.185C39.976,63.603 39.596,63.897 39.168,63.897V63.907Z" + android:strokeWidth="1.425" + android:fillColor="#40A56B" + android:strokeColor="#171717"/> + <path + android:pathData="M31.663,53.447C31.663,53.779 31.616,54.131 31.502,54.416C31.388,54.701 31.036,54.872 30.808,55.1C30.58,55.328 30.409,55.623 30.105,55.746C29.801,55.869 29.488,55.841 29.155,55.841C28.823,55.841 28.509,55.822 28.224,55.699C27.939,55.575 27.654,55.395 27.426,55.167C27.198,54.938 26.999,54.682 26.875,54.378C26.752,54.074 26.638,53.761 26.638,53.438C26.638,53.114 26.837,52.811 26.961,52.526C27.084,52.241 27.274,52.003 27.502,51.775C27.73,51.547 27.939,51.319 28.234,51.195C28.528,51.072 28.832,51.072 29.165,51.072C29.497,51.072 29.801,51.082 30.086,51.205C30.371,51.328 30.647,51.509 30.875,51.728C31.103,51.946 31.293,52.212 31.416,52.507C31.54,52.801 31.682,53.105 31.682,53.438L31.663,53.447Z" + android:fillColor="#F9DBDE"/> + <path + android:pathData="M31.663,53.447C31.663,53.779 31.616,54.131 31.502,54.416C31.388,54.701 31.036,54.872 30.808,55.1C30.58,55.328 30.409,55.623 30.105,55.746C29.801,55.869 29.488,55.841 29.155,55.841C28.823,55.841 28.509,55.822 28.224,55.699C27.939,55.575 27.654,55.395 27.426,55.167C27.198,54.938 26.999,54.682 26.875,54.378C26.752,54.074 26.638,53.761 26.638,53.438C26.638,53.114 26.837,52.811 26.961,52.526C27.084,52.241 27.274,52.003 27.502,51.775C27.73,51.547 27.939,51.319 28.234,51.195C28.528,51.072 28.832,51.072 29.165,51.072C29.497,51.072 29.801,51.082 30.086,51.205C30.371,51.328 30.647,51.509 30.875,51.728C31.103,51.946 31.293,52.212 31.416,52.507C31.54,52.801 31.682,53.105 31.682,53.438L31.663,53.447Z" + android:strokeWidth="0.7315" + android:fillColor="#00000000" + android:strokeColor="#F9DBDE"/> + <path + android:pathData="M49.343,53.267C49.343,53.599 49.267,53.932 49.143,54.226C49.02,54.521 48.839,54.825 48.611,55.043C48.383,55.262 48.079,55.433 47.785,55.556C47.49,55.68 47.167,55.651 46.835,55.651C46.502,55.651 46.217,55.585 45.923,55.461C45.628,55.338 45.267,55.281 45.049,55.053C44.83,54.825 44.669,54.511 44.545,54.217C44.422,53.922 44.422,53.599 44.422,53.267C44.422,52.934 44.45,52.611 44.564,52.326C44.678,52.041 44.897,51.775 45.125,51.557C45.353,51.338 45.638,51.215 45.932,51.091C46.227,50.968 46.502,50.92 46.835,50.92C47.167,50.92 47.49,50.863 47.785,50.987C48.079,51.11 48.355,51.3 48.583,51.528C48.811,51.756 49.01,52.022 49.134,52.326C49.257,52.63 49.343,52.944 49.343,53.276V53.267Z" + android:fillColor="#F9DBDE"/> + <path + android:pathData="M49.343,53.267C49.343,53.599 49.267,53.932 49.143,54.226C49.02,54.521 48.839,54.825 48.611,55.043C48.383,55.262 48.079,55.433 47.785,55.556C47.49,55.68 47.167,55.651 46.835,55.651C46.502,55.651 46.217,55.585 45.923,55.461C45.628,55.338 45.267,55.281 45.049,55.053C44.83,54.825 44.669,54.511 44.545,54.217C44.422,53.922 44.422,53.599 44.422,53.267C44.422,52.934 44.45,52.611 44.564,52.326C44.678,52.041 44.897,51.775 45.125,51.557C45.353,51.338 45.638,51.215 45.932,51.091C46.227,50.968 46.502,50.92 46.835,50.92C47.167,50.92 47.49,50.863 47.785,50.987C48.079,51.11 48.355,51.3 48.583,51.528C48.811,51.756 49.01,52.022 49.134,52.326C49.257,52.63 49.343,52.944 49.343,53.276V53.267Z" + android:strokeWidth="0.7315" + android:fillColor="#00000000" + android:strokeColor="#F9DBDE"/> + <path + android:pathData="M34.818,52.497C35.384,52.497 35.843,51.791 35.843,50.92C35.843,50.049 35.384,49.343 34.818,49.343C34.251,49.343 33.792,50.049 33.792,50.92C33.792,51.791 34.251,52.497 34.818,52.497Z" + android:fillColor="#171717"/> + <path + android:pathData="M41.182,52.497C41.749,52.497 42.208,51.791 42.208,50.92C42.208,50.049 41.749,49.343 41.182,49.343C40.616,49.343 40.157,50.049 40.157,50.92C40.157,51.791 40.616,52.497 41.182,52.497Z" + android:fillColor="#171717"/> + <path + android:pathData="M63.621,34.371C63.621,34.371 66.975,30.837 65.179,28.262C63.384,25.688 65.179,22.106 65.179,22.106C65.179,22.106 60.505,25.631 61.246,28.101C62.082,30.903 63.051,29.07 63.621,34.38V34.371Z" + android:strokeLineJoin="round" + android:strokeWidth="1.425" + android:fillColor="#FF6969" + android:strokeColor="#000000" + android:strokeLineCap="round"/> + <path + android:pathData="M10.583,33.602C10.583,33.602 13.623,30.258 10.583,26.477C10.583,26.477 8.066,29.669 10.583,33.602Z" + android:strokeLineJoin="round" + android:strokeWidth="1.425" + android:fillColor="#FF6969" + android:strokeColor="#000000" + android:strokeLineCap="round"/> + <path + android:pathData="M36.176,53.713H39.919C39.919,53.713 39.32,55.432 38.048,55.432C36.775,55.432 36.176,53.713 36.176,53.713Z" + android:strokeLineJoin="round" + android:strokeWidth="0.95" + android:fillColor="#7A1C2A" + android:strokeColor="#171717" + android:strokeLineCap="round"/> </group> - <path - android:pathData="M251.5,308.29c0,69.79 28.64,198.93 112.73,200.41 51,0.89 102.89,-48.31 118.99,-76.05 0,0 80.52,22.37 96.63,-39.37 16.1,-61.73 -45.63,-100.2 -81.42,-59.94 0,0 -42.05,-134.2 -125.26,-134.2s-121.68,109.15 -121.68,109.15Z" - android:strokeWidth="0" - android:fillColor="#fed6ca"/> - <path - android:pathData="M295.72,388.85m-23.91,0a23.91,23.91 0,1 1,47.82 0a23.91,23.91 0,1 1,-47.82 0" - android:strokeWidth="0" - android:fillColor="#ffc0c0"/> - <path - android:pathData="M409.43,388.85m-23.91,0a23.91,23.91 0,1 1,47.82 0a23.91,23.91 0,1 1,-47.82 0" - android:strokeWidth="0" - android:fillColor="#ffc0c0"/> - <path - android:pathData="M323.69,320s-24.5,-2.76 -41.93,6.67" - android:strokeWidth="7" - android:fillColor="#00000000" - android:strokeColor="#f9d095" - android:strokeLineCap="round"/> - <path - android:pathData="M375.17,320.69s24.29,-4.22 42.25,4.15" - android:strokeWidth="7" - android:fillColor="#00000000" - android:strokeColor="#f9d095" - android:strokeLineCap="round"/> - <path - android:pathData="M315.86,354.46c-5.28,-0.09 -10.58,-2.11 -13.99,-6.21 -0.27,-0.31 -0.25,-0.79 0.07,-1.06 0.29,-0.26 0.73,-0.25 1.01,0.02 0.86,0.82 1.75,1.62 2.78,2.21 2.94,1.79 6.64,2.55 10.03,2.32 1.86,-0.11 1.97,2.69 0.1,2.72h0Z" - android:strokeWidth="0" - android:fillColor="#191314"/> - <path - android:pathData="M389.34,354.46c-4.03,-0.03 -7.93,-1.11 -11.22,-3.41 -1.1,-0.73 -2.04,-1.69 -2.93,-2.66 -0.36,-0.39 -0.33,-1 0.07,-1.35 0.4,-0.37 1.02,-0.32 1.37,0.08 1.61,1.66 3.58,2.92 5.78,3.65 2.14,0.74 4.62,1.11 6.84,0.97 1.83,-0.08 1.94,2.67 0.1,2.72h0Z" - android:strokeWidth="0" - android:fillColor="#191314"/> - <path - android:pathData="M307.27,363.21a9.21,11.57 0,1 0,18.42 0a9.21,11.57 0,1 0,-18.42 0z" - android:strokeWidth="0" - android:fillColor="#191314"/> - <path - android:pathData="M380.95,363.21a9.21,11.57 0,1 0,18.42 0a9.21,11.57 0,1 0,-18.42 0z" - android:strokeWidth="0" - android:fillColor="#191314"/> - <path - android:pathData="M479.89,524.76c-2.45,16.68 -8.12,36.61 -62.47,85.77l-4.13,114.42 33.3,-117.24 52.06,-70.89s-14.64,4.95 -18.76,-12.06Z" - android:strokeWidth="0" - android:fillColor="#fec4b5"/> - <path - android:pathData="M342.62,542.18c10.74,-4.57 31.21,59.74 52.71,73.32l17.97,99.96 11.38,-103.64s71.95,-60.66 59.71,-78.21c0,0 181.22,26.55 254.63,266.17H140.61s23.09,-181.43 202.01,-257.59Z" - android:strokeWidth="0" - android:fillColor="#e6f1f4"/> - <path - android:pathData="M440.03,635.46m-7.45,0a7.45,7.45 0,1 1,14.9 0a7.45,7.45 0,1 1,-14.9 0" - android:strokeWidth="4" - android:fillColor="#00000000" - android:strokeColor="#c1e8e8"/> - <path - android:pathData="M438.42,669m-7.45,0a7.45,7.45 0,1 1,14.9 0a7.45,7.45 0,1 1,-14.9 0" - android:strokeWidth="4" - android:fillColor="#00000000" - android:strokeColor="#c1e8e8"/> - <path - android:pathData="M435.3,702.53m-7.45,0a7.45,7.45 0,1 1,14.9 0a7.45,7.45 0,1 1,-14.9 0" - android:strokeWidth="4" - android:fillColor="#00000000" - android:strokeColor="#c1e8e8"/> - <path - android:pathData="M336.83,562.42c8.68,17.75 19.69,34.35 32.68,49.24" - android:strokeWidth="4" - android:fillColor="#00000000" - android:strokeColor="#c1e8e8"/> - <path - android:pathData="M498.77,562.19c-7.92,16.78 -20.31,31.42 -35.54,42.02" - android:strokeWidth="4" - android:fillColor="#00000000" - android:strokeColor="#c1e8e8"/> - <path - android:pathData="M373.01,640.79c3.7,30.84 9.2,61.45 16.48,91.65 14.51,0.82 29.02,1.65 43.53,2.47 3.5,0.2 7.11,0.38 10.41,-0.78s6.27,-4.03 6.43,-7.53" - android:strokeWidth="4" - android:fillColor="#00000000" - android:strokeColor="#c1e8e8"/> - <path - android:pathData="M249.46,333.55s40.74,0 53.26,-42.86 62.59,-41.59 62.59,-41.59c0,0 -46.26,12.73 -32.68,56.02s49.94,40.74 49.94,40.74c0,0 -30,-5.94 -31.7,-40.31s34.64,-39.89 34.64,-39.89c0,0 -17.63,25.89 4.63,49.65s31.6,2.96 55.78,1.69 24.61,21.22 41.59,19.52 20.08,-14.29 20.08,-14.29l-74.27,-129.8 -128.22,6.71 -57.91,83.54 2.26,50.87Z" - android:strokeWidth="0" - android:fillColor="#ffe3a4"/> </vector> diff --git a/core/src/main/res/drawable/ic_terning_profile_default.xml b/core/src/main/res/drawable/ic_terning_profile_default.xml new file mode 100644 index 000000000..e3a32368c --- /dev/null +++ b/core/src/main/res/drawable/ic_terning_profile_default.xml @@ -0,0 +1,9 @@ +<vector xmlns:android="http://schemas.android.com/apk/res/android" + android:width="84dp" + android:height="84dp" + android:viewportWidth="84" + android:viewportHeight="84"> + <path + android:pathData="M42,42m-38,0a38,38 0,1 1,76 0a38,38 0,1 1,-76 0" + android:fillColor="#BCBCBC"/> +</vector> diff --git a/data/src/main/java/com/terning/data/datasource/MyPageDataSource.kt b/data/src/main/java/com/terning/data/datasource/MyPageDataSource.kt index 5eee61e1b..60361d5f2 100644 --- a/data/src/main/java/com/terning/data/datasource/MyPageDataSource.kt +++ b/data/src/main/java/com/terning/data/datasource/MyPageDataSource.kt @@ -2,6 +2,7 @@ package com.terning.data.datasource import com.terning.data.dto.BaseResponse import com.terning.data.dto.NonDataBaseResponse +import com.terning.data.dto.request.MyPageProfileEditRequestDto import com.terning.data.dto.response.MyPageResponseDto interface MyPageDataSource { @@ -10,4 +11,8 @@ interface MyPageDataSource { suspend fun deleteQuit(): NonDataBaseResponse suspend fun getProfile(): BaseResponse<MyPageResponseDto> + + suspend fun editProfile( + request: MyPageProfileEditRequestDto + ): NonDataBaseResponse } \ No newline at end of file diff --git a/data/src/main/java/com/terning/data/datasourceimpl/MyPageDataSourceImpl.kt b/data/src/main/java/com/terning/data/datasourceimpl/MyPageDataSourceImpl.kt index d1636d0d5..bc96ce7b0 100644 --- a/data/src/main/java/com/terning/data/datasourceimpl/MyPageDataSourceImpl.kt +++ b/data/src/main/java/com/terning/data/datasourceimpl/MyPageDataSourceImpl.kt @@ -3,6 +3,7 @@ package com.terning.data.datasourceimpl import com.terning.data.datasource.MyPageDataSource import com.terning.data.dto.BaseResponse import com.terning.data.dto.NonDataBaseResponse +import com.terning.data.dto.request.MyPageProfileEditRequestDto import com.terning.data.dto.response.MyPageResponseDto import com.terning.data.service.MyPageService import javax.inject.Inject @@ -15,4 +16,8 @@ class MyPageDataSourceImpl @Inject constructor( override suspend fun deleteQuit(): NonDataBaseResponse = myPageService.deleteQuit() override suspend fun getProfile(): BaseResponse<MyPageResponseDto> = myPageService.getProfile() + + override suspend fun editProfile( + request: MyPageProfileEditRequestDto + ): NonDataBaseResponse = myPageService.editProfile() } \ No newline at end of file diff --git a/data/src/main/java/com/terning/data/dto/request/MyPageProfileEditRequestDto.kt b/data/src/main/java/com/terning/data/dto/request/MyPageProfileEditRequestDto.kt new file mode 100644 index 000000000..3f4c7ef8a --- /dev/null +++ b/data/src/main/java/com/terning/data/dto/request/MyPageProfileEditRequestDto.kt @@ -0,0 +1,12 @@ +package com.terning.data.dto.request + +import kotlinx.serialization.SerialName +import kotlinx.serialization.Serializable + +@Serializable +data class MyPageProfileEditRequestDto( + @SerialName("name") + val name: String, + @SerialName("profileImage") + val profileImage: String, +) \ No newline at end of file diff --git a/data/src/main/java/com/terning/data/dto/request/SignUpRequestDto.kt b/data/src/main/java/com/terning/data/dto/request/SignUpRequestDto.kt index fbfc3d0bf..9cea3722d 100644 --- a/data/src/main/java/com/terning/data/dto/request/SignUpRequestDto.kt +++ b/data/src/main/java/com/terning/data/dto/request/SignUpRequestDto.kt @@ -8,7 +8,7 @@ data class SignUpRequestDto( @SerialName("name") val name: String, @SerialName("profileImage") - val profileImage: Int, + val profileImage: String, @SerialName("authType") val authType: String ) \ No newline at end of file diff --git a/data/src/main/java/com/terning/data/dto/response/MyPageResponseDto.kt b/data/src/main/java/com/terning/data/dto/response/MyPageResponseDto.kt index 035919f84..3afedf5b3 100644 --- a/data/src/main/java/com/terning/data/dto/response/MyPageResponseDto.kt +++ b/data/src/main/java/com/terning/data/dto/response/MyPageResponseDto.kt @@ -7,6 +7,8 @@ import kotlinx.serialization.Serializable data class MyPageResponseDto( @SerialName("name") val name: String, + @SerialName("profileImage") + val profileImage: String, @SerialName("authType") val authType: String ) \ No newline at end of file diff --git a/data/src/main/java/com/terning/data/mapper/mypage/MyPageMapper.kt b/data/src/main/java/com/terning/data/mapper/mypage/MyPageMapper.kt index 2ae84fa1b..0a19f6e76 100644 --- a/data/src/main/java/com/terning/data/mapper/mypage/MyPageMapper.kt +++ b/data/src/main/java/com/terning/data/mapper/mypage/MyPageMapper.kt @@ -1,6 +1,11 @@ package com.terning.data.mapper.mypage import com.terning.data.dto.response.MyPageResponseDto -import com.terning.domain.entity.mypage.MyPageProfileModel +import com.terning.domain.entity.mypage.MyPageProfile -fun MyPageResponseDto.toMyPageProfile() = MyPageProfileModel(name = name, authType = authType) +fun MyPageResponseDto.toMyPageProfile() = + MyPageProfile( + name = name, + profileImage = profileImage, + authType = authType + ) diff --git a/data/src/main/java/com/terning/data/mapper/mypage/MyPageProfileEditMapper.kt b/data/src/main/java/com/terning/data/mapper/mypage/MyPageProfileEditMapper.kt new file mode 100644 index 000000000..892bbd425 --- /dev/null +++ b/data/src/main/java/com/terning/data/mapper/mypage/MyPageProfileEditMapper.kt @@ -0,0 +1,10 @@ +package com.terning.data.mapper.mypage + +import com.terning.data.dto.request.MyPageProfileEditRequestDto +import com.terning.domain.entity.mypage.MyPageProfileEdit + +fun MyPageProfileEdit.toMyPageProfileEditRequestDto(): MyPageProfileEditRequestDto = + MyPageProfileEditRequestDto( + name = name, + profileImage = profileImage + ) diff --git a/data/src/main/java/com/terning/data/repositoryimpl/MyPageRepositoryImpl.kt b/data/src/main/java/com/terning/data/repositoryimpl/MyPageRepositoryImpl.kt index 45cafad9b..76aa84af2 100644 --- a/data/src/main/java/com/terning/data/repositoryimpl/MyPageRepositoryImpl.kt +++ b/data/src/main/java/com/terning/data/repositoryimpl/MyPageRepositoryImpl.kt @@ -2,7 +2,9 @@ package com.terning.data.repositoryimpl import com.terning.data.datasource.MyPageDataSource import com.terning.data.mapper.mypage.toMyPageProfile -import com.terning.domain.entity.mypage.MyPageProfileModel +import com.terning.data.mapper.mypage.toMyPageProfileEditRequestDto +import com.terning.domain.entity.mypage.MyPageProfile +import com.terning.domain.entity.mypage.MyPageProfileEdit import com.terning.domain.repository.MyPageRepository import javax.inject.Inject @@ -19,8 +21,17 @@ class MyPageRepositoryImpl @Inject constructor( myPageDataSource.deleteQuit() } - override suspend fun getProfile(): Result<MyPageProfileModel> = + override suspend fun getProfile(): Result<MyPageProfile> = runCatching { myPageDataSource.getProfile().result.toMyPageProfile() } + + override suspend fun editProfile( + request: MyPageProfileEdit + ): Result<Unit> = + runCatching { + myPageDataSource.editProfile( + request.toMyPageProfileEditRequestDto() + ) + } } \ No newline at end of file diff --git a/data/src/main/java/com/terning/data/service/MyPageService.kt b/data/src/main/java/com/terning/data/service/MyPageService.kt index 26a7d76ca..6ce2d16ae 100644 --- a/data/src/main/java/com/terning/data/service/MyPageService.kt +++ b/data/src/main/java/com/terning/data/service/MyPageService.kt @@ -5,6 +5,7 @@ import com.terning.data.dto.NonDataBaseResponse import com.terning.data.dto.response.MyPageResponseDto import retrofit2.http.DELETE import retrofit2.http.GET +import retrofit2.http.PATCH import retrofit2.http.POST interface MyPageService { @@ -16,4 +17,7 @@ interface MyPageService { @GET("api/v1/mypage/profile") suspend fun getProfile(): BaseResponse<MyPageResponseDto> + + @PATCH("api/v1/mypage/profile") + suspend fun editProfile(): NonDataBaseResponse } \ No newline at end of file diff --git a/domain/src/main/java/com/terning/domain/entity/mypage/MyPageProfileModel.kt b/domain/src/main/java/com/terning/domain/entity/mypage/MyPageProfile.kt similarity index 61% rename from domain/src/main/java/com/terning/domain/entity/mypage/MyPageProfileModel.kt rename to domain/src/main/java/com/terning/domain/entity/mypage/MyPageProfile.kt index 9576d68dc..356758d3e 100644 --- a/domain/src/main/java/com/terning/domain/entity/mypage/MyPageProfileModel.kt +++ b/domain/src/main/java/com/terning/domain/entity/mypage/MyPageProfile.kt @@ -1,6 +1,7 @@ package com.terning.domain.entity.mypage -data class MyPageProfileModel( +data class MyPageProfile( val name: String, + val profileImage: String, val authType: String ) \ No newline at end of file diff --git a/domain/src/main/java/com/terning/domain/entity/mypage/MyPageProfileEdit.kt b/domain/src/main/java/com/terning/domain/entity/mypage/MyPageProfileEdit.kt new file mode 100644 index 000000000..398575b04 --- /dev/null +++ b/domain/src/main/java/com/terning/domain/entity/mypage/MyPageProfileEdit.kt @@ -0,0 +1,6 @@ +package com.terning.domain.entity.mypage + +data class MyPageProfileEdit( + val name: String, + val profileImage: String +) \ No newline at end of file diff --git a/domain/src/main/java/com/terning/domain/entity/onboarding/SignUpRequest.kt b/domain/src/main/java/com/terning/domain/entity/onboarding/SignUpRequest.kt index 7b24e160e..dc74f8bdb 100644 --- a/domain/src/main/java/com/terning/domain/entity/onboarding/SignUpRequest.kt +++ b/domain/src/main/java/com/terning/domain/entity/onboarding/SignUpRequest.kt @@ -2,6 +2,6 @@ package com.terning.domain.entity.onboarding data class SignUpRequest ( val name : String, - val profileImage : Int, + val profileImage : String, val authType : String ) \ No newline at end of file diff --git a/domain/src/main/java/com/terning/domain/repository/MyPageRepository.kt b/domain/src/main/java/com/terning/domain/repository/MyPageRepository.kt index 26eaed11f..917b82c17 100644 --- a/domain/src/main/java/com/terning/domain/repository/MyPageRepository.kt +++ b/domain/src/main/java/com/terning/domain/repository/MyPageRepository.kt @@ -1,11 +1,16 @@ package com.terning.domain.repository -import com.terning.domain.entity.mypage.MyPageProfileModel +import com.terning.domain.entity.mypage.MyPageProfile +import com.terning.domain.entity.mypage.MyPageProfileEdit interface MyPageRepository { suspend fun postLogout(): Result<Unit> suspend fun deleteQuit(): Result<Unit> - suspend fun getProfile(): Result<MyPageProfileModel> + suspend fun getProfile(): Result<MyPageProfile> + + suspend fun editProfile( + request: MyPageProfileEdit + ): Result<Unit> } \ No newline at end of file diff --git a/feature/src/main/java/com/terning/feature/main/MainNavigator.kt b/feature/src/main/java/com/terning/feature/main/MainNavigator.kt index f0598bf1f..8455eb2a6 100644 --- a/feature/src/main/java/com/terning/feature/main/MainNavigator.kt +++ b/feature/src/main/java/com/terning/feature/main/MainNavigator.kt @@ -31,9 +31,12 @@ class MainNavigator( fun navigate(tab: MainTab) { val navOptions = navOptions { - popUpTo(navController.graph.findStartDestination().id) { - saveState = true - } + navController.currentDestination?.route?.let { + popUpTo(it){ + inclusive = true + saveState = true + } + } launchSingleTop = true restoreState = true } diff --git a/feature/src/main/java/com/terning/feature/main/MainScreen.kt b/feature/src/main/java/com/terning/feature/main/MainScreen.kt index 6403b2e31..516f63bf1 100644 --- a/feature/src/main/java/com/terning/feature/main/MainScreen.kt +++ b/feature/src/main/java/com/terning/feature/main/MainScreen.kt @@ -1,5 +1,7 @@ package com.terning.feature.main +import android.app.Activity +import androidx.activity.compose.BackHandler import androidx.compose.animation.AnimatedVisibility import androidx.compose.animation.EnterTransition import androidx.compose.animation.ExitTransition @@ -13,14 +15,24 @@ import androidx.compose.material3.Icon import androidx.compose.material3.NavigationBar import androidx.compose.material3.NavigationBarItem import androidx.compose.material3.Scaffold +import androidx.compose.material3.SnackbarDuration +import androidx.compose.material3.SnackbarHost +import androidx.compose.material3.SnackbarHostState import androidx.compose.material3.Text import androidx.compose.runtime.Composable +import androidx.compose.runtime.getValue +import androidx.compose.runtime.mutableStateOf +import androidx.compose.runtime.remember +import androidx.compose.runtime.rememberCoroutineScope +import androidx.compose.runtime.setValue import androidx.compose.ui.Modifier +import androidx.compose.ui.platform.LocalContext import androidx.compose.ui.res.painterResource import androidx.compose.ui.res.stringResource import androidx.compose.ui.unit.IntOffset import androidx.compose.ui.unit.sp import androidx.navigation.compose.NavHost +import com.terning.core.designsystem.component.snackbar.TerningBasicSnackBar import com.terning.core.designsystem.theme.Grey300 import com.terning.core.designsystem.theme.TerningMain import com.terning.core.designsystem.theme.White @@ -41,12 +53,45 @@ import com.terning.feature.onboarding.signup.navigation.signUpNavGraph import com.terning.feature.onboarding.splash.navigation.splashNavGraph import com.terning.feature.search.search.navigation.searchNavGraph import com.terning.feature.search.searchprocess.navigation.searchProcessNavGraph +import kotlinx.coroutines.launch @Composable fun MainScreen( navigator: MainNavigator = rememberMainNavigator(), ) { + val context = LocalContext.current + var backPressedState by remember { mutableStateOf(true) } + var backPressedTime = 0L + + val snackBarHostState = remember { SnackbarHostState() } + val coroutineScope = rememberCoroutineScope() + + BackHandler(enabled = backPressedState) { + if (System.currentTimeMillis() - backPressedTime <= 3000) { + (context as Activity).finish() + } else { + backPressedState = true + coroutineScope.launch { + snackBarHostState.showSnackbar( + message = "버튼을 한 번 더 누르면 종료돼요", + duration = SnackbarDuration.Short + ) + } + } + backPressedTime = System.currentTimeMillis() + } + Scaffold( + snackbarHost = { + SnackbarHost(hostState = snackBarHostState) { snackBarData -> + TerningBasicSnackBar { + Text( + text = snackBarData.visuals.message, + color = White, + ) + } + } + }, bottomBar = { MainBottomBar( isVisible = navigator.showBottomBar(), diff --git a/feature/src/main/java/com/terning/feature/mypage/mypage/MyPageRoute.kt b/feature/src/main/java/com/terning/feature/mypage/mypage/MyPageRoute.kt index e520d3504..4ec22dbcc 100644 --- a/feature/src/main/java/com/terning/feature/mypage/mypage/MyPageRoute.kt +++ b/feature/src/main/java/com/terning/feature/mypage/mypage/MyPageRoute.kt @@ -15,6 +15,7 @@ import androidx.compose.material3.HorizontalDivider import androidx.compose.material3.Text import androidx.compose.material3.VerticalDivider import androidx.compose.runtime.Composable +import androidx.compose.runtime.DisposableEffect import androidx.compose.runtime.LaunchedEffect import androidx.compose.runtime.SideEffect import androidx.compose.runtime.getValue @@ -40,6 +41,7 @@ import com.terning.core.designsystem.theme.TerningPointTheme import com.terning.core.designsystem.theme.TerningTheme import com.terning.core.designsystem.theme.White import com.terning.core.extension.noRippleClickable +import com.terning.core.extension.toast import com.terning.core.state.UiState import com.terning.feature.R import com.terning.feature.mypage.component.MyPageProfile @@ -48,7 +50,7 @@ import com.terning.feature.mypage.mypage.component.MyPageItem @Composable fun MyPageRoute( paddingValues: PaddingValues, - navigateToProfileEdit: (String, Int) -> Unit, + navigateToProfileEdit: (String, String) -> Unit, viewModel: MyPageViewModel = hiltViewModel(), ) { val state by viewModel.state.collectAsStateWithLifecycle() @@ -63,14 +65,24 @@ fun MyPageRoute( ) } + DisposableEffect(lifecycleOwner) { + onDispose { + systemUiController.setStatusBarColor( + color = White + ) + } + } + LaunchedEffect(viewModel.sideEffects, lifecycleOwner) { viewModel.sideEffects.flowWithLifecycle(lifecycle = lifecycleOwner.lifecycle) .collect { sideEffect -> when (sideEffect) { is MyPageSideEffect.NavigateToProfileEdit -> navigateToProfileEdit( state.name, - state.profile + state.profileImage ) + + is MyPageSideEffect.ShowToast -> context.toast(sideEffect.message) } } } @@ -115,13 +127,18 @@ fun MyPageRoute( onServiceClick = {}, onPersonalClick = {}, name = state.name, - profile = state.profile + profileImage = state.profileImage ) } is UiState.Loading -> {} is UiState.Empty -> {} - is UiState.Failure -> {} + is UiState.Failure -> { + MyPageScreen( + paddingValues = paddingValues, + profileImage = state.profileImage, + ) + } } if (state.showNotice) { @@ -137,16 +154,16 @@ fun MyPageRoute( @Composable fun MyPageScreen( - onEditClick: () -> Unit, - onLogoutClick: () -> Unit, - onQuitClick: () -> Unit, - onNoticeClick: () -> Unit, - onOpinionClick: () -> Unit, - onServiceClick: () -> Unit, - onPersonalClick: () -> Unit, + onEditClick: () -> Unit = {}, + onLogoutClick: () -> Unit = {}, + onQuitClick: () -> Unit = {}, + onNoticeClick: () -> Unit = {}, + onOpinionClick: () -> Unit = {}, + onServiceClick: () -> Unit = {}, + onPersonalClick: () -> Unit = {}, paddingValues: PaddingValues = PaddingValues(), name: String = "", - profile: Int = 0 + profileImage: String = "" ) { Column( modifier = Modifier @@ -156,7 +173,7 @@ fun MyPageScreen( ) { UserProfile( name = name, - profile = profile, + profileImage = profileImage, onEditClick = onEditClick ) TerningCommunity( @@ -209,7 +226,7 @@ fun UserProfile( name: String, onEditClick: () -> Unit, modifier: Modifier = Modifier, - profile: Int = 0, + profileImage: String = "", ) { Row( modifier = modifier.padding( @@ -218,7 +235,7 @@ fun UserProfile( bottom = 32.dp ) ) { - MyPageProfile(profile = profile) + MyPageProfile(profileImage = profileImage) Column { Text( text = name, diff --git a/feature/src/main/java/com/terning/feature/mypage/mypage/MyPageSideEffect.kt b/feature/src/main/java/com/terning/feature/mypage/mypage/MyPageSideEffect.kt index 26d1e5856..edeb627ea 100644 --- a/feature/src/main/java/com/terning/feature/mypage/mypage/MyPageSideEffect.kt +++ b/feature/src/main/java/com/terning/feature/mypage/mypage/MyPageSideEffect.kt @@ -1,5 +1,8 @@ package com.terning.feature.mypage.mypage +import androidx.annotation.StringRes + sealed class MyPageSideEffect { data object NavigateToProfileEdit : MyPageSideEffect() + data class ShowToast(@StringRes val message: Int) : MyPageSideEffect() } \ No newline at end of file diff --git a/feature/src/main/java/com/terning/feature/mypage/mypage/MyPageState.kt b/feature/src/main/java/com/terning/feature/mypage/mypage/MyPageState.kt index bf072cb13..24f76c1ae 100644 --- a/feature/src/main/java/com/terning/feature/mypage/mypage/MyPageState.kt +++ b/feature/src/main/java/com/terning/feature/mypage/mypage/MyPageState.kt @@ -6,7 +6,7 @@ data class MyPageState( val isLogoutAndQuitSuccess: UiState<Boolean> = UiState.Loading, val isGetSuccess: UiState<Boolean> = UiState.Loading, val name: String = "", - val profile: Int = 0, + val profileImage: String = "", val authType : String ="", val showNotice: Boolean = false, val showOpinion: Boolean = false, diff --git a/feature/src/main/java/com/terning/feature/mypage/mypage/MyPageViewModel.kt b/feature/src/main/java/com/terning/feature/mypage/mypage/MyPageViewModel.kt index b4f39bb61..535cf4b6d 100644 --- a/feature/src/main/java/com/terning/feature/mypage/mypage/MyPageViewModel.kt +++ b/feature/src/main/java/com/terning/feature/mypage/mypage/MyPageViewModel.kt @@ -13,6 +13,7 @@ import com.kakao.sdk.user.UserApiClient import com.terning.core.state.UiState import com.terning.domain.repository.MyPageRepository import com.terning.domain.repository.TokenRepository +import com.terning.feature.R import com.terning.feature.main.MainActivity import dagger.hilt.android.lifecycle.HiltViewModel import kotlinx.coroutines.flow.MutableSharedFlow @@ -104,9 +105,11 @@ class MyPageViewModel @Inject constructor( _state.value = _state.value.copy( isGetSuccess = UiState.Success(true), name = response.name, + profileImage = response.profileImage, authType = response.authType ) }.onFailure { + _sideEffects.emit(MyPageSideEffect.ShowToast(R.string.server_failure)) _state.value = _state.value.copy(isGetSuccess = UiState.Failure(it.toString())) } } diff --git a/feature/src/main/java/com/terning/feature/mypage/mypage/component/MyPageProfile.kt b/feature/src/main/java/com/terning/feature/mypage/mypage/component/MyPageProfile.kt index cd12d2623..a0d985004 100644 --- a/feature/src/main/java/com/terning/feature/mypage/mypage/component/MyPageProfile.kt +++ b/feature/src/main/java/com/terning/feature/mypage/mypage/component/MyPageProfile.kt @@ -10,36 +10,21 @@ import androidx.compose.ui.draw.clip import androidx.compose.ui.res.painterResource import androidx.compose.ui.unit.dp import com.terning.core.R +import com.terning.core.type.ProfileImage @Composable fun MyPageProfile( modifier: Modifier = Modifier, - profile: Int + profileImage: String ) { - val options = listOf( - R.drawable.ic_terning_profile_00, - R.drawable.ic_terning_profile_01, - R.drawable.ic_terning_profile_02, - R.drawable.ic_terning_profile_03, - R.drawable.ic_terning_profile_04, - R.drawable.ic_terning_profile_05 - ) - - val option = when (profile) { - 0 -> options[0] - 1 -> options[1] - 2 -> options[2] - 3 -> options[3] - 4 -> options[4] - else -> options[5] - } + val userProfile = ProfileImage.fromString(profileImage) Image( - painter = painterResource(id = option), + painter = painterResource(id = userProfile.drawableResId), modifier = modifier .size(72.dp) .clip(shape = CircleShape) .aspectRatio(1f), contentDescription = "profile image" ) -} +} \ No newline at end of file diff --git a/feature/src/main/java/com/terning/feature/mypage/mypage/navigation/MyPageNavigation.kt b/feature/src/main/java/com/terning/feature/mypage/mypage/navigation/MyPageNavigation.kt index 7248c8a2a..e2543a085 100644 --- a/feature/src/main/java/com/terning/feature/mypage/mypage/navigation/MyPageNavigation.kt +++ b/feature/src/main/java/com/terning/feature/mypage/mypage/navigation/MyPageNavigation.kt @@ -25,10 +25,10 @@ fun NavGraphBuilder.myPageNavGraph( composable<MyPage> { MyPageRoute( paddingValues = paddingValues, - navigateToProfileEdit = { name, profile -> + navigateToProfileEdit = { name, profileImage -> navHostController.navigateProfileEdit( name, - profile + profileImage ) } ) diff --git a/feature/src/main/java/com/terning/feature/mypage/profileedit/ProfileEditRoute.kt b/feature/src/main/java/com/terning/feature/mypage/profileedit/ProfileEditRoute.kt index 577c5689b..7dba0d325 100644 --- a/feature/src/main/java/com/terning/feature/mypage/profileedit/ProfileEditRoute.kt +++ b/feature/src/main/java/com/terning/feature/mypage/profileedit/ProfileEditRoute.kt @@ -15,6 +15,7 @@ import androidx.compose.runtime.SideEffect import androidx.compose.runtime.getValue import androidx.compose.ui.Alignment import androidx.compose.ui.Modifier +import androidx.compose.ui.platform.LocalContext import androidx.compose.ui.platform.LocalFocusManager import androidx.compose.ui.res.stringResource import androidx.compose.ui.tooling.preview.Preview @@ -35,18 +36,20 @@ import com.terning.core.designsystem.theme.TerningTheme import com.terning.core.designsystem.theme.White import com.terning.core.extension.addFocusCleaner import com.terning.core.extension.noRippleClickable +import com.terning.core.extension.toast import com.terning.feature.R @Composable fun ProfileEditRoute( navigateUp: () -> Unit, initialName: String, - initialProfile: Int, + initialProfile: String, viewModel: ProfileEditViewModel = hiltViewModel(), ) { val state by viewModel.state.collectAsStateWithLifecycle() val lifecycleOwner = LocalLifecycleOwner.current + val context = LocalContext.current val systemUiController = rememberSystemUiController() @@ -57,7 +60,10 @@ fun ProfileEditRoute( } LaunchedEffect(key1 = true) { - viewModel.updateInitialInfo(initialName = initialName, initialProfile = initialProfile) + viewModel.updateInitialInfo( + initialName = initialName, + initialProfile = initialProfile + ) } LaunchedEffect(viewModel.sideEffects, lifecycleOwner) { @@ -65,6 +71,7 @@ fun ProfileEditRoute( .collect { sideEffect -> when (sideEffect) { is ProfileEditSideEffect.NavigateUp -> navigateUp() + is ProfileEditSideEffect.ShowToast -> context.toast(sideEffect.message) } } } @@ -72,9 +79,9 @@ fun ProfileEditRoute( if (state.showBottomSheet) { ProfileBottomSheet( onDismiss = { viewModel.updateBottomSheet(false) }, - onSaveClick = { index -> + onSaveClick = { profileImage -> viewModel.updateBottomSheet(false) - viewModel.updateProfile(index) + viewModel.updateProfile(profileImage.stringValue) }, initialSelectedOption = state.profile ) @@ -88,7 +95,9 @@ fun ProfileEditRoute( onInputChange = { editName -> viewModel.updateName(editName) }, - onSaveClick = { viewModel.navigateUp() }, + onSaveClick = { + viewModel.modifyUserInfo() + }, name = state.name, onBackButtonClick = { viewModel.navigateUp() }, onValidationChanged = { isValid -> @@ -137,7 +146,7 @@ fun ProfileEditScreen( onProfileEditClick(true) } .align(Alignment.CenterHorizontally), - index = profileEditState.profile + profileImage = profileEditState.profile ) Spacer(modifier = Modifier.height(48.dp)) Text( diff --git a/feature/src/main/java/com/terning/feature/mypage/profileedit/ProfileEditSideEffect.kt b/feature/src/main/java/com/terning/feature/mypage/profileedit/ProfileEditSideEffect.kt index 6fd2f3668..9d16e2bc8 100644 --- a/feature/src/main/java/com/terning/feature/mypage/profileedit/ProfileEditSideEffect.kt +++ b/feature/src/main/java/com/terning/feature/mypage/profileedit/ProfileEditSideEffect.kt @@ -1,5 +1,8 @@ package com.terning.feature.mypage.profileedit +import androidx.annotation.StringRes + sealed class ProfileEditSideEffect { data object NavigateUp : ProfileEditSideEffect() + data class ShowToast(@StringRes val message: Int) : ProfileEditSideEffect() } \ No newline at end of file diff --git a/feature/src/main/java/com/terning/feature/mypage/profileedit/ProfileEditState.kt b/feature/src/main/java/com/terning/feature/mypage/profileedit/ProfileEditState.kt index eb34b9548..a8f1d2b96 100644 --- a/feature/src/main/java/com/terning/feature/mypage/profileedit/ProfileEditState.kt +++ b/feature/src/main/java/com/terning/feature/mypage/profileedit/ProfileEditState.kt @@ -3,7 +3,7 @@ package com.terning.feature.mypage.profileedit data class ProfileEditState( val name: String = "", val initialName: String = "", - val profile: Int = 0, + val profile: String = "", val initialView: Boolean = true, val isButtonValid: Boolean = false, val authType: String = "", diff --git a/feature/src/main/java/com/terning/feature/mypage/profileedit/ProfileEditViewModel.kt b/feature/src/main/java/com/terning/feature/mypage/profileedit/ProfileEditViewModel.kt index 58bf6349f..5516b79c2 100644 --- a/feature/src/main/java/com/terning/feature/mypage/profileedit/ProfileEditViewModel.kt +++ b/feature/src/main/java/com/terning/feature/mypage/profileedit/ProfileEditViewModel.kt @@ -2,6 +2,9 @@ package com.terning.feature.mypage.profileedit import androidx.lifecycle.ViewModel import androidx.lifecycle.viewModelScope +import com.terning.domain.entity.mypage.MyPageProfileEdit +import com.terning.domain.repository.MyPageRepository +import com.terning.feature.R import dagger.hilt.android.lifecycle.HiltViewModel import kotlinx.coroutines.flow.MutableSharedFlow import kotlinx.coroutines.flow.MutableStateFlow @@ -13,7 +16,9 @@ import kotlinx.coroutines.launch import javax.inject.Inject @HiltViewModel -class ProfileEditViewModel @Inject constructor() : ViewModel() { +class ProfileEditViewModel @Inject constructor( + private val myPageRepository: MyPageRepository, +) : ViewModel() { private val _state: MutableStateFlow<ProfileEditState> = MutableStateFlow(ProfileEditState()) val state: StateFlow<ProfileEditState> get() = _state.asStateFlow() @@ -27,7 +32,7 @@ class ProfileEditViewModel @Inject constructor() : ViewModel() { _state.value = _state.value.copy(showBottomSheet = isVisible) } - fun updateInitialInfo(initialName: String, initialProfile: Int) { + fun updateInitialInfo(initialName: String, initialProfile: String) { _state.value = _state.value.copy( name = initialName, initialName = initialName, @@ -36,15 +41,36 @@ class ProfileEditViewModel @Inject constructor() : ViewModel() { } fun updateName(name: String) { - _state.value = _state.value.copy(name = name, initialView = false) + _state.value = _state.value.copy( + name = name, + initialView = false + ) } - fun updateProfile(profile: Int) { - _state.value = _state.value.copy(profile = profile, initialView = false) + fun updateProfile(profile: String) { + _state.value = _state.value.copy( + profile = profile, + initialView = false + ) } fun updateButtonValidation(isValid: Boolean) { _state.value = _state.value.copy(isButtonValid = isValid) } + fun modifyUserInfo() { + viewModelScope.launch { + myPageRepository.editProfile( + MyPageProfileEdit( + name = _state.value.name, + profileImage = _state.value.profile + ) + ).onSuccess { + _sideEffects.emit(ProfileEditSideEffect.NavigateUp) + }.onFailure { + _sideEffects.emit(ProfileEditSideEffect.ShowToast(R.string.server_failure)) + } + } + } + } \ No newline at end of file diff --git a/feature/src/main/java/com/terning/feature/mypage/profileedit/navigation/ProfileEditNavigation.kt b/feature/src/main/java/com/terning/feature/mypage/profileedit/navigation/ProfileEditNavigation.kt index 71ef7f910..61b250f75 100644 --- a/feature/src/main/java/com/terning/feature/mypage/profileedit/navigation/ProfileEditNavigation.kt +++ b/feature/src/main/java/com/terning/feature/mypage/profileedit/navigation/ProfileEditNavigation.kt @@ -16,11 +16,11 @@ import kotlinx.serialization.Serializable fun NavController.navigateProfileEdit( name: String, - profile: Int, + profileImage: String, navOptions: NavOptions? = null ) { navigate( - route = ProfileEdit(name = name, profile = profile), + route = ProfileEdit(name = name, profileImage = profileImage), navOptions = navOptions ) } @@ -45,7 +45,7 @@ fun NavGraphBuilder.profileEditNavGraph( val args = it.toRoute<ProfileEdit>() ProfileEditRoute( initialName = args.name, - initialProfile = args.profile, + initialProfile = args.profileImage, navigateUp = { navHostController.navigateUp() } ) } @@ -54,5 +54,5 @@ fun NavGraphBuilder.profileEditNavGraph( @Serializable data class ProfileEdit( val name: String, - val profile: Int + val profileImage: String ) : Route \ No newline at end of file diff --git a/feature/src/main/java/com/terning/feature/onboarding/signup/SignUpRoute.kt b/feature/src/main/java/com/terning/feature/onboarding/signup/SignUpRoute.kt index 4be2f12c7..ba7e5c715 100644 --- a/feature/src/main/java/com/terning/feature/onboarding/signup/SignUpRoute.kt +++ b/feature/src/main/java/com/terning/feature/onboarding/signup/SignUpRoute.kt @@ -63,9 +63,9 @@ fun SignUpRoute( if (state.showBottomSheet) { ProfileBottomSheet( onDismiss = { viewModel.updateBottomSheet(false) }, - onSaveClick = { index -> + onSaveClick = { profileImage -> viewModel.updateBottomSheet(false) - viewModel.updateProfileImage(index) + viewModel.updateProfileImage(profileImage.stringValue) }, initialSelectedOption = state.profileImage ) @@ -127,7 +127,7 @@ fun SignUpScreen( modifier = Modifier.noRippleClickable { onProfileEditClick(true) }, - index = state.profileImage + profileImage = state.profileImage ) } Column( @@ -167,7 +167,7 @@ fun SignUpScreenPreview() { onSignUpClick = {}, onInputChange = {}, onProfileEditClick = {}, - onValidationChanged = {} + onValidationChanged = {}, ) } } \ No newline at end of file diff --git a/feature/src/main/java/com/terning/feature/onboarding/signup/SignUpState.kt b/feature/src/main/java/com/terning/feature/onboarding/signup/SignUpState.kt index 5a3f8b253..773904e4c 100644 --- a/feature/src/main/java/com/terning/feature/onboarding/signup/SignUpState.kt +++ b/feature/src/main/java/com/terning/feature/onboarding/signup/SignUpState.kt @@ -2,7 +2,7 @@ package com.terning.feature.onboarding.signup data class SignUpState( val name: String = "", - val profileImage: Int = 0, + val profileImage: String = "basic", val isButtonValid: Boolean = false, val authId: String = "", val showBottomSheet: Boolean = false diff --git a/feature/src/main/java/com/terning/feature/onboarding/signup/SignUpViewModel.kt b/feature/src/main/java/com/terning/feature/onboarding/signup/SignUpViewModel.kt index 504bf3ada..6493c627b 100644 --- a/feature/src/main/java/com/terning/feature/onboarding/signup/SignUpViewModel.kt +++ b/feature/src/main/java/com/terning/feature/onboarding/signup/SignUpViewModel.kt @@ -36,7 +36,7 @@ class SignUpViewModel @Inject constructor( _state.value = _state.value.copy(name = name) } - fun updateProfileImage(profileImage: Int) { + fun updateProfileImage(profileImage: String) { _state.value = _state.value.copy(profileImage = profileImage) } diff --git a/feature/src/main/res/drawable/ic_terning_profile_00.xml b/feature/src/main/res/drawable/ic_terning_profile_00.xml deleted file mode 100644 index 99edfdf96..000000000 --- a/feature/src/main/res/drawable/ic_terning_profile_00.xml +++ /dev/null @@ -1,60 +0,0 @@ -<vector xmlns:android="http://schemas.android.com/apk/res/android" - android:width="76dp" - android:height="76dp" - android:viewportWidth="76" - android:viewportHeight="76"> - <group> - <clip-path - android:pathData="M38,0L38,0A38,38 0,0 1,76 38L76,38A38,38 0,0 1,38 76L38,76A38,38 0,0 1,0 38L0,38A38,38 0,0 1,38 0z"/> - <path - android:pathData="M76,0H0V76H76V0Z" - android:fillColor="#FBF8CB"/> - <path - android:pathData="M57.95,77.966L67.64,49.542C68.314,47.472 67.574,45.192 65.807,43.909L41.971,26.59C40.204,25.308 37.819,25.308 36.053,26.59L12.217,43.909C10.45,45.192 9.718,47.462 10.384,49.542L19.494,77.567C20.169,79.638 22.097,81.045 24.282,81.045H53.751" - android:fillColor="#ffffff"/> - <path - android:pathData="M57.95,77.966L67.64,49.542C68.314,47.472 67.574,45.192 65.807,43.909L41.971,26.59C40.204,25.308 37.819,25.308 36.053,26.59L12.217,43.909C10.45,45.192 9.718,47.462 10.384,49.542L19.494,77.567C20.169,79.638 22.097,81.045 24.282,81.045H53.751" - android:strokeWidth="1.425" - android:fillColor="#00000000" - android:strokeColor="#171717" - android:strokeLineCap="round"/> - <path - android:pathData="M37.506,63.441H38.599C38.988,63.441 39.321,63.707 39.397,64.077L41.762,75.8C41.829,76.2 41.705,76.608 41.42,76.902L39.017,79.372C38.504,79.895 37.649,79.914 37.126,79.401L34.618,76.979C34.314,76.684 34.172,76.257 34.248,75.839L36.718,64.077C36.794,63.707 37.126,63.441 37.516,63.441H37.506Z" - android:strokeWidth="1.425" - android:fillColor="#40A56B" - android:strokeColor="#171717"/> - <path - android:pathData="M39.168,63.907H36.955C36.518,63.907 36.147,63.603 36.053,63.185L35.54,60.952C35.407,60.373 35.853,59.812 36.442,59.812H39.701C40.299,59.812 40.745,60.373 40.603,60.952L40.071,63.185C39.976,63.603 39.596,63.897 39.168,63.897V63.907Z" - android:strokeWidth="1.425" - android:fillColor="#40A56B" - android:strokeColor="#171717"/> - <path - android:pathData="M31.663,53.447C31.663,53.779 31.616,54.131 31.502,54.416C31.388,54.701 31.036,54.872 30.808,55.1C30.58,55.328 30.409,55.623 30.105,55.746C29.801,55.869 29.488,55.841 29.155,55.841C28.823,55.841 28.509,55.822 28.224,55.699C27.939,55.575 27.654,55.395 27.426,55.167C27.198,54.938 26.999,54.682 26.875,54.378C26.752,54.074 26.638,53.761 26.638,53.438C26.638,53.114 26.837,52.811 26.961,52.526C27.084,52.241 27.274,52.003 27.502,51.775C27.73,51.547 27.939,51.319 28.234,51.195C28.528,51.072 28.832,51.072 29.165,51.072C29.497,51.072 29.801,51.082 30.086,51.205C30.371,51.328 30.647,51.509 30.875,51.728C31.103,51.946 31.293,52.212 31.416,52.507C31.54,52.801 31.682,53.105 31.682,53.438L31.663,53.447Z" - android:fillColor="#F9DBDE"/> - <path - android:pathData="M31.663,53.447C31.663,53.779 31.616,54.131 31.502,54.416C31.388,54.701 31.036,54.872 30.808,55.1C30.58,55.328 30.409,55.623 30.105,55.746C29.801,55.869 29.488,55.841 29.155,55.841C28.823,55.841 28.509,55.822 28.224,55.699C27.939,55.575 27.654,55.395 27.426,55.167C27.198,54.938 26.999,54.682 26.875,54.378C26.752,54.074 26.638,53.761 26.638,53.438C26.638,53.114 26.837,52.811 26.961,52.526C27.084,52.241 27.274,52.003 27.502,51.775C27.73,51.547 27.939,51.319 28.234,51.195C28.528,51.072 28.832,51.072 29.165,51.072C29.497,51.072 29.801,51.082 30.086,51.205C30.371,51.328 30.647,51.509 30.875,51.728C31.103,51.946 31.293,52.212 31.416,52.507C31.54,52.801 31.682,53.105 31.682,53.438L31.663,53.447Z" - android:strokeWidth="0.7315" - android:fillColor="#00000000" - android:strokeColor="#F9DBDE"/> - <path - android:pathData="M49.343,53.266C49.343,53.599 49.267,53.931 49.144,54.226C49.02,54.521 48.84,54.825 48.611,55.043C48.383,55.262 48.079,55.432 47.785,55.556C47.491,55.68 47.167,55.651 46.835,55.651C46.502,55.651 46.217,55.584 45.923,55.461C45.629,55.338 45.268,55.28 45.049,55.053C44.831,54.825 44.669,54.511 44.546,54.216C44.422,53.922 44.422,53.599 44.422,53.266C44.422,52.934 44.451,52.611 44.564,52.326C44.679,52.041 44.897,51.775 45.125,51.556C45.353,51.338 45.638,51.215 45.932,51.091C46.227,50.967 46.502,50.92 46.835,50.92C47.167,50.92 47.491,50.863 47.785,50.986C48.079,51.11 48.355,51.3 48.583,51.528C48.811,51.756 49.011,52.022 49.134,52.326C49.257,52.63 49.343,52.944 49.343,53.276V53.266Z" - android:fillColor="#F9DBDE"/> - <path - android:pathData="M49.343,53.266C49.343,53.599 49.267,53.931 49.144,54.226C49.02,54.521 48.84,54.825 48.611,55.043C48.383,55.262 48.079,55.432 47.785,55.556C47.491,55.68 47.167,55.651 46.835,55.651C46.502,55.651 46.217,55.584 45.923,55.461C45.629,55.338 45.268,55.28 45.049,55.053C44.831,54.825 44.669,54.511 44.546,54.216C44.422,53.922 44.422,53.599 44.422,53.266C44.422,52.934 44.451,52.611 44.564,52.326C44.679,52.041 44.897,51.775 45.125,51.556C45.353,51.338 45.638,51.215 45.932,51.091C46.227,50.967 46.502,50.92 46.835,50.92C47.167,50.92 47.491,50.863 47.785,50.986C48.079,51.11 48.355,51.3 48.583,51.528C48.811,51.756 49.011,52.022 49.134,52.326C49.257,52.63 49.343,52.944 49.343,53.276V53.266Z" - android:strokeWidth="0.7315" - android:fillColor="#00000000" - android:strokeColor="#F9DBDE"/> - <path - android:pathData="M34.818,52.497C35.384,52.497 35.843,51.791 35.843,50.92C35.843,50.049 35.384,49.343 34.818,49.343C34.251,49.343 33.792,50.049 33.792,50.92C33.792,51.791 34.251,52.497 34.818,52.497Z" - android:fillColor="#171717"/> - <path - android:pathData="M41.182,52.497C41.749,52.497 42.208,51.791 42.208,50.92C42.208,50.049 41.749,49.343 41.182,49.343C40.616,49.343 40.157,50.049 40.157,50.92C40.157,51.791 40.616,52.497 41.182,52.497Z" - android:fillColor="#171717"/> - <path - android:pathData="M35.444,53.884C35.444,53.884 36.243,55.613 38.114,55.613C39.986,55.613 40.565,53.884 40.565,53.884" - android:strokeWidth="1.425" - android:fillColor="#00000000" - android:strokeColor="#171717" - android:strokeLineCap="round"/> - </group> -</vector> diff --git a/feature/src/main/res/drawable/ic_terning_profile_01.xml b/feature/src/main/res/drawable/ic_terning_profile_01.xml deleted file mode 100644 index 0bfcc7b29..000000000 --- a/feature/src/main/res/drawable/ic_terning_profile_01.xml +++ /dev/null @@ -1,80 +0,0 @@ -<vector xmlns:android="http://schemas.android.com/apk/res/android" - android:width="76dp" - android:height="76dp" - android:viewportWidth="76" - android:viewportHeight="76"> - <group> - <clip-path - android:pathData="M38,0L38,0A38,38 0,0 1,76 38L76,38A38,38 0,0 1,38 76L38,76A38,38 0,0 1,0 38L0,38A38,38 0,0 1,38 0z"/> - <path - android:pathData="M76,0H0V76H76V0Z" - android:fillColor="#ECF9CA"/> - <path - android:pathData="M61.341,58.045C64.78,55.1 66.975,50.73 66.975,45.847C66.975,36.984 59.783,29.792 50.92,29.792C45.619,29.792 40.926,32.376 38,36.347C35.074,32.386 30.39,29.792 25.08,29.792C16.216,29.792 9.025,36.984 9.025,45.847C9.025,50.73 11.21,55.1 14.658,58.045C11.219,60.99 9.025,65.36 9.025,70.243C9.025,79.106 16.216,86.298 25.08,86.298C30.381,86.298 35.074,83.714 38,79.743C40.926,83.704 45.609,86.298 50.92,86.298C59.783,86.298 66.975,79.106 66.975,70.243C66.975,65.36 64.79,60.99 61.341,58.045Z" - android:strokeWidth="1.425" - android:fillColor="#40A56B" - android:strokeColor="#171717"/> - <path - android:pathData="M37.506,63.441H38.598C38.988,63.441 39.32,63.707 39.396,64.077L41.762,75.8C41.828,76.199 41.705,76.608 41.42,76.902L39.016,79.372C38.503,79.895 37.648,79.914 37.126,79.401L34.618,76.978C34.314,76.684 34.171,76.256 34.247,75.838L36.717,64.077C36.793,63.707 37.126,63.441 37.515,63.441H37.506Z" - android:strokeWidth="1.425" - android:fillColor="#F2F2F2" - android:strokeColor="#171717"/> - <path - android:pathData="M39.168,63.907H36.955C36.518,63.907 36.147,63.603 36.053,63.185L35.54,60.952C35.407,60.373 35.853,59.812 36.442,59.812H39.701C40.299,59.812 40.745,60.373 40.603,60.952L40.071,63.185C39.976,63.603 39.596,63.897 39.168,63.897V63.907Z" - android:strokeWidth="1.425" - android:fillColor="#F2F2F2" - android:strokeColor="#171717"/> - <path - android:pathData="M31.663,53.447C31.663,53.779 31.616,54.131 31.502,54.416C31.388,54.701 31.036,54.872 30.808,55.1C30.58,55.328 30.409,55.623 30.105,55.746C29.801,55.869 29.488,55.841 29.155,55.841C28.823,55.841 28.509,55.822 28.224,55.699C27.939,55.575 27.654,55.395 27.426,55.167C27.198,54.938 26.999,54.682 26.875,54.378C26.752,54.074 26.638,53.761 26.638,53.438C26.638,53.114 26.837,52.811 26.961,52.526C27.084,52.241 27.274,52.003 27.502,51.775C27.73,51.547 27.939,51.319 28.234,51.195C28.528,51.072 28.832,51.072 29.165,51.072C29.497,51.072 29.801,51.082 30.086,51.205C30.371,51.328 30.647,51.509 30.875,51.728C31.103,51.946 31.293,52.212 31.416,52.507C31.54,52.801 31.682,53.105 31.682,53.438L31.663,53.447Z" - android:fillColor="#F9DBDE"/> - <path - android:pathData="M31.663,53.447C31.663,53.779 31.616,54.131 31.502,54.416C31.388,54.701 31.036,54.872 30.808,55.1C30.58,55.328 30.409,55.623 30.105,55.746C29.801,55.869 29.488,55.841 29.155,55.841C28.823,55.841 28.509,55.822 28.224,55.699C27.939,55.575 27.654,55.395 27.426,55.167C27.198,54.938 26.999,54.682 26.875,54.378C26.752,54.074 26.638,53.761 26.638,53.438C26.638,53.114 26.837,52.811 26.961,52.526C27.084,52.241 27.274,52.003 27.502,51.775C27.73,51.547 27.939,51.319 28.234,51.195C28.528,51.072 28.832,51.072 29.165,51.072C29.497,51.072 29.801,51.082 30.086,51.205C30.371,51.328 30.647,51.509 30.875,51.728C31.103,51.946 31.293,52.212 31.416,52.507C31.54,52.801 31.682,53.105 31.682,53.438L31.663,53.447Z" - android:strokeWidth="0.7315" - android:fillColor="#00000000" - android:strokeColor="#F9DBDE"/> - <path - android:pathData="M49.343,53.267C49.343,53.599 49.267,53.932 49.143,54.226C49.02,54.521 48.839,54.825 48.611,55.043C48.383,55.262 48.079,55.433 47.785,55.556C47.49,55.68 47.167,55.651 46.835,55.651C46.502,55.651 46.217,55.585 45.923,55.461C45.628,55.338 45.267,55.281 45.049,55.053C44.83,54.825 44.669,54.511 44.545,54.217C44.422,53.922 44.422,53.599 44.422,53.267C44.422,52.934 44.45,52.611 44.564,52.326C44.678,52.041 44.897,51.775 45.125,51.557C45.353,51.338 45.638,51.215 45.932,51.091C46.227,50.968 46.502,50.92 46.835,50.92C47.167,50.92 47.49,50.863 47.785,50.987C48.079,51.11 48.355,51.3 48.583,51.528C48.811,51.756 49.01,52.022 49.134,52.326C49.257,52.63 49.343,52.944 49.343,53.276V53.267Z" - android:fillColor="#F9DBDE"/> - <path - android:pathData="M49.343,53.267C49.343,53.599 49.267,53.932 49.143,54.226C49.02,54.521 48.839,54.825 48.611,55.043C48.383,55.262 48.079,55.433 47.785,55.556C47.49,55.68 47.167,55.651 46.835,55.651C46.502,55.651 46.217,55.585 45.923,55.461C45.628,55.338 45.267,55.281 45.049,55.053C44.83,54.825 44.669,54.511 44.545,54.217C44.422,53.922 44.422,53.599 44.422,53.267C44.422,52.934 44.45,52.611 44.564,52.326C44.678,52.041 44.897,51.775 45.125,51.557C45.353,51.338 45.638,51.215 45.932,51.091C46.227,50.968 46.502,50.92 46.835,50.92C47.167,50.92 47.49,50.863 47.785,50.987C48.079,51.11 48.355,51.3 48.583,51.528C48.811,51.756 49.01,52.022 49.134,52.326C49.257,52.63 49.343,52.944 49.343,53.276V53.267Z" - android:strokeWidth="0.7315" - android:fillColor="#00000000" - android:strokeColor="#F9DBDE"/> - <path - android:pathData="M34.818,52.497C35.384,52.497 35.843,51.791 35.843,50.92C35.843,50.049 35.384,49.343 34.818,49.343C34.251,49.343 33.792,50.049 33.792,50.92C33.792,51.791 34.251,52.497 34.818,52.497Z" - android:fillColor="#171717"/> - <path - android:pathData="M41.182,52.497C41.749,52.497 42.208,51.791 42.208,50.92C42.208,50.049 41.749,49.343 41.182,49.343C40.616,49.343 40.157,50.049 40.157,50.92C40.157,51.791 40.616,52.497 41.182,52.497Z" - android:fillColor="#171717"/> - <path - android:pathData="M35.445,53.884C35.445,53.884 36.243,55.613 38.114,55.613C39.986,55.613 40.565,53.884 40.565,53.884" - android:strokeWidth="1.425" - android:fillColor="#00000000" - android:strokeColor="#171717" - android:strokeLineCap="round"/> - <path - android:pathData="M19.285,39.833L24.975,45.296" - android:strokeWidth="1.425" - android:fillColor="#00000000" - android:strokeColor="#171717" - android:strokeLineCap="round"/> - <path - android:pathData="M56.715,39.833L51.024,45.296" - android:strokeWidth="1.425" - android:fillColor="#00000000" - android:strokeColor="#171717" - android:strokeLineCap="round"/> - <path - android:pathData="M18.763,76.133L24.444,70.661" - android:strokeWidth="1.425" - android:fillColor="#00000000" - android:strokeColor="#171717" - android:strokeLineCap="round"/> - <path - android:pathData="M56.183,76.133L50.502,70.661" - android:strokeWidth="1.425" - android:fillColor="#00000000" - android:strokeColor="#171717" - android:strokeLineCap="round"/> - </group> -</vector> diff --git a/feature/src/main/res/drawable/ic_terning_profile_02.xml b/feature/src/main/res/drawable/ic_terning_profile_02.xml deleted file mode 100644 index 8ba5ffc15..000000000 --- a/feature/src/main/res/drawable/ic_terning_profile_02.xml +++ /dev/null @@ -1,75 +0,0 @@ -<vector xmlns:android="http://schemas.android.com/apk/res/android" - android:width="76dp" - android:height="76dp" - android:viewportWidth="76" - android:viewportHeight="76"> - <group> - <clip-path - android:pathData="M38,0L38,0A38,38 0,0 1,76 38L76,38A38,38 0,0 1,38 76L38,76A38,38 0,0 1,0 38L0,38A38,38 0,0 1,38 0z"/> - <path - android:pathData="M76,0H0V76H76V0Z" - android:fillColor="#D4F9DE"/> - <path - android:pathData="M38,84.199H7.467V33.725C7.467,33.725 21.66,24.539 34.827,38.903L38.009,84.208L38,84.199Z" - android:strokeWidth="1.425" - android:fillColor="#5CB1F2" - android:strokeColor="#171717"/> - <path - android:pathData="M38.076,84.199H68.609V33.725C68.609,33.725 54.416,24.539 41.249,38.903L38.066,84.208L38.076,84.199Z" - android:strokeWidth="1.425" - android:fillColor="#5CB1F2" - android:strokeColor="#171717"/> - <path - android:pathData="M38,38C38,38 30.343,21.052 11.267,29.032V78.584L38,78.118L64.733,78.584V29.032C45.657,21.061 38,38 38,38Z" - android:strokeLineJoin="round" - android:strokeWidth="1.425" - android:fillColor="#ffffff" - android:strokeColor="#171717" - android:strokeLineCap="round"/> - <path - android:pathData="M38,38V43.539" - android:strokeLineJoin="round" - android:strokeWidth="1.425" - android:fillColor="#00000000" - android:strokeColor="#171717" - android:strokeLineCap="round"/> - <path - android:pathData="M37.506,63.441H38.598C38.988,63.441 39.32,63.707 39.396,64.077L41.762,75.8C41.828,76.199 41.705,76.608 41.42,76.902L39.016,79.372C38.503,79.895 37.648,79.914 37.126,79.401L34.618,76.978C34.314,76.684 34.171,76.256 34.247,75.838L36.717,64.077C36.793,63.707 37.126,63.441 37.515,63.441H37.506Z" - android:strokeWidth="1.425" - android:fillColor="#40A56B" - android:strokeColor="#171717"/> - <path - android:pathData="M39.168,63.907H36.955C36.518,63.907 36.147,63.603 36.053,63.185L35.54,60.952C35.407,60.373 35.853,59.812 36.442,59.812H39.701C40.299,59.812 40.745,60.373 40.603,60.952L40.071,63.185C39.976,63.603 39.596,63.897 39.168,63.897V63.907Z" - android:strokeWidth="1.425" - android:fillColor="#40A56B" - android:strokeColor="#171717"/> - <path - android:pathData="M31.663,53.447C31.663,53.779 31.616,54.131 31.502,54.416C31.388,54.701 31.036,54.872 30.808,55.1C30.58,55.328 30.409,55.623 30.105,55.746C29.801,55.869 29.488,55.841 29.155,55.841C28.823,55.841 28.509,55.822 28.224,55.699C27.939,55.575 27.654,55.395 27.426,55.167C27.198,54.938 26.999,54.682 26.875,54.378C26.752,54.074 26.638,53.761 26.638,53.438C26.638,53.114 26.837,52.811 26.961,52.526C27.084,52.241 27.274,52.003 27.502,51.775C27.73,51.547 27.939,51.319 28.234,51.195C28.528,51.072 28.832,51.072 29.165,51.072C29.497,51.072 29.801,51.082 30.086,51.205C30.371,51.328 30.647,51.509 30.875,51.728C31.103,51.946 31.293,52.212 31.416,52.507C31.54,52.801 31.682,53.105 31.682,53.438L31.663,53.447Z" - android:fillColor="#F9DBDE"/> - <path - android:pathData="M31.663,53.447C31.663,53.779 31.616,54.131 31.502,54.416C31.388,54.701 31.036,54.872 30.808,55.1C30.58,55.328 30.409,55.623 30.105,55.746C29.801,55.869 29.488,55.841 29.155,55.841C28.823,55.841 28.509,55.822 28.224,55.699C27.939,55.575 27.654,55.395 27.426,55.167C27.198,54.938 26.999,54.682 26.875,54.378C26.752,54.074 26.638,53.761 26.638,53.438C26.638,53.114 26.837,52.811 26.961,52.526C27.084,52.241 27.274,52.003 27.502,51.775C27.73,51.547 27.939,51.319 28.234,51.195C28.528,51.072 28.832,51.072 29.165,51.072C29.497,51.072 29.801,51.082 30.086,51.205C30.371,51.328 30.647,51.509 30.875,51.728C31.103,51.946 31.293,52.212 31.416,52.507C31.54,52.801 31.682,53.105 31.682,53.438L31.663,53.447Z" - android:strokeWidth="0.7315" - android:fillColor="#00000000" - android:strokeColor="#F9DBDE"/> - <path - android:pathData="M49.343,53.267C49.343,53.599 49.267,53.932 49.143,54.226C49.02,54.521 48.839,54.825 48.611,55.043C48.383,55.262 48.079,55.433 47.785,55.556C47.49,55.68 47.167,55.651 46.835,55.651C46.502,55.651 46.217,55.585 45.923,55.461C45.628,55.338 45.267,55.281 45.049,55.053C44.83,54.825 44.669,54.511 44.545,54.217C44.422,53.922 44.422,53.599 44.422,53.267C44.422,52.934 44.45,52.611 44.564,52.326C44.678,52.041 44.897,51.775 45.125,51.557C45.353,51.338 45.638,51.215 45.932,51.091C46.227,50.968 46.502,50.92 46.835,50.92C47.167,50.92 47.49,50.863 47.785,50.987C48.079,51.11 48.355,51.3 48.583,51.528C48.811,51.756 49.01,52.022 49.134,52.326C49.257,52.63 49.343,52.944 49.343,53.276V53.267Z" - android:fillColor="#F9DBDE"/> - <path - android:pathData="M49.343,53.267C49.343,53.599 49.267,53.932 49.143,54.226C49.02,54.521 48.839,54.825 48.611,55.043C48.383,55.262 48.079,55.433 47.785,55.556C47.49,55.68 47.167,55.651 46.835,55.651C46.502,55.651 46.217,55.585 45.923,55.461C45.628,55.338 45.267,55.281 45.049,55.053C44.83,54.825 44.669,54.511 44.545,54.217C44.422,53.922 44.422,53.599 44.422,53.267C44.422,52.934 44.45,52.611 44.564,52.326C44.678,52.041 44.897,51.775 45.125,51.557C45.353,51.338 45.638,51.215 45.932,51.091C46.227,50.968 46.502,50.92 46.835,50.92C47.167,50.92 47.49,50.863 47.785,50.987C48.079,51.11 48.355,51.3 48.583,51.528C48.811,51.756 49.01,52.022 49.134,52.326C49.257,52.63 49.343,52.944 49.343,53.276V53.267Z" - android:strokeWidth="0.7315" - android:fillColor="#00000000" - android:strokeColor="#F9DBDE"/> - <path - android:pathData="M34.818,52.497C35.384,52.497 35.843,51.791 35.843,50.92C35.843,50.049 35.384,49.343 34.818,49.343C34.251,49.343 33.792,50.049 33.792,50.92C33.792,51.791 34.251,52.497 34.818,52.497Z" - android:fillColor="#171717"/> - <path - android:pathData="M41.182,52.497C41.749,52.497 42.208,51.791 42.208,50.92C42.208,50.049 41.749,49.343 41.182,49.343C40.616,49.343 40.157,50.049 40.157,50.92C40.157,51.791 40.616,52.497 41.182,52.497Z" - android:fillColor="#171717"/> - <path - android:pathData="M35.445,53.884C35.445,53.884 36.243,55.613 38.114,55.613C39.986,55.613 40.565,53.884 40.565,53.884" - android:strokeWidth="1.425" - android:fillColor="#00000000" - android:strokeColor="#171717" - android:strokeLineCap="round"/> - </group> -</vector> diff --git a/feature/src/main/res/drawable/ic_terning_profile_03.xml b/feature/src/main/res/drawable/ic_terning_profile_03.xml deleted file mode 100644 index 25e878efb..000000000 --- a/feature/src/main/res/drawable/ic_terning_profile_03.xml +++ /dev/null @@ -1,76 +0,0 @@ -<vector xmlns:android="http://schemas.android.com/apk/res/android" - android:width="76dp" - android:height="76dp" - android:viewportWidth="76" - android:viewportHeight="76"> - <group> - <clip-path - android:pathData="M38,0L38,0A38,38 0,0 1,76 38L76,38A38,38 0,0 1,38 76L38,76A38,38 0,0 1,0 38L0,38A38,38 0,0 1,38 0z"/> - <path - android:pathData="M76.209,0H0.209V76H76.209V0Z" - android:fillColor="#C5DEF2"/> - <path - android:pathData="M57.95,77.966L67.64,49.542C68.314,47.472 67.574,45.192 65.807,43.909L41.971,26.59C40.204,25.308 37.819,25.308 36.053,26.59L12.217,43.909C10.45,45.192 9.718,47.462 10.384,49.542L19.494,77.567C20.169,79.638 22.097,81.045 24.282,81.045H53.751" - android:fillColor="#ffffff"/> - <path - android:pathData="M57.95,77.966L67.64,49.542C68.314,47.472 67.574,45.192 65.807,43.909L41.971,26.59C40.204,25.308 37.819,25.308 36.053,26.59L12.217,43.909C10.45,45.192 9.718,47.462 10.384,49.542L19.494,77.567C20.169,79.638 22.097,81.045 24.282,81.045H53.751" - android:strokeWidth="1.425" - android:fillColor="#00000000" - android:strokeColor="#171717" - android:strokeLineCap="round"/> - <path - android:pathData="M31.663,53.447C31.663,53.779 31.616,54.131 31.502,54.416C31.388,54.701 31.036,54.872 30.808,55.1C30.58,55.328 30.409,55.623 30.105,55.746C29.801,55.869 29.488,55.841 29.155,55.841C28.823,55.841 28.509,55.822 28.224,55.699C27.939,55.575 27.654,55.395 27.426,55.167C27.198,54.938 26.999,54.682 26.875,54.378C26.752,54.074 26.638,53.761 26.638,53.438C26.638,53.114 26.837,52.811 26.961,52.526C27.084,52.241 27.274,52.003 27.502,51.775C27.73,51.547 27.939,51.319 28.234,51.195C28.528,51.072 28.832,51.072 29.165,51.072C29.497,51.072 29.801,51.082 30.086,51.205C30.371,51.328 30.647,51.509 30.875,51.728C31.103,51.946 31.293,52.212 31.416,52.507C31.54,52.801 31.682,53.105 31.682,53.438L31.663,53.447Z" - android:fillColor="#F9DBDE"/> - <path - android:pathData="M31.663,53.447C31.663,53.779 31.616,54.131 31.502,54.416C31.388,54.701 31.036,54.872 30.808,55.1C30.58,55.328 30.409,55.623 30.105,55.746C29.801,55.869 29.488,55.841 29.155,55.841C28.823,55.841 28.509,55.822 28.224,55.699C27.939,55.575 27.654,55.395 27.426,55.167C27.198,54.938 26.999,54.682 26.875,54.378C26.752,54.074 26.638,53.761 26.638,53.438C26.638,53.114 26.837,52.811 26.961,52.526C27.084,52.241 27.274,52.003 27.502,51.775C27.73,51.547 27.939,51.319 28.234,51.195C28.528,51.072 28.832,51.072 29.165,51.072C29.497,51.072 29.801,51.082 30.086,51.205C30.371,51.328 30.647,51.509 30.875,51.728C31.103,51.946 31.293,52.212 31.416,52.507C31.54,52.801 31.682,53.105 31.682,53.438L31.663,53.447Z" - android:strokeWidth="0.7315" - android:fillColor="#00000000" - android:strokeColor="#F9DBDE"/> - <path - android:pathData="M49.343,53.267C49.343,53.599 49.267,53.932 49.143,54.226C49.02,54.521 48.839,54.825 48.611,55.043C48.383,55.262 48.079,55.433 47.785,55.556C47.49,55.68 47.167,55.651 46.835,55.651C46.502,55.651 46.217,55.585 45.923,55.461C45.628,55.338 45.267,55.281 45.049,55.053C44.83,54.825 44.669,54.511 44.545,54.217C44.422,53.922 44.422,53.599 44.422,53.267C44.422,52.934 44.45,52.611 44.564,52.326C44.678,52.041 44.897,51.775 45.125,51.557C45.353,51.338 45.638,51.215 45.932,51.091C46.227,50.968 46.502,50.92 46.835,50.92C47.167,50.92 47.49,50.863 47.785,50.987C48.079,51.11 48.355,51.3 48.583,51.528C48.811,51.756 49.01,52.022 49.134,52.326C49.257,52.63 49.343,52.944 49.343,53.276V53.267Z" - android:fillColor="#F9DBDE"/> - <path - android:pathData="M49.343,53.267C49.343,53.599 49.267,53.932 49.143,54.226C49.02,54.521 48.839,54.825 48.611,55.043C48.383,55.262 48.079,55.433 47.785,55.556C47.49,55.68 47.167,55.651 46.835,55.651C46.502,55.651 46.217,55.585 45.923,55.461C45.628,55.338 45.267,55.281 45.049,55.053C44.83,54.825 44.669,54.511 44.545,54.217C44.422,53.922 44.422,53.599 44.422,53.267C44.422,52.934 44.45,52.611 44.564,52.326C44.678,52.041 44.897,51.775 45.125,51.557C45.353,51.338 45.638,51.215 45.932,51.091C46.227,50.968 46.502,50.92 46.835,50.92C47.167,50.92 47.49,50.863 47.785,50.987C48.079,51.11 48.355,51.3 48.583,51.528C48.811,51.756 49.01,52.022 49.134,52.326C49.257,52.63 49.343,52.944 49.343,53.276V53.267Z" - android:strokeWidth="0.7315" - android:fillColor="#00000000" - android:strokeColor="#F9DBDE"/> - <path - android:pathData="M34.818,52.497C35.384,52.497 35.843,51.791 35.843,50.92C35.843,50.049 35.384,49.343 34.818,49.343C34.251,49.343 33.792,50.049 33.792,50.92C33.792,51.791 34.251,52.497 34.818,52.497Z" - android:fillColor="#171717"/> - <path - android:pathData="M41.182,52.497C41.749,52.497 42.208,51.791 42.208,50.92C42.208,50.049 41.749,49.343 41.182,49.343C40.616,49.343 40.157,50.049 40.157,50.92C40.157,51.791 40.616,52.497 41.182,52.497Z" - android:fillColor="#171717"/> - <path - android:pathData="M36.176,53.713H39.919C39.919,53.713 39.32,55.432 38.048,55.432C36.775,55.432 36.176,53.713 36.176,53.713Z" - android:strokeLineJoin="round" - android:strokeWidth="0.95" - android:fillColor="#7A1C2A" - android:strokeColor="#171717" - android:strokeLineCap="round"/> - <path - android:pathData="M31.749,55.879C34.724,55.879 37.136,53.467 37.136,50.493C37.136,47.518 34.724,45.106 31.749,45.106C28.774,45.106 26.362,47.518 26.362,50.493C26.362,53.467 28.774,55.879 31.749,55.879Z" - android:strokeWidth="1.235" - android:fillColor="#00000000" - android:strokeColor="#D6D6D6"/> - <path - android:pathData="M44.251,55.879C47.226,55.879 49.638,53.467 49.638,50.493C49.638,47.518 47.226,45.106 44.251,45.106C41.276,45.106 38.864,47.518 38.864,50.493C38.864,53.467 41.276,55.879 44.251,55.879Z" - android:strokeWidth="1.235" - android:fillColor="#00000000" - android:strokeColor="#D6D6D6"/> - <path - android:pathData="M37.079,49.657C37.079,49.657 37.858,49.201 38.931,49.657" - android:strokeWidth="1.235" - android:fillColor="#00000000" - android:strokeColor="#D6D6D6"/> - <path - android:pathData="M37.506,63.441H38.598C38.988,63.441 39.32,63.707 39.396,64.077L41.762,75.8C41.828,76.199 41.705,76.608 41.42,76.902L39.016,79.372C38.503,79.895 37.648,79.914 37.126,79.401L34.618,76.978C34.314,76.684 34.171,76.256 34.247,75.838L36.717,64.077C36.793,63.707 37.126,63.441 37.515,63.441H37.506Z" - android:strokeWidth="1.425" - android:fillColor="#40A56B" - android:strokeColor="#171717"/> - <path - android:pathData="M39.168,63.907H36.955C36.518,63.907 36.147,63.603 36.053,63.185L35.54,60.952C35.407,60.373 35.853,59.812 36.442,59.812H39.701C40.299,59.812 40.745,60.373 40.603,60.952L40.071,63.185C39.976,63.603 39.596,63.897 39.168,63.897V63.907Z" - android:strokeWidth="1.425" - android:fillColor="#40A56B" - android:strokeColor="#171717"/> - </group> -</vector> diff --git a/feature/src/main/res/drawable/ic_terning_profile_04.xml b/feature/src/main/res/drawable/ic_terning_profile_04.xml deleted file mode 100644 index 8b27c5c6c..000000000 --- a/feature/src/main/res/drawable/ic_terning_profile_04.xml +++ /dev/null @@ -1,74 +0,0 @@ -<vector xmlns:android="http://schemas.android.com/apk/res/android" - android:width="76dp" - android:height="76dp" - android:viewportWidth="76" - android:viewportHeight="76"> - <path - android:pathData="M76,0H0V76H76V0Z" - android:fillColor="#E9F1E4"/> - <path - android:pathData="M64.676,32.956H11.324V85.035H64.676V32.956Z" - android:strokeLineJoin="round" - android:strokeWidth="1.425" - android:fillColor="#ffffff" - android:strokeColor="#171717" - android:strokeLineCap="round"/> - <path - android:pathData="M31.663,53.447C31.663,53.779 31.616,54.131 31.502,54.416C31.388,54.701 31.036,54.872 30.808,55.1C30.58,55.328 30.409,55.623 30.105,55.746C29.801,55.869 29.488,55.841 29.155,55.841C28.823,55.841 28.509,55.822 28.224,55.699C27.939,55.575 27.654,55.395 27.426,55.167C27.198,54.938 26.999,54.682 26.875,54.378C26.752,54.074 26.638,53.761 26.638,53.438C26.638,53.114 26.837,52.811 26.961,52.526C27.084,52.241 27.274,52.003 27.502,51.775C27.73,51.547 27.939,51.319 28.234,51.195C28.528,51.072 28.832,51.072 29.165,51.072C29.497,51.072 29.801,51.082 30.086,51.205C30.371,51.328 30.647,51.509 30.875,51.728C31.103,51.946 31.293,52.212 31.416,52.507C31.54,52.801 31.682,53.105 31.682,53.438L31.663,53.447Z" - android:fillColor="#F9DBDE"/> - <path - android:pathData="M31.663,53.447C31.663,53.779 31.616,54.131 31.502,54.416C31.388,54.701 31.036,54.872 30.808,55.1C30.58,55.328 30.409,55.623 30.105,55.746C29.801,55.869 29.488,55.841 29.155,55.841C28.823,55.841 28.509,55.822 28.224,55.699C27.939,55.575 27.654,55.395 27.426,55.167C27.198,54.938 26.999,54.682 26.875,54.378C26.752,54.074 26.638,53.761 26.638,53.438C26.638,53.114 26.837,52.811 26.961,52.526C27.084,52.241 27.274,52.003 27.502,51.775C27.73,51.547 27.939,51.319 28.234,51.195C28.528,51.072 28.832,51.072 29.165,51.072C29.497,51.072 29.801,51.082 30.086,51.205C30.371,51.328 30.647,51.509 30.875,51.728C31.103,51.946 31.293,52.212 31.416,52.507C31.54,52.801 31.682,53.105 31.682,53.438L31.663,53.447Z" - android:strokeWidth="0.7315" - android:fillColor="#00000000" - android:strokeColor="#F9DBDE"/> - <path - android:pathData="M49.343,53.267C49.343,53.599 49.267,53.932 49.143,54.226C49.02,54.521 48.839,54.825 48.611,55.043C48.383,55.262 48.079,55.433 47.785,55.556C47.49,55.68 47.167,55.651 46.835,55.651C46.502,55.651 46.217,55.585 45.923,55.461C45.628,55.338 45.267,55.281 45.049,55.053C44.83,54.825 44.669,54.511 44.545,54.217C44.422,53.922 44.422,53.599 44.422,53.267C44.422,52.934 44.45,52.611 44.564,52.326C44.678,52.041 44.897,51.775 45.125,51.557C45.353,51.338 45.638,51.215 45.932,51.091C46.227,50.968 46.502,50.92 46.835,50.92C47.167,50.92 47.49,50.863 47.785,50.987C48.079,51.11 48.355,51.3 48.583,51.528C48.811,51.756 49.01,52.022 49.134,52.326C49.257,52.63 49.343,52.944 49.343,53.276V53.267Z" - android:fillColor="#F9DBDE"/> - <path - android:pathData="M49.343,53.267C49.343,53.599 49.267,53.932 49.143,54.226C49.02,54.521 48.839,54.825 48.611,55.043C48.383,55.262 48.079,55.433 47.785,55.556C47.49,55.68 47.167,55.651 46.835,55.651C46.502,55.651 46.217,55.585 45.923,55.461C45.628,55.338 45.267,55.281 45.049,55.053C44.83,54.825 44.669,54.511 44.545,54.217C44.422,53.922 44.422,53.599 44.422,53.267C44.422,52.934 44.45,52.611 44.564,52.326C44.678,52.041 44.897,51.775 45.125,51.557C45.353,51.338 45.638,51.215 45.932,51.091C46.227,50.968 46.502,50.92 46.835,50.92C47.167,50.92 47.49,50.863 47.785,50.987C48.079,51.11 48.355,51.3 48.583,51.528C48.811,51.756 49.01,52.022 49.134,52.326C49.257,52.63 49.343,52.944 49.343,53.276V53.267Z" - android:strokeWidth="0.7315" - android:fillColor="#00000000" - android:strokeColor="#F9DBDE"/> - <path - android:pathData="M37.506,63.441H38.598C38.988,63.441 39.32,63.707 39.396,64.077L41.762,75.8C41.828,76.199 41.705,76.608 41.42,76.902L39.016,79.372C38.503,79.895 37.648,79.914 37.126,79.401L34.618,76.978C34.314,76.684 34.171,76.256 34.247,75.838L36.717,64.077C36.793,63.707 37.126,63.441 37.515,63.441H37.506Z" - android:strokeWidth="1.425" - android:fillColor="#A6B7FF" - android:strokeColor="#171717"/> - <path - android:pathData="M39.168,63.907H36.955C36.518,63.907 36.147,63.603 36.053,63.185L35.54,60.952C35.407,60.373 35.853,59.812 36.442,59.812H39.701C40.299,59.812 40.745,60.373 40.603,60.952L40.071,63.185C39.976,63.603 39.596,63.897 39.168,63.897V63.907Z" - android:strokeWidth="1.425" - android:fillColor="#A6B7FF" - android:strokeColor="#171717"/> - <path - android:pathData="M34.818,52.497C35.384,52.497 35.843,51.791 35.843,50.92C35.843,50.049 35.384,49.343 34.818,49.343C34.251,49.343 33.792,50.049 33.792,50.92C33.792,51.791 34.251,52.497 34.818,52.497Z" - android:fillColor="#171717"/> - <path - android:pathData="M41.182,52.497C41.749,52.497 42.208,51.791 42.208,50.92C42.208,50.049 41.749,49.343 41.182,49.343C40.616,49.343 40.157,50.049 40.157,50.92C40.157,51.791 40.616,52.497 41.182,52.497Z" - android:fillColor="#171717"/> - <path - android:pathData="M36.176,53.713H39.919C39.919,53.713 39.32,55.432 38.048,55.432C36.775,55.432 36.176,53.713 36.176,53.713Z" - android:strokeLineJoin="round" - android:strokeWidth="0.95" - android:fillColor="#7A1C2A" - android:strokeColor="#171717" - android:strokeLineCap="round"/> - <path - android:pathData="M14.62,27.541H61.37C63.194,27.541 64.666,29.022 64.666,30.837V41.857H11.324V30.837C11.324,29.013 12.806,27.541 14.62,27.541Z" - android:strokeWidth="1.425" - android:fillColor="#40A56B" - android:strokeColor="#171717"/> - <path - android:pathData="M25.906,24.463C25.906,23.319 24.979,22.392 23.835,22.392C22.692,22.392 21.764,23.319 21.764,24.463V29.735C21.764,30.879 22.692,31.806 23.835,31.806C24.979,31.806 25.906,30.879 25.906,29.735V24.463Z" - android:strokeLineJoin="round" - android:strokeWidth="1.425" - android:fillColor="#C9C9C9" - android:strokeColor="#171717" - android:strokeLineCap="round"/> - <path - android:pathData="M54.397,24.463C54.397,23.319 53.47,22.392 52.326,22.392C51.182,22.392 50.255,23.319 50.255,24.463V29.735C50.255,30.879 51.182,31.806 52.326,31.806C53.47,31.806 54.397,30.879 54.397,29.735V24.463Z" - android:strokeLineJoin="round" - android:strokeWidth="1.425" - android:fillColor="#C9C9C9" - android:strokeColor="#171717" - android:strokeLineCap="round"/> -</vector> diff --git a/feature/src/main/res/drawable/ic_terning_profile_05.xml b/feature/src/main/res/drawable/ic_terning_profile_05.xml deleted file mode 100644 index 9a32c789e..000000000 --- a/feature/src/main/res/drawable/ic_terning_profile_05.xml +++ /dev/null @@ -1,73 +0,0 @@ -<vector xmlns:android="http://schemas.android.com/apk/res/android" - android:width="76dp" - android:height="76dp" - android:viewportWidth="76" - android:viewportHeight="76"> - <group> - <clip-path - android:pathData="M38,0L38,0A38,38 0,0 1,76 38L76,38A38,38 0,0 1,38 76L38,76A38,38 0,0 1,0 38L0,38A38,38 0,0 1,38 0z"/> - <path - android:pathData="M76,0H0V76H76V0Z" - android:fillColor="#E6FFF6"/> - <path - android:pathData="M21.67,80.085C21.67,80.085 7.448,75.553 12.986,55.432C16.653,42.113 12.797,39.083 10.915,36.869C10.915,36.869 18.041,37.876 20.188,43.662C22.334,49.447 29.194,43.662 26.913,35.055C24.633,26.448 38.741,20.805 38.741,20.805C38.741,20.805 36.319,30.751 42.104,31.825C47.889,32.898 50.303,27.122 50.303,27.122C50.303,27.122 47.376,41.211 54.891,41.781C60.867,42.227 64.477,37.382 64.477,37.382C64.477,37.382 59.251,45.296 63.08,54.463C68.941,68.514 59.451,79.154 56.221,80.094H21.67V80.085Z" - android:strokeLineJoin="round" - android:strokeWidth="1.425" - android:fillColor="#FF6969" - android:strokeColor="#000000" - android:strokeLineCap="round"/> - <path - android:pathData="M37.506,63.441H38.598C38.988,63.441 39.32,63.707 39.396,64.077L41.762,75.8C41.828,76.199 41.705,76.608 41.42,76.902L39.016,79.372C38.503,79.895 37.648,79.914 37.126,79.401L34.618,76.978C34.314,76.684 34.171,76.256 34.247,75.838L36.717,64.077C36.793,63.707 37.126,63.441 37.515,63.441H37.506Z" - android:strokeWidth="1.425" - android:fillColor="#40A56B" - android:strokeColor="#171717"/> - <path - android:pathData="M39.168,63.907H36.955C36.518,63.907 36.147,63.603 36.053,63.185L35.54,60.952C35.407,60.373 35.853,59.812 36.442,59.812H39.701C40.299,59.812 40.745,60.373 40.603,60.952L40.071,63.185C39.976,63.603 39.596,63.897 39.168,63.897V63.907Z" - android:strokeWidth="1.425" - android:fillColor="#40A56B" - android:strokeColor="#171717"/> - <path - android:pathData="M31.663,53.447C31.663,53.779 31.616,54.131 31.502,54.416C31.388,54.701 31.036,54.872 30.808,55.1C30.58,55.328 30.409,55.623 30.105,55.746C29.801,55.869 29.488,55.841 29.155,55.841C28.823,55.841 28.509,55.822 28.224,55.699C27.939,55.575 27.654,55.395 27.426,55.167C27.198,54.938 26.999,54.682 26.875,54.378C26.752,54.074 26.638,53.761 26.638,53.438C26.638,53.114 26.837,52.811 26.961,52.526C27.084,52.241 27.274,52.003 27.502,51.775C27.73,51.547 27.939,51.319 28.234,51.195C28.528,51.072 28.832,51.072 29.165,51.072C29.497,51.072 29.801,51.082 30.086,51.205C30.371,51.328 30.647,51.509 30.875,51.728C31.103,51.946 31.293,52.212 31.416,52.507C31.54,52.801 31.682,53.105 31.682,53.438L31.663,53.447Z" - android:fillColor="#F9DBDE"/> - <path - android:pathData="M31.663,53.447C31.663,53.779 31.616,54.131 31.502,54.416C31.388,54.701 31.036,54.872 30.808,55.1C30.58,55.328 30.409,55.623 30.105,55.746C29.801,55.869 29.488,55.841 29.155,55.841C28.823,55.841 28.509,55.822 28.224,55.699C27.939,55.575 27.654,55.395 27.426,55.167C27.198,54.938 26.999,54.682 26.875,54.378C26.752,54.074 26.638,53.761 26.638,53.438C26.638,53.114 26.837,52.811 26.961,52.526C27.084,52.241 27.274,52.003 27.502,51.775C27.73,51.547 27.939,51.319 28.234,51.195C28.528,51.072 28.832,51.072 29.165,51.072C29.497,51.072 29.801,51.082 30.086,51.205C30.371,51.328 30.647,51.509 30.875,51.728C31.103,51.946 31.293,52.212 31.416,52.507C31.54,52.801 31.682,53.105 31.682,53.438L31.663,53.447Z" - android:strokeWidth="0.7315" - android:fillColor="#00000000" - android:strokeColor="#F9DBDE"/> - <path - android:pathData="M49.343,53.267C49.343,53.599 49.267,53.932 49.143,54.226C49.02,54.521 48.839,54.825 48.611,55.043C48.383,55.262 48.079,55.433 47.785,55.556C47.49,55.68 47.167,55.651 46.835,55.651C46.502,55.651 46.217,55.585 45.923,55.461C45.628,55.338 45.267,55.281 45.049,55.053C44.83,54.825 44.669,54.511 44.545,54.217C44.422,53.922 44.422,53.599 44.422,53.267C44.422,52.934 44.45,52.611 44.564,52.326C44.678,52.041 44.897,51.775 45.125,51.557C45.353,51.338 45.638,51.215 45.932,51.091C46.227,50.968 46.502,50.92 46.835,50.92C47.167,50.92 47.49,50.863 47.785,50.987C48.079,51.11 48.355,51.3 48.583,51.528C48.811,51.756 49.01,52.022 49.134,52.326C49.257,52.63 49.343,52.944 49.343,53.276V53.267Z" - android:fillColor="#F9DBDE"/> - <path - android:pathData="M49.343,53.267C49.343,53.599 49.267,53.932 49.143,54.226C49.02,54.521 48.839,54.825 48.611,55.043C48.383,55.262 48.079,55.433 47.785,55.556C47.49,55.68 47.167,55.651 46.835,55.651C46.502,55.651 46.217,55.585 45.923,55.461C45.628,55.338 45.267,55.281 45.049,55.053C44.83,54.825 44.669,54.511 44.545,54.217C44.422,53.922 44.422,53.599 44.422,53.267C44.422,52.934 44.45,52.611 44.564,52.326C44.678,52.041 44.897,51.775 45.125,51.557C45.353,51.338 45.638,51.215 45.932,51.091C46.227,50.968 46.502,50.92 46.835,50.92C47.167,50.92 47.49,50.863 47.785,50.987C48.079,51.11 48.355,51.3 48.583,51.528C48.811,51.756 49.01,52.022 49.134,52.326C49.257,52.63 49.343,52.944 49.343,53.276V53.267Z" - android:strokeWidth="0.7315" - android:fillColor="#00000000" - android:strokeColor="#F9DBDE"/> - <path - android:pathData="M34.818,52.497C35.384,52.497 35.843,51.791 35.843,50.92C35.843,50.049 35.384,49.343 34.818,49.343C34.251,49.343 33.792,50.049 33.792,50.92C33.792,51.791 34.251,52.497 34.818,52.497Z" - android:fillColor="#171717"/> - <path - android:pathData="M41.182,52.497C41.749,52.497 42.208,51.791 42.208,50.92C42.208,50.049 41.749,49.343 41.182,49.343C40.616,49.343 40.157,50.049 40.157,50.92C40.157,51.791 40.616,52.497 41.182,52.497Z" - android:fillColor="#171717"/> - <path - android:pathData="M63.621,34.371C63.621,34.371 66.975,30.837 65.179,28.262C63.384,25.688 65.179,22.106 65.179,22.106C65.179,22.106 60.505,25.631 61.246,28.101C62.082,30.903 63.051,29.07 63.621,34.38V34.371Z" - android:strokeLineJoin="round" - android:strokeWidth="1.425" - android:fillColor="#FF6969" - android:strokeColor="#000000" - android:strokeLineCap="round"/> - <path - android:pathData="M10.583,33.602C10.583,33.602 13.623,30.258 10.583,26.477C10.583,26.477 8.066,29.669 10.583,33.602Z" - android:strokeLineJoin="round" - android:strokeWidth="1.425" - android:fillColor="#FF6969" - android:strokeColor="#000000" - android:strokeLineCap="round"/> - <path - android:pathData="M36.176,53.713H39.919C39.919,53.713 39.32,55.432 38.048,55.432C36.775,55.432 36.176,53.713 36.176,53.713Z" - android:strokeLineJoin="round" - android:strokeWidth="0.95" - android:fillColor="#7A1C2A" - android:strokeColor="#171717" - android:strokeLineCap="round"/> - </group> -</vector>