From 37e764de60057e6f67611a12d5fd7d7ab28ec912 Mon Sep 17 00:00:00 2001 From: Maria Sanchez Date: Wed, 17 Aug 2022 16:47:48 -0600 Subject: [PATCH] reservar screen movil --- mobile-ui/App.js | 2 ++ mobile-ui/components/AreaComun.js | 53 +++++++++++++++++++++++++++++++ mobile-ui/components/Home.js | 2 -- mobile-ui/components/Profile.js | 14 ++++---- mobile-ui/components/Reservas.js | 4 +-- 5 files changed, 64 insertions(+), 11 deletions(-) create mode 100644 mobile-ui/components/AreaComun.js diff --git a/mobile-ui/App.js b/mobile-ui/App.js index bb44f0fe..8d44c4c4 100644 --- a/mobile-ui/App.js +++ b/mobile-ui/App.js @@ -12,6 +12,7 @@ import RecoverPassword from "./components/RecoverPassword"; import Reservas from "./components/Reservas"; import Profile from "./components/Profile"; import { MaterialCommunityIcons } from '@expo/vector-icons'; +import AreaComun from "./components/AreaComun"; const Stack = createNativeStackNavigator(); const Tab = createBottomTabNavigator(); @@ -47,6 +48,7 @@ export default function App() { }}} /> + diff --git a/mobile-ui/components/AreaComun.js b/mobile-ui/components/AreaComun.js new file mode 100644 index 00000000..ddd29bd2 --- /dev/null +++ b/mobile-ui/components/AreaComun.js @@ -0,0 +1,53 @@ +import React from "react"; + +import { + Box, + Heading, + VStack, + FormControl, + Input, + Button, + Center + } from "native-base"; + +export default function AreaComun({navigation}){ + + return ( +
+ + + Katoikia + + + Reserve su área común + + + + Hora de inicio + + + + Hora de finalización + + + + Lugar + + + + + + + +
+ + ) +} \ No newline at end of file diff --git a/mobile-ui/components/Home.js b/mobile-ui/components/Home.js index d8806dc9..ab60fb52 100644 --- a/mobile-ui/components/Home.js +++ b/mobile-ui/components/Home.js @@ -6,8 +6,6 @@ import { Box, Pressable, Spacer, - Flex, - Center } from "native-base"; import { MaterialCommunityIcons } from '@expo/vector-icons'; export default function Home(){ diff --git a/mobile-ui/components/Profile.js b/mobile-ui/components/Profile.js index 3bdbcddc..79e4b9b5 100644 --- a/mobile-ui/components/Profile.js +++ b/mobile-ui/components/Profile.js @@ -10,7 +10,7 @@ import { Center } from "native-base"; -export default function Profile(){ +export default function Profile({navigation}){ return (
@@ -18,25 +18,25 @@ export default function Profile(){ - Welcome + Katoikia - Sign up to continue! + Modifique sus datos Nombre - + Correo Electrónico - + Teléfono - + Contraseña actual @@ -46,7 +46,7 @@ export default function Profile(){ - diff --git a/mobile-ui/components/Reservas.js b/mobile-ui/components/Reservas.js index 08af073f..dd5b8532 100644 --- a/mobile-ui/components/Reservas.js +++ b/mobile-ui/components/Reservas.js @@ -133,12 +133,12 @@ export default function Reservas({navigation}) { - - } /> + } color="white" size="sm" />} onPress={() => navigation.navigate('area')}/> );