diff --git a/ComApp/src/App.js b/ComApp/src/App.js index 068bc75..16f12b9 100644 --- a/ComApp/src/App.js +++ b/ComApp/src/App.js @@ -11,11 +11,12 @@ import type {Node} from 'react'; // Views import InstallScreen from './App/Views/InstallScreen'; +import HomeScreen from './App/Views/HomeScreen'; const App: () => Node = () => { return ( - + ); }; diff --git a/ComApp/src/App/Views/HomeScreen.js b/ComApp/src/App/Views/HomeScreen.js new file mode 100644 index 0000000..519902d --- /dev/null +++ b/ComApp/src/App/Views/HomeScreen.js @@ -0,0 +1,43 @@ +import React from 'react'; +import { View, ImageBackground, TouchableOpacity, Text, Image } from 'react-native'; +// Common Styles +import commonStyles from '../../Resources/CommonStyles'; +// Style +import styles from '../../Resources/Styles/HomeStyle'; +// Translations +import i18n from "../../I18n"; +// FileSytem +import * as FileSystem from 'expo-file-system'; + +class HomeScreen extends React.Component { + render() { + return ( + + + { }} style={styles.button}> + + {i18n.t('home_s.1')} + + { }} style={styles.button}> + + {i18n.t('home_s.2')} + + { }} style={styles.button}> + + {i18n.t('home_s.3')} + + { }} style={styles.button}> + + {i18n.t('global.videos')} + + { }} style={styles.button}> + + {i18n.t('global.contacts')} + + + + ); + } +} + +export default HomeScreen; \ No newline at end of file diff --git a/ComApp/src/App/Views/InstallScreen.js b/ComApp/src/App/Views/InstallScreen.js index 4f1a175..42ea940 100644 --- a/ComApp/src/App/Views/InstallScreen.js +++ b/ComApp/src/App/Views/InstallScreen.js @@ -1,9 +1,11 @@ import React from 'react'; -import { ImageBackground, View, Image, TextInput, Button, StyleSheet, Alert } from 'react-native'; +import { ImageBackground, View, Image, TextInput, Button, Alert } from 'react-native'; // Helpers import Helpers from '../Lib/Helpers'; // Common Styles import commonStyles from '../../Resources/CommonStyles'; +// Style +import styles from '../../Resources/Styles/InstallStyle'; // Translations import i18n from "../../I18n"; // Controller @@ -17,7 +19,7 @@ class InstallScreen extends React.Component { render() { return ( - +