diff --git a/screens/HomeScreen.tsx b/screens/HomeScreen.tsx new file mode 100644 index 0000000000000000000000000000000000000000..97b5950e461b906629ee6447a35cd7986245dab8 --- /dev/null +++ b/screens/HomeScreen.tsx @@ -0,0 +1,28 @@ +import { View, Text, TextInput, Button, } from "react-native"; +import React, {useState} from "react"; +import useInfoStore from "../store/InfoStorage"; + + +export default function HomeScreen({navigation}) { + + const[page, setPage] = useState(0); + const PAGE_SIZE = 10; + + /* QUERY: + const { error, loading, data } = useQuery(query, {variables:{limit: PAGE_SIZE, offset: page * PAGE_SIZE}}); + if (loading) return <h6>Loading...</h6>; + if (error) return <h6>${error.message}</h6>; + */ + + + + return( + <View /*Style Here*/> + <Text>MobiBase</Text> + {/* This is where movie cards/list items will be listed */} + + + + </View> + ) +} \ No newline at end of file diff --git a/screens/LoginScreen.tsx b/screens/LoginScreen.tsx index 349a4b93d7b5bc8b2df43bd975cc640a0d118135..3591265a40c9e747d654c0ad27abb09d29c96d18 100644 --- a/screens/LoginScreen.tsx +++ b/screens/LoginScreen.tsx @@ -3,7 +3,7 @@ import React, {useState} from "react"; import useInfoStore from "../store/InfoStorage"; -export default function LoginPage({navigation}) { +export default function LoginScreen({navigation}) { const [usernameInput,setUsernameInput] = React.useState(""); const [passwordInput,setPasswordInput] = React.useState(""); // Update username and password to zustand storage: