Polished login

This commit is contained in:
Keannu Christian Bernasol 2023-07-03 22:40:58 +08:00
parent a634f07f2b
commit 4faf222b52
5 changed files with 123 additions and 18 deletions

View file

@ -1,20 +1,16 @@
import * as React from "react";
import styles from "../../styles";
import { font_sizes } from "../../styles";
import { View, Text } from "react-native";
import { useSelector } from "react-redux";
import { RootState } from "../../features/redux/Store/Store";
export default function Home() {
const creds = useSelector((state: RootState) => state.auth.creds);
return (
<View style={styles.background}>
<Text
style={{
fontSize: font_sizes.large,
color: "white",
textAlign: "center",
}}
>
Template Homepage
</Text>
<Text style={styles.text_white_large}>Template Homepage</Text>
<Text style={styles.text_white_tiny}>{JSON.stringify(creds)}</Text>
<Text style={styles.text_white_tiny}>Token: {creds.token}</Text>
</View>
);
}