💄 Fix icons in About

This commit is contained in:
nikolark committed 2022-08-01 21:29:52 +02:00
1 parent 7e1686cc5c
commit 2bc7c56bb1
2 files changed
+12 -16

No files matched your search

+12 -9
View File
@@ -84,33 +84,36 @@ const About = () => (
Det Norske Studentersamfund{'\n'}Slemdalsveien 15, 0369 Oslo
</Text>
<View style={styles.section}>
<Button iconLeft onPress={openMap}>
<SimpleIcon name="map" style={styles.icon} />
<Button leftIcon={<SimpleIcon name="map" style={styles.icon} />} onPress={openMap}>
<NBText> Vis i kart</NBText>
</Button>
</View>
<Text style={styles.header}>Åpningstider</Text>
<View style={styles.section}>
<Button iconLeft onPress={() => Linking.openURL('https://studentersamfundet.no/aapningstider/')}>
<SimpleIcon name="clock" style={styles.icon} />
<NBText>Vis Åpningstider</NBText>
<Button
leftIcon={<SimpleIcon name="clock" style={styles.icon} />}
onPress={() => Linking.openURL('https://studentersamfundet.no/aapningstider/')}
>
<NBText>Vis åpningstider</NBText>
</Button>
</View>
<Text style={styles.header}>Ta kontakt</Text>
<View style={[styles.section, { flex: 1, flexDirection: 'row' }]}>
<View>
<Button iconLeft onPress={() => Linking.openURL('tel:+4794430002')} style={{ marginHorizontal: 10 }}>
<SimpleIcon name="phone" style={styles.icon} />
<Button
leftIcon={<SimpleIcon name="phone" style={styles.icon} />}
onPress={() => Linking.openURL('tel:+4794430002')}
style={{ marginHorizontal: 10 }}
>
<NBText>Ring</NBText>
</Button>
</View>
<View>
<Button
iconLeft
leftIcon={<SimpleIcon name="envelope" style={styles.icon} />}
onPress={() => Linking.openURL('mailto:ledelsen@studentersamfundet.no')}
style={{ marginHorizontal: 10 }}
>
<SimpleIcon name="envelope" style={styles.icon} />
<NBText>Send e-post</NBText>
</Button>
</View>
-7
View File
@@ -1,7 +0,0 @@
import React from 'react';
import About from './About';
const AboutContainer = () => <About />;
export default AboutContainer;