diff --git a/src/Routes/Login/Login.tsx b/src/Routes/Login/Login.tsx index f51e7ef..a70ad64 100644 --- a/src/Routes/Login/Login.tsx +++ b/src/Routes/Login/Login.tsx @@ -1,12 +1,58 @@ import * as React from 'react'; -import {View, Text} from 'react-native'; +import {View, Text, TextInput} from 'react-native'; import styles from '../../styles'; import Background from '../../Components/Background/Background'; +import { SafeAreaView} from "react-native"; +import { StatusBar } from "expo-status-bar"; +import { useState } from "react"; +import {TouchableOpacity,} from "react-native"; + + export default function Login() { + const [username, setUsername] = useState(""); + const [password, setPassword] = useState(""); + return ( - Login - - ); -} + + + + Login to Clip Notes + + + + + + + + + + + Forgot Password? + + + LOGIN + + + REGISTER + + + + +); +}; + diff --git a/src/Routes/Register/Register.tsx b/src/Routes/Register/Register.tsx index 198b2a6..e2a3297 100644 --- a/src/Routes/Register/Register.tsx +++ b/src/Routes/Register/Register.tsx @@ -1,12 +1,56 @@ import * as React from 'react'; -import {View, Text} from 'react-native'; +import {View, Text, TextInput} from 'react-native'; import styles from '../../styles'; import Background from '../../Components/Background/Background'; +import { SafeAreaView } from 'react-native-safe-area-context'; +import { useState } from "react"; +import {TouchableOpacity} from "react-native"; export default function Register() { + const [username, setUsername] = useState(""); + const [email, setEmail] = useState(""); + const [password, setPassword] = useState(""); + return ( - Register + + + + Create an Account + + + + + + + + + + + REGISTER + + + + ); } diff --git a/src/styles.tsx b/src/styles.tsx index 4b2caff..4b059d6 100644 --- a/src/styles.tsx +++ b/src/styles.tsx @@ -1,4 +1,6 @@ import {StyleSheet} from 'react-native'; + + const styles = StyleSheet.create({ background: { backgroundColor: '#002d4c', @@ -30,6 +32,77 @@ const styles = StyleSheet.create({ flexDirection: 'column', alignItems: 'center', }, + input: { + height: 40, + margin: 12, + borderWidth: 1, + }, + + inputView: { + backgroundColor: "black", + borderRadius: 30, + width: "70%", + height: 45, + marginBottom: 20, + + }, + TextInput: { + color: 'white', + height: 50, + flex: 1, + padding: 10, + marginLeft: 5, + }, + forgot_button: { + fontWeight: 'bold', + color: 'white', + height: 30, + marginBottom: 10, + }, + loginBtn: { + width: "50%", + borderRadius: 25, + height: 50, + alignItems: "center", + justifyContent: "center", + backgroundColor: "lightgreen", + }, + registerbtn: { + width: "80%", + borderRadius: 25, + height: 50, + alignItems: "center", + justifyContent: "center", + marginTop: 40, + backgroundColor: "orange", + }, + loginText:{ + color: 'white', + fontWeight: 'bold', + fontSize: 20, + }, + registertext:{ + color: 'white', + fontWeight: 'bold', + fontSize: 20, + + }, + container: { + marginTop: 30, + marginLeft: 22, + height: 500, + width: 350, + borderRadius: 25, + backgroundColor: 'blue', + alignItems: "center", + justifyContent: "center", + }, + loginlabel:{ + fontWeight: 'bold', + fontSize: 25, + marginBottom: 30, + color: 'white', + }, }); export default styles;