Viktoriia пре 3 недеља
родитељ
комит
1b3df17703

+ 2 - 2
app.config.ts

@@ -28,7 +28,7 @@ export default ({ config }: ConfigContext): ExpoConfig => ({
   // Should be updated after every dependency change
   runtimeVersion: '1.6',
   orientation: 'portrait',
-  icon: './assets/icon.png',
+  icon: './assets/icon-logo.png',
   userInterfaceStyle: 'light',
   extra: {
     ENV: env.ENV,
@@ -45,7 +45,7 @@ export default ({ config }: ConfigContext): ExpoConfig => ({
     tsconfigPaths: true
   },
   splash: {
-    image: './assets/loading-screen.png',
+    image: './assets/splash-screen-world.png',
     resizeMode: 'cover',
     backgroundColor: '#ffffff'
   },

BIN
assets/icon-logo.png


BIN
assets/logo-brazil.png


BIN
assets/logo-world.png


BIN
assets/splash-screen-world.png


+ 11 - 4
src/components/MenuDrawer/index.tsx

@@ -1,5 +1,5 @@
 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 { MenuButton } from '../MenuButton';
@@ -28,9 +28,16 @@ export const MenuDrawer = (props: any) => {
     <>
       <SafeAreaView style={styles.container}>
         <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
             label="Info"
             icon={<InfoIcon fill={Colors.DARK_BLUE} width={20} height={20} />}

+ 1 - 1
src/components/SplashSpinner/index.tsx

@@ -7,7 +7,7 @@ export const Splash = () => {
     <View style={{ flex: 1 }}>
       <StatusBar translucent backgroundColor="transparent" />
       <ImageBackground
-        source={require('../../../assets/loading-screen.png')}
+        source={require('../../../assets/splash-screen-world.png')}
         style={{ flex: 1, justifyContent: 'center', alignItems: 'center' }}
       >
         <ActivityIndicator size={'large'} color={Colors.WHITE} style={{ paddingTop: '70%' }} />

+ 1 - 1
src/screens/InAppScreens/MapScreen/UniversalSearch/index.tsx

@@ -111,7 +111,7 @@ const SearchModal = ({
               source={
                 item.avatar
                   ? { uri: API_HOST + item.avatar }
-                  : require('../../../../../assets/logo-ua.png')
+                  : require('../../../../../assets/logo-world.png')
               }
               style={styles.img}
             />

+ 1 - 1
src/screens/InAppScreens/MapScreen/index.tsx

@@ -97,7 +97,7 @@ import { useSubscription } from 'src/screens/OfflineMapsScreen/useSubscription';
 
 const clusteredUsersIcon = require('assets/icons/icon-clustered-users.png');
 const defaultUserAvatar = require('assets/icon-user-share-location-solid.png');
-const logo = require('assets/logo-ua.png');
+const logo = require('assets/logo-world.png');
 const defaultSeriesIcon = require('assets/series-default.png');
 
 MapLibreRN.Logger.setLogLevel('error');

+ 1 - 1
src/screens/WelcomeScreen/index.tsx

@@ -27,7 +27,7 @@ const WelcomeScreen: FC<Props> = ({ navigation }) => {
           <View />
           <View style={{ width: 150, height: 150, alignSelf: 'center' }}>
             <ImageBackground
-              source={require('../../../assets/logo-ua.png')}
+              source={require('../../../assets/logo-world.png')}
               style={{ height: '100%' }}
             />
           </View>