|
@@ -1,5 +1,5 @@
|
|
import React, { useState } from 'react';
|
|
import React, { useState } from 'react';
|
|
-import { View, Image, Linking, Text } from 'react-native';
|
|
|
|
|
|
+import { View, Image, Linking, Text, TouchableOpacity } from 'react-native';
|
|
import { useNavigation } from '@react-navigation/native';
|
|
import { useNavigation } from '@react-navigation/native';
|
|
|
|
|
|
import { MenuButton } from '../MenuButton';
|
|
import { MenuButton } from '../MenuButton';
|
|
@@ -28,9 +28,16 @@ export const MenuDrawer = (props: any) => {
|
|
<>
|
|
<>
|
|
<SafeAreaView style={styles.container}>
|
|
<SafeAreaView style={styles.container}>
|
|
<View style={{ flex: 1 }}>
|
|
<View style={{ flex: 1 }}>
|
|
- <View style={styles.logoContainer}>
|
|
|
|
- <Image source={require('../../../assets/logo-ua.png')} style={styles.logo} />
|
|
|
|
- </View>
|
|
|
|
|
|
+ <TouchableOpacity
|
|
|
|
+ style={styles.logoContainer}
|
|
|
|
+ onPress={() =>
|
|
|
|
+ Linking.openURL('https://nomadmania.com/conference6').catch((err) =>
|
|
|
|
+ console.error('Failed to open conference URL:', err)
|
|
|
|
+ )
|
|
|
|
+ }
|
|
|
|
+ >
|
|
|
|
+ <Image source={require('../../../assets/logo-brazil.png')} style={styles.logo} />
|
|
|
|
+ </TouchableOpacity>
|
|
<MenuButton
|
|
<MenuButton
|
|
label="Info"
|
|
label="Info"
|
|
icon={<InfoIcon fill={Colors.DARK_BLUE} width={20} height={20} />}
|
|
icon={<InfoIcon fill={Colors.DARK_BLUE} width={20} height={20} />}
|