diff --git a/mobile-ui/App.js b/mobile-ui/App.js index 9f43ccee..8c45b000 100644 --- a/mobile-ui/App.js +++ b/mobile-ui/App.js @@ -18,7 +18,7 @@ export default function App() { - + diff --git a/mobile-ui/components/Home.js b/mobile-ui/components/Home.js index 6f35a009..f344f44c 100644 --- a/mobile-ui/components/Home.js +++ b/mobile-ui/components/Home.js @@ -1,35 +1,60 @@ -import React from "react"; +import React from 'react'; import { Text, HStack, - IconButton, Box, - StatusBar, Icon, MaterialIcons, - Center + Center, + Pressable } from "native-base"; -export default function Home(){ +import { MaterialCommunityIcons } from '@expo/vector-icons'; + +export default function Home({navigation}){ + + const [selected, setSelected] = React.useState(1); return ( -
- - - - - } /> - - Home - + + +
+ + setSelected(0)}> +
+ } color="white" size="sm" /> + + Inicio + +
+
+ setSelected(1)}> +
+ } color="white" size="sm" /> + + Comunicados + +
+
+ setSelected(2)}> +
+ } color="white" size="sm" /> + + Reservas + +
+
+ setSelected(3)}> +
+ } color="white" size="sm" /> + + Perfil + +
+
- - } /> - } /> - } /> - -
-
+ + - ) + ); } \ No newline at end of file diff --git a/mobile-ui/components/LogIn.js b/mobile-ui/components/LogIn.js index a5e0d12c..fd63d793 100644 --- a/mobile-ui/components/LogIn.js +++ b/mobile-ui/components/LogIn.js @@ -9,7 +9,8 @@ import { FormControl, Input, Button, - Image + Image, + Container } from "native-base"; import logo from "../assets/logo-katoikia.png"; import { Entypo } from '@expo/vector-icons'; @@ -40,7 +41,11 @@ const styles = StyleSheet.create({ flexDirection: 'row', justifyContent: 'center', alignItems: 'center', - marginTop: 5 + margin: 10 + }, + + container: { + } }) @@ -77,7 +82,8 @@ export default function LogIn({navigation}) { Su app de comunidad de confianza - + + Correo Electrónico @@ -114,7 +120,8 @@ export default function LogIn({navigation}) { Continuar - + + );