diff --git a/src/components/Logout.js b/src/components/Logout.js index b23d875..fa796af 100644 --- a/src/components/Logout.js +++ b/src/components/Logout.js @@ -1,27 +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 - } - }); \ No newline at end of file + 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 index 0bf2306..3a80ec1 100644 --- a/src/components/Profile.js +++ b/src/components/Profile.js @@ -3,46 +3,41 @@ import { StyleSheet, Text, View, Image } from "react-native"; export default function Profile() { return ( - - - - - Rick - - - cat - - - + + + 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', - }, + 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 index 752dcd9..b18b0d6 100644 --- a/src/screens/AccoutScreen.js +++ b/src/screens/AccoutScreen.js @@ -9,4 +9,4 @@ export default function AccountScreen() { ); -} \ No newline at end of file +}