feat(mobile): optimize login styles
This commit is contained in:
@@ -120,9 +120,6 @@ export function EmailLogin() {
|
||||
/>
|
||||
</View>
|
||||
</View>
|
||||
<TouchableOpacity className="mx-auto mt-2" onPress={() => router.push("/forget-password")}>
|
||||
<Text className="text-accent m-[6] text-[16px]">Forgot password?</Text>
|
||||
</TouchableOpacity>
|
||||
|
||||
<SubmitButton
|
||||
disabled={submitMutation.isPending || !formState.isValid}
|
||||
@@ -131,8 +128,11 @@ export function EmailLogin() {
|
||||
title="Continue"
|
||||
className="mt-8"
|
||||
/>
|
||||
<TouchableOpacity className="mx-auto mt-2" onPress={() => router.push("/sign-up")}>
|
||||
<Text className="text-secondary-label m-1 text-sm">Don't have an Follow account?</Text>
|
||||
<TouchableOpacity className="mx-auto mt-10" onPress={() => router.push("/sign-up")}>
|
||||
<Text className="text-accent m-1 text-[15px]">Don't have an account? Sign Up</Text>
|
||||
</TouchableOpacity>
|
||||
<TouchableOpacity className="mx-auto mt-4" onPress={() => router.push("/forget-password")}>
|
||||
<Text className="text-secondary-label m-[6] text-[15px]">Forgot password?</Text>
|
||||
</TouchableOpacity>
|
||||
</View>
|
||||
)
|
||||
|
||||
@@ -20,7 +20,7 @@ export function Login() {
|
||||
}}
|
||||
accessible={false}
|
||||
>
|
||||
<View className="mb-16 items-center gap-8">
|
||||
<View className="mb-10 items-center gap-8">
|
||||
<Logo style={{ width: 80, height: 80 }} />
|
||||
<Text className="text-label text-3xl">
|
||||
Sign in to <Text className="font-bold">Follow</Text>
|
||||
|
||||
@@ -50,7 +50,7 @@ export function SocialLogin() {
|
||||
<TouchableOpacity
|
||||
key={key}
|
||||
hitSlop={20}
|
||||
className="border-opaque-separator border-hairline rounded-full p-2"
|
||||
className="border-opaque-separator border-hairline rounded-full p-3"
|
||||
onPress={async () => {
|
||||
if (!data?.[providerInfo.id]) return
|
||||
|
||||
@@ -88,8 +88,8 @@ export function SocialLogin() {
|
||||
disabled={!data?.[providerInfo.id]}
|
||||
>
|
||||
<providerInfo.icon
|
||||
width={24}
|
||||
height={24}
|
||||
width={26}
|
||||
height={26}
|
||||
color={colorScheme === "dark" ? providerInfo.darkColor : providerInfo.color}
|
||||
/>
|
||||
</TouchableOpacity>
|
||||
|
||||
@@ -40,7 +40,7 @@ export default function ForgetPassword() {
|
||||
<KeyboardAvoidingView behavior="padding" style={{ flex: 1 }}>
|
||||
<View className="p-safe px-safe-offset-4 flex-1 justify-between">
|
||||
<View className="items-center">
|
||||
<Text className="text-text text-4xl font-bold">Forgotten password?</Text>
|
||||
<Text className="text-text text-4xl font-bold">Forgot password?</Text>
|
||||
<Text className="text-text mx-10 mt-6 text-lg">
|
||||
Enter your email address that you use with your account to continue.
|
||||
</Text>
|
||||
|
||||
Reference in New Issue
Block a user