mobile home component
This commit is contained in:
parent
36e5839b04
commit
d52b47a2c1
|
@ -0,0 +1,15 @@
|
||||||
|
> Why do I have a folder named ".expo" in my project?
|
||||||
|
|
||||||
|
The ".expo" folder is created when an Expo project is started using "expo start" command.
|
||||||
|
|
||||||
|
> What do the files contain?
|
||||||
|
|
||||||
|
- "devices.json": contains information about devices that have recently opened this project. This is used to populate the "Development sessions" list in your development builds.
|
||||||
|
- "packager-info.json": contains port numbers and process PIDs that are used to serve the application to the mobile device/simulator.
|
||||||
|
- "settings.json": contains the server configuration that is used to serve the application manifest.
|
||||||
|
|
||||||
|
> Should I commit the ".expo" folder?
|
||||||
|
|
||||||
|
No, you should not share the ".expo" folder. It does not contain any information that is relevant for other developers working on the project, it is specific to your machine.
|
||||||
|
|
||||||
|
Upon project creation, the ".expo" folder is already added to your ".gitignore" file.
|
|
@ -0,0 +1,8 @@
|
||||||
|
{
|
||||||
|
"hostType": "lan",
|
||||||
|
"lanType": "ip",
|
||||||
|
"dev": true,
|
||||||
|
"minify": false,
|
||||||
|
"urlRandomness": null,
|
||||||
|
"https": false
|
||||||
|
}
|
|
@ -18,6 +18,7 @@ import {
|
||||||
} from "native-base";
|
} from "native-base";
|
||||||
import NativeBaseIcon from "./components/NativeBaseIcon";
|
import NativeBaseIcon from "./components/NativeBaseIcon";
|
||||||
import { Platform } from "react-native";
|
import { Platform } from "react-native";
|
||||||
|
import logo from "./assets/logo-katoikia.png"
|
||||||
|
|
||||||
// Define the config
|
// Define the config
|
||||||
const config = {
|
const config = {
|
||||||
|
@ -31,17 +32,18 @@ colors: {
|
||||||
brown: "#D7A86E"
|
brown: "#D7A86E"
|
||||||
} });
|
} });
|
||||||
|
|
||||||
//const logo = require('./assets/')
|
// const logo = require('./assets/logo-katoikia.png')
|
||||||
|
|
||||||
|
|
||||||
export default function App() {
|
export default function App() {
|
||||||
return (
|
return (
|
||||||
<NativeBaseProvider>
|
<NativeBaseProvider>
|
||||||
<Center w="100%">
|
<Center w="100%">
|
||||||
<Box safeArea p="2" py="8" w="90%" maxW="290">
|
<Box safeArea p="2" py="8" w="90%" maxW="290">
|
||||||
{/* <Image source={{
|
<Image source={
|
||||||
uri: logo.default.src
|
logo
|
||||||
}} width={500} height={500}
|
} width={500} height={550}
|
||||||
alt="Katoikia logo" size="xl" /> */}
|
alt="Katoikia logo" size="xl" justifyContent="center" />
|
||||||
|
|
||||||
<Heading
|
<Heading
|
||||||
size="lg"
|
size="lg"
|
||||||
|
@ -90,27 +92,7 @@ export default function App() {
|
||||||
>
|
>
|
||||||
<Text>Continuar</Text>
|
<Text>Continuar</Text>
|
||||||
</Button>
|
</Button>
|
||||||
<HStack mt="6" justifyContent="center">
|
|
||||||
{/* <Text
|
|
||||||
fontSize="sm"
|
|
||||||
color="coolGray.600"
|
|
||||||
_dark={{
|
|
||||||
color: "warmGray.200",
|
|
||||||
}}
|
|
||||||
>
|
|
||||||
I'm a new user.
|
|
||||||
</Text> */}
|
|
||||||
<Link
|
|
||||||
_text={{
|
|
||||||
color: "warning.300",
|
|
||||||
fontWeight: "medium",
|
|
||||||
fontSize: "sm",
|
|
||||||
}}
|
|
||||||
href="#"
|
|
||||||
>
|
|
||||||
Regístrese aquí
|
|
||||||
</Link>
|
|
||||||
</HStack>
|
|
||||||
</VStack>
|
</VStack>
|
||||||
</Box>
|
</Box>
|
||||||
</Center>
|
</Center>
|
||||||
|
|
Before Width: | Height: | Size: 37 KiB After Width: | Height: | Size: 37 KiB |
|
@ -0,0 +1,28 @@
|
||||||
|
import React from "react";
|
||||||
|
import {
|
||||||
|
Text,
|
||||||
|
Link,
|
||||||
|
HStack,
|
||||||
|
Center,
|
||||||
|
Heading,
|
||||||
|
Switch,
|
||||||
|
useColorMode,
|
||||||
|
NativeBaseProvider,
|
||||||
|
extendTheme,
|
||||||
|
VStack,
|
||||||
|
Box,
|
||||||
|
FormControl,
|
||||||
|
Input,
|
||||||
|
Button,
|
||||||
|
Image
|
||||||
|
} from "native-base";
|
||||||
|
|
||||||
|
export default function Home(){
|
||||||
|
|
||||||
|
return (
|
||||||
|
|
||||||
|
<NativeBaseProvider>
|
||||||
|
|
||||||
|
</NativeBaseProvider>
|
||||||
|
)
|
||||||
|
}
|
Loading…
Reference in New Issue