diff --git a/client/src/Authentication/Login.tsx b/client/src/Authentication/Login.tsx
index 03cb984..6e63a2b 100644
--- a/client/src/Authentication/Login.tsx
+++ b/client/src/Authentication/Login.tsx
@@ -14,9 +14,14 @@ import {
Jost_500Medium,
Jost_700Bold,
} from "@expo-google-fonts/jost";
+import { styled } from 'nativewind';
import { Profile, Field } from "./Components";
+const StyledGradient = styled(LinearGradient)
+const StyledView = styled(SafeAreaView)
+const StyledTouchableOpacity = styled(TouchableOpacity)
+const StyledText = styled(Text)
function Login(props: any) {
@@ -39,16 +44,16 @@ function Login(props: any) {
console.log(err)
}
}
-
+ // #b1caf2 for border bg
return (
Keyboard.dismiss()}>
-
-
+
-
-
+ props.navigateTo("Start")}
- style={styles.ButtonContainer}
>
- Sign In
-
- Sign In
+
+ props.toggleLogin()}
- style={styles.button}
>
- Sign Up
-
-
-
-
+ Sign Up
+
+
+
+
);
}
@@ -86,14 +91,13 @@ function SignUp(props: any) {
return (
Keyboard.dismiss()}>
-
-
+
-
-
+ props.navigateTo("Start")}
- style={styles.ButtonContainer}
>
- Sign Up
-
- Sign Up
+
+ props.toggleLogin()}
- style={styles.button}
>
- Sign In
-
-
-
-
+ Sign In
+
+
+
+
);
}
-const styles = StyleSheet.create({
- border: {
- flexDirection: "column",
- justifyContent: "center",
- alignItems: "center",
- alignSelf: "center",
- backgroundColor: "#b1caf2",
- height: "100%",
- width: "100%",
- },
- form: {
- flexDirection: "column",
- alignContent: "center",
- backgroundColor: "white",
- paddingHorizontal: 10,
- paddingVertical: 30,
- borderRadius: 20,
- marginTop: 40,
- marginBottom: 100,
- },
- button: {
- borderRadius: 30,
- padding: 10,
- width: "50%",
- alignSelf: "center",
- },
- ButtonContainer: {
- borderRadius: 20,
- padding: 15,
- alignSelf: "center",
- backgroundColor: "#FFB72D",
- },
- ButtonText: {
- fontSize: 18,
- fontFamily: "Jost_700Bold",
- color: "black",
- fontWeight: "bold",
- alignSelf: "center",
- },
-});
-
export { Login, SignUp };