feat: optimise logo placement
Signed-off-by: Infi <infi@infi.sh>
This commit is contained in:
parent
f053f0f691
commit
0b80f648c5
|
|
@ -76,8 +76,8 @@ fun LoginGreetingScreen(navController: NavController) {
|
|||
contentDescription = "Stoat",
|
||||
contentScale = ContentScale.Fit,
|
||||
modifier = Modifier
|
||||
.height(55.dp)
|
||||
.padding(bottom = 10.dp)
|
||||
.height(100.dp)
|
||||
.padding(bottom = 15.dp)
|
||||
.combinedClickable(
|
||||
interactionSource = remember(::MutableInteractionSource),
|
||||
indication = null,
|
||||
|
|
|
|||
|
|
@ -1,6 +1,5 @@
|
|||
package chat.stoat.screens.register
|
||||
|
||||
import androidx.compose.foundation.Image
|
||||
import androidx.compose.foundation.layout.Arrangement
|
||||
import androidx.compose.foundation.layout.Column
|
||||
import androidx.compose.foundation.layout.Row
|
||||
|
|
@ -10,7 +9,6 @@ import androidx.compose.foundation.layout.fillMaxWidth
|
|||
import androidx.compose.foundation.layout.height
|
||||
import androidx.compose.foundation.layout.padding
|
||||
import androidx.compose.foundation.layout.safeDrawingPadding
|
||||
import androidx.compose.foundation.layout.size
|
||||
import androidx.compose.foundation.layout.width
|
||||
import androidx.compose.material3.Button
|
||||
import androidx.compose.material3.MaterialTheme
|
||||
|
|
@ -19,7 +17,6 @@ import androidx.compose.material3.TextButton
|
|||
import androidx.compose.runtime.Composable
|
||||
import androidx.compose.ui.Alignment
|
||||
import androidx.compose.ui.Modifier
|
||||
import androidx.compose.ui.res.painterResource
|
||||
import androidx.compose.ui.res.stringResource
|
||||
import androidx.compose.ui.text.font.FontWeight
|
||||
import androidx.compose.ui.text.style.TextAlign
|
||||
|
|
@ -58,15 +55,6 @@ fun RegisterGreetingScreen(navController: NavController) {
|
|||
|
||||
Spacer(modifier = Modifier.height(20.dp))
|
||||
|
||||
Image(
|
||||
painter = painterResource(id = R.drawable.revolt_onboarding),
|
||||
contentDescription = stringResource(id = R.string.register_image_alt),
|
||||
modifier = Modifier
|
||||
.size(300.dp)
|
||||
)
|
||||
|
||||
Spacer(modifier = Modifier.height(20.dp))
|
||||
|
||||
Text(
|
||||
text = stringResource(R.string.register_instructions),
|
||||
color = MaterialTheme.colorScheme.onBackground.copy(
|
||||
|
|
|
|||
|
|
@ -1,24 +0,0 @@
|
|||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="844dp"
|
||||
android:height="159dp"
|
||||
android:viewportWidth="844"
|
||||
android:viewportHeight="159">
|
||||
<path
|
||||
android:pathData="M29.96,156.36C29.96,109.28 29.96,78.41 29.96,38.33L0,2.6H96.89C108.4,2.6 118.47,4.68 127.11,8.84C135.74,12.99 142.45,18.97 147.25,26.78C152.04,34.59 154.44,43.95 154.44,54.86C154.44,65.87 151.97,75.15 147.02,82.71C142.12,90.27 135.23,95.97 126.35,99.83C117.51,103.68 107.19,105.61 95.38,105.61H55.4V73.18H86.9C91.85,73.18 96.06,72.58 99.54,71.37C103.08,70.12 105.78,68.15 107.65,65.44C109.56,62.74 110.52,59.21 110.52,54.86C110.52,50.45 109.56,46.87 107.65,44.12C105.78,41.32 103.08,39.27 99.54,37.96C96.06,36.61 91.85,35.94 86.9,35.94H72.06V156.36H29.96ZM120.82,85.79L159.59,156.36H113.86L76,85.79H120.82Z"
|
||||
android:fillColor="#ffffff"/>
|
||||
<path
|
||||
android:pathData="M176.35,156.36V2.42H217.36V156.36H176.35ZM205.17,156.36L205.17,123.36H268.35L268.35,156.36H205.17ZM205.17,97.51L205.17,65.44H268.35L268.35,97.51H205.17ZM205.17,37.96L205.17,2.42H268.35V37.96H205.17Z"
|
||||
android:fillColor="#ffffff"/>
|
||||
<path
|
||||
android:pathData="M350.61,156.36L405.15,2.42H449.48L390.29,156.36H350.61ZM345.96,156.36L286.32,2.42H330.66L385.64,156.36H345.96Z"
|
||||
android:fillColor="#ffffff"/>
|
||||
<path
|
||||
android:pathData="M535.38,159C519.13,159 504.71,155.63 492.15,148.88C479.74,141.99 469.98,132.61 462.89,120.73C455.8,108.71 452.25,95 452.25,79.61C452.25,64.07 455.8,50.36 462.89,38.49C469.98,26.46 479.74,17.08 492.15,10.34C504.57,3.45 518.83,0 534.94,0C551.2,0 565.53,3.45 577.95,10.34C590.36,17.08 600.11,26.46 607.21,38.49C614.3,50.36 617.85,64.07 617.85,79.61C617.85,95 614.3,108.71 607.21,120.73C600.26,132.61 590.58,141.99 578.17,148.88C565.75,155.63 551.49,159 535.38,159ZM535.38,121.61C543.36,121.61 550.38,119.86 556.44,116.34C562.5,112.67 567.23,107.69 570.63,101.38C574.03,95.08 575.73,87.82 575.73,79.61C575.73,71.4 573.96,64.14 570.41,57.84C567.01,51.39 562.21,46.4 556,42.88C549.94,39.22 542.92,37.39 534.94,37.39C527.1,37.39 520.09,39.22 513.88,42.88C507.82,46.4 503.02,51.39 499.47,57.84C496.07,64.14 494.37,71.4 494.37,79.61C494.37,87.82 496.14,95.08 499.69,101.38C503.24,107.69 508.04,112.67 514.1,116.34C520.31,119.86 527.4,121.61 535.38,121.61Z"
|
||||
android:fillColor="#ffffff"/>
|
||||
<path
|
||||
android:pathData="M636.66,156.36V2.42H677.68V156.36H636.66ZM659.72,156.36L659.72,121.61L727.59,121.61L727.59,156.36L659.72,156.36Z"
|
||||
android:fillColor="#ffffff"/>
|
||||
<path
|
||||
android:pathData="M759.31,156.36V15.17H800.33V156.36H759.31ZM715.42,37.39L715.42,2.42H844L844,37.39H715.42Z"
|
||||
android:fillColor="#ffffff"/>
|
||||
</vector>
|
||||
|
|
@ -1,27 +0,0 @@
|
|||
<vector xmlns:android="http://schemas.android.com/apk/res/android"
|
||||
android:width="113.68dp"
|
||||
android:height="186.04dp"
|
||||
android:viewportWidth="113.68"
|
||||
android:viewportHeight="186.04">
|
||||
<path
|
||||
android:pathData="m16.4,82.04c-4.55,-0.64 -8.73,2.52 -9.37,7.07l-6.94,49.6c-0.64,4.55 2.52,8.74 7.07,9.37l74.16,10.38 20.8,27.57 4.54,-32.41 5.02,-35.84 1.93,-13.76c0.64,-4.55 -2.52,-8.73 -7.07,-9.37z"
|
||||
android:strokeWidth="0.445733"
|
||||
android:fillColor="#1c243c" />
|
||||
<path
|
||||
android:pathData="m65.51,116.45c-0.41,2.91 -2.24,4.44 -5.64,3.97l-5.62,-0.79 1.29,-9.22 5.62,0.79c3.39,0.47 4.73,2.5 4.34,5.26zM42.11,100.86 L46.49,109.16 42.34,138.82 51.4,140.09 53.36,126.05 55.54,126.35 61.31,141.48 71.54,142.91 65.02,126.98c5.11,-0.51 9.17,-4.5 9.77,-9.6 0.91,-6.47 -2.92,-12.35 -12.03,-13.63z"
|
||||
android:strokeWidth="1.05602"
|
||||
android:fillColor="#ff4654"
|
||||
android:strokeColor="#ff4654" />
|
||||
<path
|
||||
android:pathData="m105.84,54.37 l-29.08,8.08a3.35,3.35 0,0 0,-2.33 4.13l3.59,12.92a3.35,3.35 0,0 0,4.13 2.33l29.08,-8.08a3.35,3.35 0,0 0,2.33 -4.13l-3.59,-12.92a3.35,3.35 0,0 0,-4.13 -2.33m-13.01,15.8 l-4.85,1.35 1.35,4.85 -3.23,0.9 -1.35,-4.85 -4.85,1.35 -0.9,-3.23 4.85,-1.35 -1.35,-4.85 3.23,-0.9 1.35,4.85 4.85,-1.35m9.06,4.44a2.51,2.51 0,0 1,-3.1 -1.75,2.51 2.51,0 0,1 1.75,-3.1 2.51,2.51 0,0 1,3.1 1.75,2.51 2.51,0 0,1 -1.75,3.1m5.12,-6.64a2.51,2.51 0,0 1,-3.1 -1.75,2.51 2.51,0 0,1 1.75,-3.1 2.51,2.51 0,0 1,3.1 1.75,2.51 2.51,0 0,1 -1.75,3.1z"
|
||||
android:strokeWidth="1.67655"
|
||||
android:fillColor="#6fe465" />
|
||||
<path
|
||||
android:pathData="m25.33,54.07c-0.73,1.26 -2.32,1.69 -3.57,0.96L3.62,44.58c-1.25,-0.72 -1.69,-2.32 -0.96,-3.57 0.73,-1.26 2.33,-1.68 3.57,-0.96l10.2,5.88 1.53,3.9 4.14,-0.63 2.27,1.31c1.26,0.73 1.68,2.33 0.96,3.57M20.53,36.2c-10.2,-5.88 -14.12,0.92 -14.12,0.92l20.41,11.76c0,0 3.92,-6.8 -6.28,-12.68M0.53,47.33c-1.08,1.88 -0.44,4.28 1.44,5.36l13.6,7.84c1.88,1.08 4.28,0.44 5.36,-1.44L21.59,57.95 1.18,46.19Z"
|
||||
android:strokeWidth="1.30846"
|
||||
android:fillColor="#00abff" />
|
||||
<path
|
||||
android:pathData="m80.17,19.65c3.38,0.12 7.09,0.49 10.95,1.22l-1.18,6.16 -26.2,-5c0.19,-1 5.56,-2.36 13.24,-2.43l1.91,-10.02c-1.37,0.14 -2.63,0.79 -3.54,1.8 -0.64,-1.75 -2.17,-3.13 -4.12,-3.5 -1.96,-0.37 -3.88,0.35 -5.12,1.74 1.1,-5.51 7.31,-9.02 14.36,-8.3l0.01,-0.06c0.16,-0.85 0.98,-1.41 1.83,-1.25 0.85,0.16 1.41,0.98 1.25,1.83l-0.01,0.06c6.82,1.92 11.29,7.47 10.3,13 -0.64,-1.75 -2.17,-3.13 -4.12,-3.5 -1.96,-0.37 -3.88,0.35 -5.12,1.74 -0.48,-1.27 -1.41,-2.34 -2.62,-2.99l-1.81,9.48"
|
||||
android:strokeWidth="1.5689"
|
||||
android:fillColor="#fbe94e" />
|
||||
</vector>
|
||||
Loading…
Reference in New Issue