diff --git a/src/components/Logout.js b/src/components/Logout.js new file mode 100644 index 0000000..fa796af --- /dev/null +++ b/src/components/Logout.js @@ -0,0 +1,26 @@ +import { StyleSheet, Text, Pressable } from "react-native"; + +export default function Logout() { + return ( + + Log Out + + ); +} + +const styles = StyleSheet.create({ + button: { + backgroundColor: "#d9534f", + borderRadius: 10, + paddingVertical: 10, + paddingHorizontal: 110, + alignItems: "center", + justifyContent: "center", + width: "95%", + alignSelf: "center", + }, + text: { + color: "white", + fontSize: 18, + }, +}); diff --git a/src/components/Profile.js b/src/components/Profile.js new file mode 100644 index 0000000..3a80ec1 --- /dev/null +++ b/src/components/Profile.js @@ -0,0 +1,43 @@ +import { StyleSheet, Text, View, Image } from "react-native"; + +export default function Profile() { + return ( + + + + Rick + cat + + + ); +} + +const styles = StyleSheet.create({ + background: { + flexDirection: "row", + alignItems: "center", + backgroundColor: "#f5f5f5", // Light grey background color + padding: 20, + borderRadius: 10, + borderColor: "#e0e0e0", + borderWidth: 1, + margin: 10, + }, + image: { + width: 50, + height: 50, + borderRadius: 25, + marginRight: 10, + }, + name: { + fontSize: 16, + fontWeight: "bold", + }, + email: { + fontSize: 14, + color: "#555", + }, +}); diff --git a/src/screens/AccoutScreen.js b/src/screens/AccoutScreen.js new file mode 100644 index 0000000..b18b0d6 --- /dev/null +++ b/src/screens/AccoutScreen.js @@ -0,0 +1,12 @@ +import { StyleSheet, Text, View } from "react-native"; +import LogOutButton from "../components/Logout.js"; +import Profile from "../components/Profile.js"; +export default function AccountScreen() { + return ( + + {"\n\n\n\n\n\n\n"} + + + + ); +}