use new logo on membership proof screen
This commit is contained in:
1 file changed
+10
-5
@@ -8,6 +8,7 @@ import {
|
||||
View,
|
||||
RefreshControl,
|
||||
ActivityIndicator,
|
||||
Dimensions,
|
||||
} from 'react-native';
|
||||
import { Button } from 'react-native-ui-lib';
|
||||
import Confetti from 'react-native-confetti';
|
||||
@@ -15,6 +16,8 @@ import Confetti from 'react-native-confetti';
|
||||
import theme from '../../theme';
|
||||
import useProof from './useProof';
|
||||
|
||||
import logo from '../../../assets/CN-logo-hel-svart.png';
|
||||
|
||||
const MembershipValidTo = ({ user }) => {
|
||||
if (!user.last_membership) {
|
||||
return null;
|
||||
@@ -95,11 +98,7 @@ const Logo = ({ user }) => {
|
||||
|
||||
return (
|
||||
<View style={{ marginTop: 8 }}>
|
||||
<Image
|
||||
style={{ width: null, height: 100 }}
|
||||
source={{ uri: 'https://galtinn.neuf.no/static/dist/images/logo.png' }}
|
||||
resizeMode="contain"
|
||||
/>
|
||||
<Image style={styles.logo} source={logo} />
|
||||
</View>
|
||||
);
|
||||
};
|
||||
@@ -263,4 +262,10 @@ const styles = StyleSheet.create({
|
||||
textAlign: 'center',
|
||||
color: theme.colors.danger,
|
||||
},
|
||||
logo: {
|
||||
margin: 10,
|
||||
resizeMode: 'contain',
|
||||
width: Dimensions.get('window').width * 0.8, // 80% of screen width
|
||||
alignSelf: 'center',
|
||||
},
|
||||
});
|
||||
Reference in new issue
Block a user