update homepage

This commit is contained in:
frits000000 2020-11-30 15:43:05 +01:00
parent 4c7dc3877e
commit 6041de6a71
7 changed files with 11499 additions and 9 deletions

View File

@ -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>
)
}

View File

@ -15,7 +15,7 @@ function Navigate(props) {
}
function HrCheck(props) {
var x = props.hr;
var x = props.hr;
if (x == "false"){
return <View></View>
}

View File

@ -24,7 +24,7 @@ const Cta = (props) => {
const Styles = StyleSheet.create ({
Cta: {
backgroundColor: "#DE0000a9",
backgroundColor: "#003581",
paddingTop: 15,
paddingBottom: 30,
display: 'flex',

View File

@ -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>
)
}

View File

@ -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>
)
}

File diff suppressed because it is too large Load Diff

View File

@ -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": {