update homepage
This commit is contained in:
		
							parent
							
								
									4c7dc3877e
								
							
						
					
					
						commit
						6041de6a71
					
				| @ -13,6 +13,18 @@ function Navigate(props) { | ||||
|     ) | ||||
| } | ||||
| 
 | ||||
| function HrCheck(props) { | ||||
|     var x = props.hr;  | ||||
|     if (x == "false"){ | ||||
|         return <View></View> | ||||
|     } | ||||
|     else { | ||||
|         return( | ||||
|             <View style={Styles.HR}/> | ||||
|         ) | ||||
|     } | ||||
| } | ||||
| 
 | ||||
| class CompanyResultCard extends React.Component{ | ||||
|     constructor (props) { | ||||
|         super(props); | ||||
| @ -41,7 +53,7 @@ class CompanyResultCard extends React.Component{ | ||||
|                 </View> | ||||
|                  | ||||
|             </View> | ||||
|             <View style={Styles.HR}/> | ||||
|             <HrCheck hr = {this.props.hr}/> | ||||
|             </ScrollView> | ||||
|         ) | ||||
|     } | ||||
|  | ||||
| @ -15,7 +15,7 @@ function Navigate(props) { | ||||
| } | ||||
| 
 | ||||
|     function HrCheck(props) { | ||||
|         var x = props.hr; | ||||
|         var x = props.hr;  | ||||
|         if (x == "false"){ | ||||
|             return <View></View> | ||||
|         } | ||||
|  | ||||
| @ -24,7 +24,7 @@ const Cta = (props) => { | ||||
| 
 | ||||
| const Styles = StyleSheet.create ({ | ||||
|     Cta: { | ||||
|         backgroundColor: "#DE0000a9", | ||||
|         backgroundColor: "#003581", | ||||
|         paddingTop: 15, | ||||
|         paddingBottom: 30, | ||||
|         display: 'flex', | ||||
|  | ||||
| @ -79,9 +79,13 @@ class Home extends React.Component { | ||||
|                   {_renderList()} | ||||
|                 </Swiper> | ||||
|            </View> | ||||
|            <Text style={styles.SecondaireHeader}>Tips</Text> | ||||
|            <View style={{alignItems: 'center', display: 'flex'}}> | ||||
|              <Text style={{width: '80%'}}>Zorg er voor dat je CV up toe date is en er goed uit zit</Text> | ||||
|            </View> | ||||
|            <Text style={styles.SecondaireHeader}>Nog geen stage gevonden?</Text> | ||||
|           <Cta/> | ||||
|           <Text style={styles.SecondaireHeader}>Tips</Text> | ||||
|            | ||||
|       </DefaultLayout> | ||||
|    ) | ||||
| } | ||||
|  | ||||
| @ -30,7 +30,7 @@ class SearchPage extends React.Component { | ||||
|          <CompanyResultcard details = "Bedrijf 1"/> | ||||
|          <CompanyResultcard details = "Bedrijf 2"/> | ||||
|          <CompanyResultcard details = "Bedrijf 3"/> | ||||
|          <CompanyResultcard details = "Bedrijf 4"/> | ||||
|          <CompanyResultcard details = "Bedrijf 4" hr = "false"/> | ||||
|       </DefaultLayout> | ||||
|    ) | ||||
|    } | ||||
|  | ||||
							
								
								
									
										11480
									
								
								Native/AlfaPrentice/package-lock.json
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										11480
									
								
								Native/AlfaPrentice/package-lock.json
									
									
									
										generated
									
									
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							| @ -29,7 +29,7 @@ | ||||
|     "react-native-safe-area-context": "^3.1.9", | ||||
|     "react-native-screens": "^2.15.0", | ||||
|     "react-native-snap-carousel": "^3.9.1", | ||||
|     "react-native-swiper-hooks": "^1.2.5", | ||||
|     "react-native-swiper-hooks": "^1.2.7", | ||||
|     "react-native-web": "~0.13.12" | ||||
|   }, | ||||
|   "devDependencies": { | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user