diff --git a/index.js b/index.js index a850d03..69303b3 100644 --- a/index.js +++ b/index.js @@ -3,7 +3,7 @@ */ import {AppRegistry} from 'react-native'; -import App from './App'; +import App from './src/App'; import {name as appName} from './app.json'; AppRegistry.registerComponent(appName, () => App); diff --git a/src/App.js b/src/App.js new file mode 100644 index 0000000..8a95f2f --- /dev/null +++ b/src/App.js @@ -0,0 +1,49 @@ +import React from 'react'; +import {SafeAreaView, StyleSheet, useColorScheme} from 'react-native'; +import {Colors} from 'react-native/Libraries/NewAppScreen'; +import Home from './Pages/Home'; + +function App() { + const isDarkMode = useColorScheme() === 'dark'; + + const backgroundStyle = { + backgroundColor: isDarkMode ? Colors.darker : Colors.lighter, + }; + + return ( + + + + ); +} + +const styles = StyleSheet.create({ + container: { + flex: 1, + alignItems: 'center', + justifyContent: 'center', + }, + sectionContainer: { + marginTop: 32, + paddingHorizontal: 24, + }, + sectionTitle: { + fontSize: 24, + fontWeight: '600', + }, + sectionDescription: { + marginTop: 8, + fontSize: 18, + fontWeight: '400', + }, + highlight: { + fontWeight: '700', + }, +}); + +export default App; diff --git a/src/Pages/Home/index.js b/src/Pages/Home/index.js new file mode 100644 index 0000000..88f43c8 --- /dev/null +++ b/src/Pages/Home/index.js @@ -0,0 +1,12 @@ +import {Button} from 'react-native-paper'; + +export default function Home() { + return ( + + ); +} diff --git a/src/image.png b/src/image.png new file mode 100644 index 0000000..a90f6e2 Binary files /dev/null and b/src/image.png differ diff --git a/src/image2.png b/src/image2.png new file mode 100644 index 0000000..1b8f496 Binary files /dev/null and b/src/image2.png differ