diff options
| author | MohamedBassem <me@mbassem.com> | 2024-03-11 00:15:36 +0000 |
|---|---|---|
| committer | MohamedBassem <me@mbassem.com> | 2024-03-11 00:15:36 +0000 |
| commit | b5fb0a1978eaa3d1fc6457a8c9b70741b65c2c66 (patch) | |
| tree | a5669b5dbd08efc0fa9d1c564dd0745ac4604f08 /app | |
| parent | 31a8d46644606fe5778677d78c137decf5f5da45 (diff) | |
| download | karakeep-b5fb0a1978eaa3d1fc6457a8c9b70741b65c2c66.tar.zst | |
feature(mobile): A reasonablly looking signin form
Diffstat (limited to 'app')
| -rw-r--r-- | app/signin.tsx | 22 |
1 files changed, 15 insertions, 7 deletions
diff --git a/app/signin.tsx b/app/signin.tsx index 641d1b97..cc8dde79 100644 --- a/app/signin.tsx +++ b/app/signin.tsx @@ -1,16 +1,24 @@ +import { View, Text } from "react-native"; + import Logo from "@/components/Logo"; import { Button } from "@/components/ui/Button"; import { Input } from "@/components/ui/Input"; -import { TextInput, View } from "react-native"; export default function Signin() { return ( - <View className="items-center justify-center h-full"> - <Logo /> - - <Input /> - <Button label="Sign In" /> - + <View className="justify-center h-full flex flex-col gap-2 container"> + <View className="items-center"> + <Logo /> + </View> + <View className="gap-2"> + <Text className="font-bold">Email</Text> + <Input className="w-full" placeholder="Email" /> + </View> + <View className="gap-2"> + <Text className="font-bold">Password</Text> + <Input className="w-full" placeholder="Password" secureTextEntry /> + </View> + <Button className="w-full" label="Sign In" /> </View> ); } |
