diff --git a/ReactJS/Native/AlfaPrentice/.expo-shared/README.md b/ReactJS/Native/AlfaPrentice/.expo-shared/README.md new file mode 100644 index 0000000..e9e5318 --- /dev/null +++ b/ReactJS/Native/AlfaPrentice/.expo-shared/README.md @@ -0,0 +1,11 @@ +> Why do I have a folder named ".expo-shared" in my project? + +The ".expo-shared" folder is created when running commands that produce state that is intended to be shared with all developers on the project. For example, "npx expo-optimize". + +> What does the "assets.json" file contain? + +The "assets.json" file describes the assets that have been optimized through "expo-optimize" and do not need to be processed again. + +> Should I commit the ".expo-shared" folder? + +Yes, you should share the ".expo-shared" folder with your collaborators. diff --git a/ReactJS/Native/AlfaPrentice/App/Cta/Cta.js b/ReactJS/Native/AlfaPrentice/App/Cta/Cta.js new file mode 100644 index 0000000..abb7fd0 --- /dev/null +++ b/ReactJS/Native/AlfaPrentice/App/Cta/Cta.js @@ -0,0 +1,58 @@ +//Modules +import React from 'react'; +import { View, Text, StyleSheet, TouchableOpacity } from 'react-native'; +import { useNavigation } from '@react-navigation/native'; + + +function Navigate(props) { + const navigation = useNavigation(); + return( + navigation.navigate('Search')}> + Klik hier en begin met zoeken + + ) +} + +const Cta = (props) => { + return ( + + Wacht niet te lang! + + + ) +} + +const Styles = StyleSheet.create ({ + Cta: { + backgroundColor: "#DE0000a9", + paddingTop: 15, + paddingBottom: 30, + display: 'flex', + alignItems: 'center', + flex: 1, + justifyContent: 'center' + }, + Btn: { + borderStyle: 'solid', + borderWidth: 2, + borderColor: '#ffffff', + flex: 1, + flexDirection: 'column', + justifyContent: 'center', + alignItems: 'center', + width: 250, + paddingVertical: 5, + + }, + white: { + color: '#ffffff', + + }, + WhiteAlert: { + color: '#ffffff', + fontSize: 20, + marginBottom: 15 + } +}) + +export default Cta; \ No newline at end of file diff --git a/ReactJS/Native/AlfaPrentice/App/Views/Home.js b/ReactJS/Native/AlfaPrentice/App/Views/Home.js index 98521e5..4fb6cb7 100644 --- a/ReactJS/Native/AlfaPrentice/App/Views/Home.js +++ b/ReactJS/Native/AlfaPrentice/App/Views/Home.js @@ -5,7 +5,7 @@ import Swiper from 'react-native-swiper-hooks' import { useNavigation } from '@react-navigation/native'; //Components -import { DefaultLayout, Hero, } from '../index'; +import { DefaultLayout, Hero, Cta } from '../index'; function Navigate(props) { @@ -79,6 +79,9 @@ class Home extends React.Component { {_renderList()} + Nog geen stage gevonden? + + Tips ) } @@ -105,7 +108,8 @@ const styles = StyleSheet.create({ color: "#003581", textAlign: 'center', fontSize: 20, - marginVertical: 15 + marginTop: 30, + marginBottom: 15 }, carouselwrapper: { @@ -123,10 +127,15 @@ const styles = StyleSheet.create({ borderRadius: 5, width: 120, alignSelf: 'flex-end' - }, - white: { - color: '#ffffff', - }, + }, + white: { + color: '#ffffff', + }, + Heading: { + fontSize: 20, + color: '#DE0000', + marginBottom: 10 + }, }); export default Home; \ No newline at end of file diff --git a/ReactJS/Native/AlfaPrentice/App/Views/Profiles/UserProfile.js b/ReactJS/Native/AlfaPrentice/App/Views/Profiles/UserProfile.js index 8d1183e..ab63b0c 100644 --- a/ReactJS/Native/AlfaPrentice/App/Views/Profiles/UserProfile.js +++ b/ReactJS/Native/AlfaPrentice/App/Views/Profiles/UserProfile.js @@ -16,13 +16,13 @@ class UserProfile extends React.Component { - - - - - - - + + + + + + + diff --git a/ReactJS/Native/AlfaPrentice/App/index.js b/ReactJS/Native/AlfaPrentice/App/index.js index 8df6019..3bafc0d 100644 --- a/ReactJS/Native/AlfaPrentice/App/index.js +++ b/ReactJS/Native/AlfaPrentice/App/index.js @@ -7,6 +7,7 @@ import {HeroSearch} from './Hero/Hero'; import CompanyResultcard from './Cards/CompanyResultCard'; import Footer from './Footer/Footer'; import ProfileLink from './Cards/ProfileLinks'; +import Cta from './Cta/Cta'; //Pages import Home from "./Views/Home"; @@ -31,6 +32,7 @@ export { CompanyResultcard, Footer, ProfileLink, + Cta, } //Pages export diff --git a/ReactJS/Native/AlfaPrentice/app.json b/ReactJS/Native/AlfaPrentice/app.json index cb79362..2fc46e1 100644 --- a/ReactJS/Native/AlfaPrentice/app.json +++ b/ReactJS/Native/AlfaPrentice/app.json @@ -27,6 +27,7 @@ }, "web": { "favicon": "./assets/favicon.png" - } + }, + "description": "" } }