diff --git a/App.js b/App.js
index bb77580..3ef4cb5 100644
--- a/App.js
+++ b/App.js
@@ -1,114 +1,39 @@
-/**
- * Sample React Native App
- * https://github.com/facebook/react-native
- *
- * @format
- * @flow
- */
+import { NavigationContainer } from '@react-navigation/native';
+import { createStackNavigator} from '@react-navigation/stack';
+import * as React from 'react';
+import useCachedResources from './hooks/useCachedResources';
+import StartScreen from './screens/StartScreen';
+import Form1 from './screens/Form1'
+import Form2 from './screens/Form2';
+import Form3 from './screens/Form3';
+import Form4 from './screens/Form4';
+import Form5 from './screens/Form5';
+import Final from './screens/FinalScreen';
+import { Form } from 'formik';
-import React from 'react';
-import {
- SafeAreaView,
- StyleSheet,
- ScrollView,
- View,
- Text,
- StatusBar,
-} from 'react-native';
-import {
- Header,
- LearnMoreLinks,
- Colors,
- DebugInstructions,
- ReloadInstructions,
-} from 'react-native/Libraries/NewAppScreen';
+const Stack = createStackNavigator();
+
+export default function App({}) {
+ const isLoadingComplete = useCachedResources();
+ if (!isLoadingComplete) {
+ return null;
+ } else {
+ return (
+
+
+
+
+
+
+
+
+
+
+
+ );
+ }
+}
-const App: () => React$Node = () => {
- return (
- <>
-
-
-
-
- {global.HermesInternal == null ? null : (
-
- Engine: Hermes
-
- )}
-
-
- Step One
-
- Edit App.js to change this
- screen and then come back to see your edits.
-
-
-
- See Your Changes
-
-
-
-
-
- Debug
-
-
-
-
-
- Learn More
-
- Read the docs to discover what to do next:
-
-
-
-
-
-
- >
- );
-};
-const styles = StyleSheet.create({
- scrollView: {
- backgroundColor: Colors.lighter,
- },
- engine: {
- position: 'absolute',
- right: 0,
- },
- body: {
- backgroundColor: Colors.white,
- },
- sectionContainer: {
- marginTop: 32,
- paddingHorizontal: 24,
- },
- sectionTitle: {
- fontSize: 24,
- fontWeight: '600',
- color: Colors.black,
- },
- sectionDescription: {
- marginTop: 8,
- fontSize: 18,
- fontWeight: '400',
- color: Colors.dark,
- },
- highlight: {
- fontWeight: '700',
- },
- footer: {
- color: Colors.dark,
- fontSize: 12,
- fontWeight: '600',
- padding: 4,
- paddingRight: 12,
- textAlign: 'right',
- },
-});
-export default App;
diff --git a/assets/fonts/AbrilFatface-Regular.ttf b/assets/fonts/AbrilFatface-Regular.ttf
new file mode 100644
index 0000000..7b9fc6a
Binary files /dev/null and b/assets/fonts/AbrilFatface-Regular.ttf differ
diff --git a/assets/fonts/BalsamiqSans-Bold.ttf b/assets/fonts/BalsamiqSans-Bold.ttf
new file mode 100644
index 0000000..840ff31
Binary files /dev/null and b/assets/fonts/BalsamiqSans-Bold.ttf differ
diff --git a/assets/fonts/Roboto-Black.ttf b/assets/fonts/Roboto-Black.ttf
new file mode 100644
index 0000000..2d45238
Binary files /dev/null and b/assets/fonts/Roboto-Black.ttf differ
diff --git a/assets/fonts/SpaceMono-Regular.ttf b/assets/fonts/SpaceMono-Regular.ttf
new file mode 100644
index 0000000..28d7ff7
Binary files /dev/null and b/assets/fonts/SpaceMono-Regular.ttf differ
diff --git a/assets/fonts/elephnt.ttf b/assets/fonts/elephnt.ttf
new file mode 100644
index 0000000..024b076
Binary files /dev/null and b/assets/fonts/elephnt.ttf differ
diff --git a/package.json b/package.json
index 8f169c3..328966a 100644
--- a/package.json
+++ b/package.json
@@ -1,29 +1,49 @@
{
- "name": "testApp",
- "version": "0.0.1",
- "private": true,
+ "main": "node_modules/expo/AppEntry.js",
"scripts": {
- "android": "react-native run-android",
- "ios": "react-native run-ios",
- "start": "react-native start",
- "test": "jest",
- "lint": "eslint ."
+ "start": "expo start",
+ "android": "expo start --android",
+ "ios": "expo start --ios",
+ "web": "expo start --web",
+ "eject": "expo eject",
+ "test": "jest --watchAll"
+ },
+ "jest": {
+ "preset": "jest-expo"
},
"dependencies": {
- "react": "16.9.0",
- "react-native": "0.61.5"
+ "@expo/vector-icons": "~10.0.6",
+ "@react-native-community/masked-view": "0.1.6",
+ "@react-navigation/bottom-tabs": "^5.3.1",
+ "@react-navigation/native": "^5.2.1",
+ "@react-navigation/stack": "^5.2.16",
+ "expo": "^37.0.12",
+ "expo-asset": "~8.1.0",
+ "expo-constants": "~9.0.0",
+ "expo-font": "~8.1.0",
+ "expo-linking": "^1.0.1",
+ "expo-splash-screen": "^0.2.3",
+ "expo-web-browser": "~8.2.0",
+ "firebase": "^7.14.5",
+ "formik": "^2.1.4",
+ "nodemailer": "^6.4.6",
+ "react": "~16.9.0",
+ "react-dom": "~16.9.0",
+ "react-native": "https://github.com/expo/react-native/archive/sdk-37.0.1.tar.gz",
+ "react-native-elements": "^2.0.0",
+ "react-native-email": "^1.1.0",
+ "react-native-gesture-handler": "~1.6.0",
+ "react-native-keyboard-aware-scroll-view": "^0.9.1",
+ "react-native-masked-text": "^1.13.0",
+ "react-native-safe-area-context": "0.7.3",
+ "react-native-screens": "~2.2.0",
+ "react-native-web": "~0.11.7",
+ "tcomb-form-native": "^0.6.20"
},
"devDependencies": {
- "@babel/core": "^7.6.2",
- "@babel/runtime": "^7.6.2",
- "@react-native-community/eslint-config": "^0.0.5",
- "babel-jest": "^24.9.0",
- "eslint": "^6.5.1",
- "jest": "^24.9.0",
- "metro-react-native-babel-preset": "^0.56.0",
- "react-test-renderer": "16.9.0"
+ "@babel/core": "^7.8.6",
+ "babel-preset-expo": "~8.1.0",
+ "jest-expo": "~37.0.0"
},
- "jest": {
- "preset": "react-native"
- }
+ "private": true
}
diff --git a/screens/FinalScreen.js b/screens/FinalScreen.js
new file mode 100644
index 0000000..0268044
--- /dev/null
+++ b/screens/FinalScreen.js
@@ -0,0 +1,223 @@
+import { Ionicons } from '@expo/vector-icons';
+import * as WebBrowser from 'expo-web-browser';
+import * as React from 'react';
+import { RectButton, ScrollView } from 'react-native-gesture-handler';
+import { NavigationContainer } from '@react-navigation/native';
+import { createStackNavigator } from '@react-navigation/stack';
+import { ImageBackground, Platform, StyleSheet, Text, TouchableOpacity, View, Image, Button, TextInput} from 'react-native';
+ import {AppRegistry} from 'react-native';
+import * as Font from 'expo-font'
+import {useState} from 'react';
+import {AppLoading} from 'expo'
+import { Component } from 'react';
+import { TextInputMask } from 'react-native-masked-text'
+import date from 'date-and-time';
+//
+
+
+
+async function loadAppliction(){
+ await Font.loadAsync({
+ 'mm':require('../assets/fonts/Roboto-Black.ttf')
+ })
+}
+
+
+
+
+
+export default function LinksScreen({navigation}) {
+
+ const [isReady,setIsReady] = useState(false);
+ if(!isReady){
+ return console.log(err)}
+ onFinish={()=>setIsReady(true) }
+ />
+ }else return (
+
+
+
+
+
+
+
+ navigation.navigate('Form5')}>
+
+
+
+
+
+ SPRY ROCKS
+
+
+ Glad to see you, friend!
+ SPRY ROCKS is a rapidly developing European company with headquarter at Kharkiv, Ukraine.
+ Our company was founded in 2014 and although we are a young team we have a lot of successful projects and satisfied customers.
+ In work with every particular customer, the main philosophy is to establish and keep good relations.
+ We develop innovative solutions that not only contribute to the success of our customer's businesses but also give them a competitive market advantage.
+ Because your success is our success too!
+
+
+
+
+
+ );
+}
+
+
+
+const styles = StyleSheet.create({
+
+ container: {
+ flex: 1,
+ flexDirection: "column"
+ },
+ txt:{
+ padding: 5,
+ textAlign:'justify',
+ fontFamily: 'mm',
+ fontSize: 16,
+ color: 'white',
+ marginTop: 30,
+ backgroundColor: 'rgba(256,256,256, .7)',
+
+
+ color: '#303F9F',
+ borderColor: "#fff",
+ borderWidth: 2,
+ width: "95%",
+ alignSelf: "center"
+ },
+ txt1:{
+ marginBottom: 34,
+ color: '#303F9F',
+ fontSize: 20,
+ },
+ txt2:{
+ textAlign:'justify',
+ color: '#303F9F',
+ fontSize: 20,
+ },
+
+ btn:{
+ fontFamily:'mm',
+ fontWeight:'bold',
+ width: "50%",
+ alignSelf: "center",
+ marginTop: 630,
+ position: 'absolute'
+ },
+ image: {
+ flex: 1,
+ resizeMode: "cover",
+ justifyContent: "center",
+
+ },
+ fillForm2:{
+ color: 'white',
+ fontSize: 18,
+ fontFamily: 'mm',
+ marginTop: 5,
+ marginLeft: 40,
+
+ },
+ txtTitle: {
+ marginTop: 15,
+ paddingLeft: 30,
+ fontSize: 24,
+ fontFamily: 'mm',
+ color: 'orange',
+ backgroundColor: 'rgba(47,163,218, .7)',
+ width: '60%',
+ height: 40,
+
+ },
+ textInput:{
+ borderWidth: 2,
+ borderColor: "#000",
+ marginRight: 30,
+ marginLeft: 30,
+ height: 35,
+ paddingTop: 5,
+ borderColor: "white",
+ fontFamily:'mm',
+ fontSize: 18,
+ color: '#303F9F',
+ backgroundColor: 'rgba(256,256,256, .6)',
+ },
+ mda: {
+ marginTop: 30,
+ backgroundColor: 'rgba(256,256,256, .2)',
+ padding: 10,
+ paddingLeft: 40,
+ paddingRight: 40,
+ color: "#fff",
+ borderColor: "#fff",
+ borderWidth: 2,
+ width: "70%",
+ alignSelf: "center"
+ },
+ txtFill: {
+ color: "#fff",
+ fontSize: 24,
+ fontFamily:'mm',
+ fontWeight:'bold',
+
+ alignSelf: "center",
+ textAlign:'center'
+ },
+ txtFill2: {
+ color: "#fff",
+ fontSize: 12,
+ fontFamily:'mm',
+
+ alignSelf: "center",
+ textAlign:'center'
+ },
+ backbtn: {
+ width: 40,
+ height: 40,
+ marginTop: 30,
+ },
+ textLogo:{
+ marginTop: -45,
+ alignSelf: "center",
+ color: 'orange',
+ fontSize: 24,
+ fontFamily: 'mm'
+ },
+ logo:{
+ marginTop: -70,
+ resizeMode:"contain",
+ alignSelf: "center",
+ justifyContent: 'center',
+ height: 150,
+ width:150,
+ alignItems: 'center',
+
+ },
+ contentContainer: {
+ paddingTop: 15,
+ },
+ optionIconContainer: {
+ marginRight: 12,
+ },
+ option: {
+ backgroundColor: '#fdfdfd',
+ paddingHorizontal: 15,
+ paddingVertical: 15,
+ borderWidth: StyleSheet.hairlineWidth,
+ borderBottomWidth: 0,
+ borderColor: '#ededed',
+ },
+ lastOption: {
+ borderBottomWidth: StyleSheet.hairlineWidth,
+ },
+ optionText: {
+ fontSize: 15,
+ alignSelf: 'flex-start',
+ marginTop: 1,
+ },
+});
diff --git a/screens/Form1.js b/screens/Form1.js
new file mode 100644
index 0000000..67ed74a
--- /dev/null
+++ b/screens/Form1.js
@@ -0,0 +1,210 @@
+
+import * as React from 'react';
+import { ImageBackground, Platform, StyleSheet, Text, TouchableOpacity, View, Image, Button, TextInput, KeyboardAvoidingView, TouchableWithoutFeedback, Keyboard} from 'react-native';
+import * as Font from 'expo-font'
+import {useState} from 'react';
+import {AppLoading} from 'expo'
+import { KeyboardAwareScrollView } from 'react-native-keyboard-aware-scroll-view'
+
+
+async function loadAppliction(){
+ await Font.loadAsync({
+ 'mm':require('../assets/fonts/Roboto-Black.ttf')
+ })
+}
+
+
+
+export default function Form1({navigation}) {
+
+ const [isReady,setIsReady] = useState(false);
+ const [name,setName] = useState(null);
+ const [position,setPosition] = useState(null);
+ const [dob,setDob] = useState(null);
+ const [city,setCity] = useState(null);
+ const [phone,setPhone] = useState(null);
+ global.name = name;
+ global.position = position;
+ global.dob = dob;
+ global.city = city;
+ global.phone = phone;
+
+ function submit(){
+
+ if(name !== null && name.length < 8){ alert('Enter your full name please and it is must me correct')}
+ if(position !== null && position.length < 8){ alert('Specify your desire profession')}
+ if(dob !== null && dob.length > 10 ){ alert('Enter valid data')}
+ if(name == null || dob == null || city == null || phone == null ){
+ alert('Area with * must be filled')
+ } else{
+ navigation.navigate('Form2')
+ }
+ }
+
+ if(!isReady){
+ return console.log(err)}
+ onFinish={()=>setIsReady(true) }
+ />
+ }else return (
+
+
+
+
+
+ navigation.navigate('Start')}>
+
+
+
+
+
+ SPRY ROCKS
+
+ FILL THE FORM
+ area with * must be filled
+
+ Personal info
+
+ Full name*
+ setName(val)}>
+
+
+ Position*
+ setPosition(val)}>
+
+
+ Date of birthday*
+ setDob(val)}>
+
+
+ City*
+ setCity(val)}>
+
+
+ Phonenumber*
+ setPhone(val)}>
+
+
+
+
+
+
+
+ );
+ module.exports = name;
+
+}
+
+
+
+
+
+const styles = StyleSheet.create({
+ container: {
+ flex: 1,
+ flexDirection: "column"
+ },
+ btn:{
+ fontFamily:'mm',
+ fontWeight:'bold',
+
+ alignSelf: "center",
+ marginTop: 600,
+ width:'50%',
+ //marginBottom:30,
+ //top: 40,
+ // bottom: screen.width -30
+ //marginHorizontal:10
+ position: 'absolute'
+ },
+ image: {
+ flex: 1,
+ resizeMode: "cover",
+ justifyContent: "center",
+
+ },
+ fillForm2:{
+ color: 'white',
+ fontSize: 18,
+ fontFamily: 'mm',
+ marginTop: 5,
+ marginLeft: 40,
+
+ },
+ txtTitle: {
+ marginTop: 15,
+ paddingLeft: 30,
+ fontSize: 24,
+ fontFamily: 'mm',
+ color: 'orange',
+ backgroundColor: 'rgba(47,163,218, .7)',
+ width: '60%',
+ height: 40,
+
+ },
+ textInput:{
+ borderWidth: 2,
+ marginRight: 30,
+ marginLeft: 30,
+ height: 35,
+ paddingTop: 5,
+ borderColor: "white",
+ fontFamily:'mm',
+ fontSize: 18,
+ color: '#303F9F',
+ backgroundColor: 'rgba(256,256,256, .6)',
+ },
+ mda: {
+ marginTop: 30,
+ backgroundColor: 'rgba(256,256,256, .2)',
+ padding: 10,
+ paddingLeft: 40,
+ paddingRight: 40,
+ color: "#fff",
+ borderColor: "#fff",
+ borderWidth: 2,
+ width: "70%",
+ alignSelf: "center"
+ },
+ txtFill: {
+ color: "#fff",
+ fontSize: 24,
+ fontFamily:'mm',
+ fontWeight:'bold',
+
+ alignSelf: "center",
+ textAlign:'center'
+ },
+ txtFill2: {
+ color: "#fff",
+ fontSize: 12,
+ fontFamily:'mm',
+
+ alignSelf: "center",
+ textAlign:'center'
+ },
+ backbtn: {
+ width: 40,
+ height: 40,
+ marginTop: 30,
+ },
+ textLogo:{
+ marginTop: -45,
+ alignSelf: "center",
+ color: 'orange',
+ fontSize: 24,
+ fontFamily: 'mm'
+ },
+ logo:{
+ marginTop: -70,
+ resizeMode:"contain",
+ alignSelf: "center",
+ justifyContent: 'center',
+ height: 150,
+ width:150,
+ alignItems: 'center',
+
+ },
+
+});
diff --git a/screens/Form2.js b/screens/Form2.js
new file mode 100644
index 0000000..5a0cf47
--- /dev/null
+++ b/screens/Form2.js
@@ -0,0 +1,185 @@
+import * as React from 'react';
+import { ImageBackground, Platform, StyleSheet, Text, TouchableOpacity, View, Image, Button, TextInput} from 'react-native';
+ import {AppRegistry} from 'react-native';
+import * as Font from 'expo-font'
+import {useState} from 'react';
+import {AppLoading} from 'expo'
+import { Component } from 'react';
+import { KeyboardAwareScrollView } from 'react-native-keyboard-aware-scroll-view'
+
+
+
+async function loadAppliction(){
+ await Font.loadAsync({
+ 'mm':require('../assets/fonts/Roboto-Black.ttf')
+ })
+}
+
+
+
+
+
+export default function Form2({navigation}) {
+ const [isReady,setIsReady] = useState(false);
+ const [university,setUniversity] = useState(null);
+ const [specialization,setSpecialization] = useState(null);
+ const [graduated,setGraduated] = useState(null);
+ global.university = university;
+ global.specialization = specialization;
+ global.graduated = graduated;
+ if(!isReady){
+ return console.log(err)}
+ onFinish={()=>setIsReady(true) }
+ />
+ }else return (
+
+
+
+
+
+
+
+ navigation.navigate('Form1')}>
+
+
+
+
+
+ SPRY ROCKS
+
+ FILL THE FORM
+ area with * must be filled
+
+ Education
+
+ Educational institution
+ setUniversity(val)} placeholderTextColor="#607D8B">
+
+
+ Specialization
+ setSpecialization(val)}>
+
+
+ Graduated year
+ setGraduated(val)}>
+
+
+
+
+
+
+ );
+}
+
+
+
+const styles = StyleSheet.create({
+ container: {
+ flex: 1,
+ flexDirection: "column"
+ },
+ btn:{
+ fontFamily:'mm',
+ fontWeight:'bold',
+ width: "50%",
+ alignSelf: "center",
+ marginTop: 630,
+ position:"absolute"
+
+ },
+ image: {
+ flex: 1,
+ resizeMode: "cover",
+ justifyContent: "center",
+
+ },
+ fillForm2:{
+ color: 'white',
+ fontSize: 18,
+ fontFamily: 'mm',
+ marginTop: 5,
+ marginLeft: 40,
+
+ },
+ txtTitle: {
+ marginTop: 15,
+ paddingLeft: 30,
+ fontSize: 24,
+ fontFamily: 'mm',
+ color: 'orange',
+ backgroundColor: 'rgba(47,163,218, .7)',
+ width: '60%',
+ height: 40,
+
+ },
+ textInput:{
+ borderWidth: 2,
+ borderColor: "#000",
+ marginRight: 30,
+ marginLeft: 30,
+ height: 35,
+ paddingTop: 5,
+ borderColor: "white",
+ fontFamily:'mm',
+ fontSize: 18,
+ color: '#303F9F',
+ backgroundColor: 'rgba(256,256,256, .6)',
+ },
+ mda: {
+ marginTop: 30,
+ backgroundColor: 'rgba(256,256,256, .2)',
+ padding: 10,
+ paddingLeft: 40,
+ paddingRight: 40,
+ color: "#fff",
+ borderColor: "#fff",
+ borderWidth: 2,
+ width: "70%",
+ alignSelf: "center"
+ },
+ txtFill: {
+ color: "#fff",
+ fontSize: 24,
+ fontFamily:'mm',
+ fontWeight:'bold',
+
+ alignSelf: "center",
+ textAlign:'center'
+ },
+ txtFill2: {
+ color: "#fff",
+ fontSize: 12,
+ fontFamily:'mm',
+
+ alignSelf: "center",
+ textAlign:'center'
+ },
+ backbtn: {
+ width: 40,
+ height: 40,
+ marginTop: 30,
+ },
+ textLogo:{
+ marginTop: -45,
+ alignSelf: "center",
+ color: 'orange',
+ fontSize: 24,
+ fontFamily: 'mm'
+ },
+ logo:{
+ marginTop: -70,
+ resizeMode:"contain",
+ alignSelf: "center",
+ justifyContent: 'center',
+ height: 150,
+ width:150,
+ alignItems: 'center',
+
+ },
+ contentContainer: {
+ paddingTop: 15,
+ },
+
+});
diff --git a/screens/Form3.js b/screens/Form3.js
new file mode 100644
index 0000000..ce2305d
--- /dev/null
+++ b/screens/Form3.js
@@ -0,0 +1,189 @@
+import { Ionicons } from '@expo/vector-icons';
+import * as WebBrowser from 'expo-web-browser';
+import * as React from 'react';
+import { ImageBackground, Platform, StyleSheet, Text, TouchableOpacity, View, Image, Button, TextInput, KeyboardAvoidingView} from 'react-native';
+import * as Font from 'expo-font'
+import {useState} from 'react';
+import {AppLoading} from 'expo'
+
+
+import { KeyboardAwareScrollView } from 'react-native-keyboard-aware-scroll-view'
+
+
+async function loadAppliction(){
+ await Font.loadAsync({
+ 'mm':require('../assets/fonts/Roboto-Black.ttf')
+ })
+}
+
+
+
+
+
+export default function Form3({navigation}) {
+ const [isReady,setIsReady] = useState(false);
+ const [educationalOrg,setEducationalOrg] = useState(null);
+ const [course,setCourse] = useState(null);
+ const [finishDate,setFinishDate] = useState(null);
+ global.educationalOrg = educationalOrg;
+ global.course = course;
+ global.finishDate = finishDate;
+ if(!isReady){
+ return console.log(err)}
+ onFinish={()=>setIsReady(true) }
+ />
+ }else return (
+
+
+
+
+
+
+
+
+ navigation.navigate('Form2')}>
+
+
+
+
+
+ SPRY ROCKS
+
+ FILL THE FORM
+ area with * must be filled
+
+
+ Courses
+
+ Educational organization
+ setEducationalOrg(val)}>
+
+
+ Course
+ setCourse(val)}>
+
+
+ FinishDate
+ setFinishDate(val)}>
+
+
+
+
+
+
+
+
+ );
+}
+
+
+
+const styles = StyleSheet.create({
+ container: {
+ flex: 1,
+ flexDirection: "column"
+ },
+ btn:{
+ fontFamily:'mm',
+ fontWeight:'bold',
+ width: "50%",
+ alignSelf: "center",
+ marginTop: 630,
+ position: 'absolute'
+ },
+ image: {
+ flex: 1,
+ resizeMode: "cover",
+ justifyContent: "center",
+
+ },
+ fillForm2:{
+ color: 'white',
+ fontSize: 18,
+ fontFamily: 'mm',
+ marginTop: 5,
+ marginLeft: 40,
+
+ },
+ txtTitle: {
+ marginTop: 15,
+ paddingLeft: 30,
+ fontSize: 24,
+ fontFamily: 'mm',
+ color: 'orange',
+ backgroundColor: 'rgba(47,163,218, .7)',
+ width: '60%',
+ height: 40,
+
+ },
+ textInput:{
+ borderWidth: 2,
+ borderColor: "#000",
+ marginRight: 30,
+ marginLeft: 30,
+ height: 35,
+ paddingTop: 5,
+ borderColor: "white",
+ fontFamily:'mm',
+ fontSize: 18,
+ color: '#303F9F',
+ backgroundColor: 'rgba(256,256,256, .6)',
+ },
+ mda: {
+ marginTop: 30,
+ backgroundColor: 'rgba(256,256,256, .2)',
+ padding: 10,
+ paddingLeft: 40,
+ paddingRight: 40,
+ color: "#fff",
+ borderColor: "#fff",
+ borderWidth: 2,
+ width: "70%",
+ alignSelf: "center"
+ },
+ txtFill: {
+ color: "#fff",
+ fontSize: 24,
+ fontFamily:'mm',
+ fontWeight:'bold',
+
+ alignSelf: "center",
+ textAlign:'center'
+ },
+ txtFill2: {
+ color: "#fff",
+ fontSize: 12,
+ fontFamily:'mm',
+
+ alignSelf: "center",
+ textAlign:'center'
+ },
+ backbtn: {
+ width: 40,
+ height: 40,
+ marginTop: 30,
+ },
+ textLogo:{
+ marginTop: -45,
+ alignSelf: "center",
+ color: 'orange',
+ fontSize: 24,
+ fontFamily: 'mm'
+ },
+ logo:{
+ marginTop: -70,
+ resizeMode:"contain",
+ alignSelf: "center",
+ justifyContent: 'center',
+ height: 150,
+ width:150,
+ alignItems: 'center',
+
+ },
+ contentContainer: {
+ paddingTop: 15,
+ },
+
+});
diff --git a/screens/Form4.js b/screens/Form4.js
new file mode 100644
index 0000000..b4d39cb
--- /dev/null
+++ b/screens/Form4.js
@@ -0,0 +1,182 @@
+
+import * as React from 'react';
+import { ImageBackground, Platform, StyleSheet, Text, TouchableOpacity, View, Image, Button, TextInput, KeyboardAvoidingView} from 'react-native';
+import * as Font from 'expo-font'
+import {useState} from 'react';
+import {AppLoading} from 'expo'
+import { Component } from 'react';
+import { KeyboardAwareScrollView } from 'react-native-keyboard-aware-scroll-view'
+
+
+
+
+
+async function loadAppliction(){
+ await Font.loadAsync({
+ 'mm':require('../assets/fonts/Roboto-Black.ttf')
+ })
+}
+
+
+
+
+
+export default function Form4({navigation}) {
+ const [isReady,setIsReady] = useState(false);
+ const [previousCompany,setPreviousCompany] = useState(null);
+ const [previousPosition,setPreviousPosition] = useState(null);
+ global.previousCompany = previousCompany;
+ global.previousPosition = previousPosition;
+ if(!isReady){
+ return console.log(err)}
+ onFinish={()=>setIsReady(true) }
+ />
+ }else return (
+
+
+
+
+
+
+
+
+ navigation.navigate('Form3')}>
+
+
+
+
+
+ SPRY ROCKS
+
+ FILL THE FORM
+ area with * must be filled
+
+ Work expirience
+
+ Place of work
+ setPreviousCompany(val)}>
+
+
+ Position
+ setPreviousPosition(val)}>
+
+
+
+
+
+
+
+
+ );
+}
+
+
+
+const styles = StyleSheet.create({
+ container: {
+ flex: 1,
+ flexDirection: "column"
+ },
+ btn:{
+ fontFamily:'mm',
+ fontWeight:'bold',
+ width: "50%",
+ alignSelf: "center",
+ marginTop: 630,
+ position: 'absolute'
+ },
+ image: {
+ flex: 1,
+ resizeMode: "cover",
+ justifyContent: "center",
+
+ },
+ fillForm2:{
+ color: 'white',
+ fontSize: 18,
+ fontFamily: 'mm',
+ marginTop: 5,
+ marginLeft: 40,
+
+ },
+ txtTitle: {
+ marginTop: 15,
+ paddingLeft: 30,
+ fontSize: 24,
+ fontFamily: 'mm',
+ color: 'orange',
+ backgroundColor: 'rgba(47,163,218, .7)',
+ width: '60%',
+ height: 40,
+
+ },
+ textInput:{
+ borderWidth: 2,
+ borderColor: "#000",
+ marginRight: 30,
+ marginLeft: 30,
+ height: 35,
+ paddingTop: 5,
+ borderColor: "white",
+ fontFamily:'mm',
+ fontSize: 18,
+ color: '#303F9F',
+ backgroundColor: 'rgba(256,256,256, .6)',
+ },
+ mda: {
+ marginTop: 30,
+ backgroundColor: 'rgba(256,256,256, .2)',
+ padding: 10,
+ paddingLeft: 40,
+ paddingRight: 40,
+ color: "#fff",
+ borderColor: "#fff",
+ borderWidth: 2,
+ width: "70%",
+ alignSelf: "center"
+ },
+ txtFill: {
+ color: "#fff",
+ fontSize: 24,
+ fontFamily:'mm',
+ fontWeight:'bold',
+
+ alignSelf: "center",
+ textAlign:'center'
+ },
+ txtFill2: {
+ color: "#fff",
+ fontSize: 12,
+ fontFamily:'mm',
+
+ alignSelf: "center",
+ textAlign:'center'
+ },
+ backbtn: {
+ width: 40,
+ height: 40,
+ marginTop: 30,
+ },
+ textLogo:{
+ marginTop: -45,
+ alignSelf: "center",
+ color: 'orange',
+ fontSize: 24,
+ fontFamily: 'mm'
+ },
+ logo:{
+ marginTop: -70,
+ resizeMode:"contain",
+ alignSelf: "center",
+ justifyContent: 'center',
+ height: 150,
+ width:150,
+ alignItems: 'center',
+
+ },
+ contentContainer: {
+ paddingTop: 15,
+ },
+});
diff --git a/screens/Form5.js b/screens/Form5.js
new file mode 100644
index 0000000..abbf4c3
--- /dev/null
+++ b/screens/Form5.js
@@ -0,0 +1,312 @@
+
+import React, { Component } from 'react';
+import { RectButton, ScrollView } from 'react-native-gesture-handler';
+
+import { ImageBackground, StyleSheet, Text, TouchableOpacity, View, Image, Button, TextInput, } from 'react-native';
+import * as Font from 'expo-font';
+import {useState} from 'react';
+import {AppLoading} from 'expo';
+import { CheckBox } from 'react-native-elements'
+import { db } from '../src/config';
+import email from 'react-native-email';
+
+async function loadAppliction(){
+ await Font.loadAsync({
+ 'mm':require('../assets/fonts/Roboto-Black.ttf')
+ })
+}
+
+
+
+
+
+export default function Form5({navigation}){
+ const [state, setState] = useState(false);
+ const [isReady,setIsReady] = useState(null);
+ const [hobbies,setHobbies] = useState(null);
+ const [additionalInfo,setAdditionalInfo] = useState(null);
+
+ let jobSeeker = {
+ name: {name},
+ position:{position},
+ dob: {dob},
+ city:{city},
+ phone:{phone},
+ university:{university},
+ specialization:{specialization},
+ graduated:{graduated},
+ educationalOrg:{educationalOrg},
+ course:{course},
+ finishDate:{finishDate},
+ previousCompany:{previousCompany},
+ previousPosition:{previousPosition},
+ hobbies:{hobbies},
+ additionalInfo:{additionalInfo}
+ };
+
+ let addJobSeeker = newOne => {
+ db.ref().push({
+ jobSeeker: newOne
+ });
+ const to = ['hr@spryrocks.com']
+ email(to, {
+ subject: 'I am looking for a job',
+ body: 'Hello. I would like to become one of your team. Some information about me:' +"\n-" + name + "\n-" + position +"\n-" + dob +"\n-" + phone
+ +"\n-" + university +"\n-" + specialization +"\n-" + graduated +"\n-" + educationalOrg +"\n-" + course +"\n-" +finishDate +"\n-" +previousCompany
+ +"\n-" + previousPosition +"\n-" +hobbies +"\n-" + additionalInfo
+ }).catch(console.error)
+
+
+ };
+
+ function handleSubmit () {
+ addJobSeeker(jobSeeker);
+
+ //alert('Item saved successfully');
+ navigation.navigate('Final')
+ };
+
+
+ if(!isReady){
+ return console.log(err)}
+ onFinish={()=>setIsReady(true) }
+ />
+
+ }else return (
+
+
+
+ navigation.navigate('Form4')}>
+
+
+
+
+
+ SPRY ROCKS
+
+
+ FILL THE FORM
+ area with * must be filled
+
+
+
+ Your hobbies
+ How you spend your free time?
+ setHobbies(val)}>
+ Additional informtion
+ Do you have any quastions for us?
+ setAdditionalInfo(val)}>
+
+ setState(false)}
+ containerStyle={styles.checkboxContainer} title="I CONSENT TO THE PROCESSING OF PERSONAL DATA"
+ fontFamily='mm' checked={state} onPress={()=>setState(true)}/>
+
+ {!state ? : }
+
+
+
+
+
+
+
+ );
+}
+
+
+
+const styles = StyleSheet.create({
+ container: {
+ flex: 1,
+ // flexDirection: "column"
+ },
+ frm:{
+ justifyContent: 'center',
+ marginTop: -50,
+ padding: 20,
+ backgroundColor: '#ffffff',
+ },
+ btn:{
+ fontFamily:'mm',
+ fontWeight:'bold',
+ alignSelf: "center",
+ marginTop: 70,
+
+ shadowColor: "#000",
+shadowOffset: {
+ width: 0,
+ height: 12,
+},
+shadowOpacity: 0.58,
+shadowRadius: 16.00,
+
+elevation: 24,
+ },
+ agree:{
+ fontSize:14,
+ fontFamily:'mm',
+ },
+ checkboxContainer: {
+ marginTop: 20,
+ flex:1,
+ marginRight:5,
+ },
+ checkbox: {
+
+ },
+ label: {
+ margin: 8,
+ },
+ image: {
+ flex: 1,
+ resizeMode: "cover",
+ justifyContent: "center",
+
+ },
+ fillForm2:{
+ color: 'white',
+ fontSize: 18,
+ fontFamily: 'mm',
+ marginTop: 5,
+ marginLeft: 40,
+ shadowColor: "#000",
+shadowOffset: {
+ width: 10,
+ height: 12,
+ borderColor: "#fff",
+ borderWidth: 2,
+ borderBottomWidth: 2,
+},
+shadowOpacity: 0.58,
+shadowRadius: 16.00,
+
+elevation: 24,
+
+ },
+ txtTitle: {
+ marginTop: 15,
+ paddingLeft: 30,
+ fontSize: 24,
+ fontFamily: 'mm',
+ color: 'orange',
+ backgroundColor: 'rgba(47,163,218, .7)',
+ width: '60%',
+ height: 40,
+ borderColor:"black"
+},
+txtTitle2: {
+ marginTop: 15,
+ paddingLeft: 30,
+ fontSize: 24,
+ fontFamily: 'mm',
+ color: 'orange',
+ backgroundColor: 'rgba(47,163,218, .7)',
+ width: '80%',
+ height: 40,
+ borderColor:"black"
+},
+
+
+
+ textInput:{
+ textAlign:"center",
+ borderWidth: 2,
+ borderColor: "#000",
+ marginRight: 30,
+ marginLeft: 30,
+ height: 200,
+ paddingTop: 5,
+ borderColor: "white",
+ fontFamily:'mm',
+ fontSize: 18,
+ color: '#303F9F',
+ backgroundColor: 'rgba(256,256,256, .6)',
+ paddingTop: -170,
+ textAlignVertical: "top",
+ paddingTop:0,
+ paddingBottom:0,
+ alignItems: "center",
+ textAlign:"left"
+
+
+ },
+ fillForm:{
+ shadowColor: "#000",
+shadowOffset: {
+ width: 10,
+ height: 12,
+ shadowRadius: 30,
+ shadowOpacity: 3,
+
+},
+shadowOpacity: 0.58,
+shadowRadius: 16.00,
+
+
+elevation: 24,
+ },
+ mda: {
+ marginTop: 30,
+ backgroundColor: 'rgba(256,256,256, .2)',
+ padding: 10,
+ paddingLeft: 40,
+ paddingRight: 40,
+ color: "#fff",
+ borderColor: "#fff",
+ borderWidth: 2,
+ width: "70%",
+ alignSelf: "center",
+
+ },
+ txtFill: {
+ color: "#fff",
+ fontSize: 24,
+ fontFamily:'mm',
+ fontWeight:'bold',
+
+ alignSelf: "center",
+ textAlign:'center',
+ shadowColor: "#000",
+shadowOffset: {
+ width: 0,
+ height: 12,
+},
+shadowOpacity: 0.58,
+shadowRadius: 16.00,
+
+elevation: 24,
+
+ },
+ txtFill2: {
+ color: "#fff",
+ fontSize: 12,
+ fontFamily:'mm',
+
+ alignSelf: "center",
+ textAlign:'center'
+ },
+ backbtn: {
+ width: 40,
+ height: 40,
+ marginTop: 30,
+ },
+ textLogo:{
+ marginTop: -45,
+ alignSelf: "center",
+ color: 'orange',
+ fontSize: 24,
+ fontFamily: 'mm'
+ },
+ logo:{
+ marginTop: -70,
+ resizeMode:"contain",
+ alignSelf: "center",
+ justifyContent: 'center',
+ height: 150,
+ width:150,
+ alignItems: 'center',
+
+ },
+
+});
diff --git a/screens/StartScreen.js b/screens/StartScreen.js
new file mode 100644
index 0000000..309b6b2
--- /dev/null
+++ b/screens/StartScreen.js
@@ -0,0 +1,155 @@
+import * as React from 'react';
+import { ImageBackground, Platform, StyleSheet, Text, TouchableOpacity, View, Image, Button, Linking } from 'react-native';
+import * as Font from 'expo-font'
+import {useState} from 'react';
+import {AppLoading} from 'expo'
+
+
+async function loadAppliction(){
+ await Font.loadAsync({
+ 'mm':require('../assets/fonts/Roboto-Black.ttf')
+ })
+}
+
+export default function HomeScreen({navigation}) {
+
+
+ const [isReady,setIsReady] = useState(false);
+ if(!isReady){
+ return console.log(err)}
+ onFinish={()=>setIsReady(true) }
+ />
+ }else return (
+
+
+
+ SPRY ROCKS
+ W E L C O M E
+ Want to be a part of team?
+
+ {Linking.openURL('https://spryrocks.com/')}}>
+
+ SPRYROCKS.COM
+
+
+
+
+
+ );
+}
+
+
+
+
+
+
+
+const styles = StyleSheet.create({
+ container: {
+ flex: 1,
+ backgroundColor: 'rgba(47,163,218, .4)'
+ },
+ btn:{
+ fontFamily:'mm',
+ fontWeight:'bold',
+ width: "50%",
+ alignSelf: "center",
+ marginTop: 10,
+ },
+ txt2:{
+ textDecorationLine: 'underline',
+ alignSelf: "center",
+ color: 'white',
+ fontSize: 14,
+
+ //marginTop: '1%',
+ fontFamily: 'mm'
+ },
+ info:{
+
+ resizeMode:"contain",
+ alignSelf: "center",
+ justifyContent: 'center',
+ height: 30,
+ width: 30,
+ marginTop: 110,
+ alignItems: 'center',
+ },
+ txt1:{
+ alignSelf: "center",
+ color: 'white',
+ fontSize: 24,
+ marginTop: '30%',
+ fontFamily: 'mm'
+ },
+ logo:{
+ marginTop: -5,
+ resizeMode:"contain",
+ alignSelf: "center",
+ justifyContent: 'center',
+ height: 150,
+ width:150,
+ alignItems: 'center',
+ },
+ welcome:{
+ marginTop: '30%',
+ fontFamily: 'mm',
+ color: 'white',
+ fontSize: 35,
+ alignSelf: "center",
+ },
+ textLogo:{
+ marginTop: -45,
+ alignSelf: "center",
+ color: 'orange',
+ fontSize: 24,
+ fontFamily: 'mm'
+ },
+ developmentModeText: {
+ marginBottom: 20,
+ color: 'rgba(0,0,0,0.4)',
+ fontSize: 14,
+ lineHeight: 19,
+ textAlign: 'center',
+ },
+ contentContainer: {
+ paddingTop: 30,
+ },
+ welcomeContainer: {
+ alignItems: 'center',
+ marginTop: 10,
+ marginBottom: 20,
+ },
+ welcomeImage: {
+ width: 100,
+ height: 80,
+ resizeMode: 'contain',
+ marginTop: 3,
+ marginLeft: -10,
+ },
+ getStartedContainer: {
+ alignItems: 'center',
+ marginHorizontal: 50,
+ },
+ homeScreenFilename: {
+ marginVertical: 7,
+ },
+ codeHighlightText: {
+ color: 'rgba(96,100,109, 0.8)',
+ },
+ codeHighlightContainer: {
+ backgroundColor: 'rgba(0,0,0,0.05)',
+ borderRadius: 3,
+ paddingHorizontal: 4,
+ },
+ getStartedText: {
+ fontSize: 17,
+ color: 'rgba(96,100,109, 1)',
+ lineHeight: 24,
+ textAlign: 'center',
+ },
+
+
+});
diff --git a/src/config.js b/src/config.js
new file mode 100644
index 0000000..3d42e89
--- /dev/null
+++ b/src/config.js
@@ -0,0 +1,12 @@
+import Firebase from 'firebase';
+let config = {
+ apiKey: "AIzaSyAQnWmQCLmgiHMezcYTwPgUdU0-zNtoNRk",
+ authDomain: "spry-rocks.firebaseapp.com",
+ databaseURL: "https://spry-rocks.firebaseio.com",
+ projectId: "spry-rocks",
+ storageBucket: "spry-rocks.appspot.com",
+ messagingSenderId: "542985533123",
+ appId: "1:542985533123:web:cc1d3a080f8f19ec5ad476"
+};
+let app = Firebase.initializeApp(config);
+export const db = app.database();
diff --git a/src/img/backbtn.png b/src/img/backbtn.png
new file mode 100644
index 0000000..6df981c
Binary files /dev/null and b/src/img/backbtn.png differ
diff --git a/src/img/background1.png b/src/img/background1.png
new file mode 100644
index 0000000..830499a
Binary files /dev/null and b/src/img/background1.png differ
diff --git a/src/img/background2.png b/src/img/background2.png
new file mode 100644
index 0000000..b354aed
Binary files /dev/null and b/src/img/background2.png differ
diff --git a/src/img/info.png b/src/img/info.png
new file mode 100644
index 0000000..6cbf268
Binary files /dev/null and b/src/img/info.png differ
diff --git a/src/img/info2.png b/src/img/info2.png
new file mode 100644
index 0000000..0a9330d
Binary files /dev/null and b/src/img/info2.png differ
diff --git a/src/img/info3.png b/src/img/info3.png
new file mode 100644
index 0000000..fd8832e
Binary files /dev/null and b/src/img/info3.png differ
diff --git a/src/img/info4.png b/src/img/info4.png
new file mode 100644
index 0000000..473225e
Binary files /dev/null and b/src/img/info4.png differ
diff --git a/src/img/logo.png b/src/img/logo.png
new file mode 100644
index 0000000..14bab3a
Binary files /dev/null and b/src/img/logo.png differ
diff --git a/src/navigation/AppNavigation.js b/src/navigation/AppNavigation.js
new file mode 100644
index 0000000..8691cb7
--- /dev/null
+++ b/src/navigation/AppNavigation.js
@@ -0,0 +1,15 @@
+
+import {createAppContainer} from 'react-navigation'
+import {createStackNavigator} from 'react-navigation-stack'
+import { StartScreen } from '../screens/StartScreen'
+
+
+const PostNavigator = createStackNavigator({
+ Start : StartScreen,
+ //Settings: SettingsScreen,
+ //SubTasks: SubTasksScreen
+},{
+ //initialRouteName: 'Main'
+})
+
+export const AppNavigation = createAppContainer(PostNavigator)
\ No newline at end of file
diff --git a/src/navigation/react-native.config.js b/src/navigation/react-native.config.js
new file mode 100644
index 0000000..74aa486
--- /dev/null
+++ b/src/navigation/react-native.config.js
@@ -0,0 +1,2 @@
+import { FontDisplay } from "expo-font"
+