diff --git a/mobile-ui/App.js b/mobile-ui/App.js index 61dbd821..bb44f0fe 100644 --- a/mobile-ui/App.js +++ b/mobile-ui/App.js @@ -1,6 +1,7 @@ -import React from "react"; +import React,{useState} from "react"; import { - NativeBaseProvider + NativeBaseProvider, + Icon } from "native-base"; import { NavigationContainer } from '@react-navigation/native'; import { createNativeStackNavigator } from '@react-navigation/native-stack'; @@ -10,24 +11,28 @@ import Home from "./components/Home"; import RecoverPassword from "./components/RecoverPassword"; import Reservas from "./components/Reservas"; import Profile from "./components/Profile"; +import { MaterialCommunityIcons } from '@expo/vector-icons'; const Stack = createNativeStackNavigator(); const Tab = createBottomTabNavigator(); + function HomeTab() { +const [selected, setSelected] = useState(0); + return ( + }, tabBarIcon: () => (} color="#D7A86E" size="md" />)}} onclick={() => setSelected(0)} /> + }, tabBarIcon: () => (} color="#D7A86E" size="md" />)} } onclick={() => setSelected(1)} /> + }, tabBarIcon: () => (} color="#D7A86E" size="md" />)}} onclick={() => setSelected(2)} /> ) } diff --git a/mobile-ui/components/LogIn.js b/mobile-ui/components/LogIn.js index 63e5ba83..77b203bb 100644 --- a/mobile-ui/components/LogIn.js +++ b/mobile-ui/components/LogIn.js @@ -113,7 +113,7 @@ export default function LogIn({navigation}) { - diff --git a/mobile-ui/components/Profile.js b/mobile-ui/components/Profile.js index 5c75931c..3bdbcddc 100644 --- a/mobile-ui/components/Profile.js +++ b/mobile-ui/components/Profile.js @@ -1,15 +1,57 @@ import React from "react"; import { - Box + Box, + Heading, + VStack, + FormControl, + Input, + Button, + Center } from "native-base"; export default function Profile(){ return ( - - - - +
+ + + Welcome + + + Sign up to continue! + + + + Nombre + + + + Correo Electrónico + + + + Teléfono + + + + Contraseña actual + + + + + + + +
+ ) } \ No newline at end of file