Browse Source

Moved proximo and proxiwash images on the web

Arnaud Vergnet 1 year ago
parent
commit
faa174b8f1

BIN
assets/proximo-logo.png View File


BIN
assets/proxiwash-logo.png View File


+ 4
- 3
src/screens/Proximo/ProximoAboutScreen.js View File

@@ -10,6 +10,8 @@ type Props = {
10 10
     navigation: Object,
11 11
 };
12 12
 
13
+const LOGO = "https://etud.insa-toulouse.fr/~amicale_app/images/proximo-logo.png";
14
+
13 15
 /**
14 16
  * Class defining the proximo about screen.
15 17
  */
@@ -27,9 +29,8 @@ export default class ProximoAboutScreen extends React.Component<Props> {
27 29
                     alignItems: 'center'
28 30
                 }}>
29 31
                     <Image
30
-                        source={require('../../../assets/proximo-logo.png')}
31
-                        style={{flex: 1, resizeMode: "contain"}}
32
-                        resizeMode="contain"/>
32
+                        source={{uri: LOGO}}
33
+                        style={{height: '100%', width: '100%', resizeMode: "contain"}}/>
33 34
                 </View>
34 35
                 <Text>{i18n.t('proximoScreen.description')}</Text>
35 36
                 <Card style={{margin: 5}}>

+ 4
- 3
src/screens/Proxiwash/ProxiwashAboutScreen.js View File

@@ -10,6 +10,8 @@ type Props = {
10 10
     navigation: Object,
11 11
 };
12 12
 
13
+const LOGO = "https://etud.insa-toulouse.fr/~amicale_app/images/proxiwash-logo.png";
14
+
13 15
 /**
14 16
  * Class defining the proxiwash about screen.
15 17
  */
@@ -27,9 +29,8 @@ export default class ProxiwashAboutScreen extends React.Component<Props> {
27 29
                     alignItems: 'center'
28 30
                 }}>
29 31
                     <Image
30
-                        source={require('../../../assets/proxiwash-logo.png')}
31
-                        style={{flex: 1, resizeMode: "contain"}}
32
-                        resizeMode="contain"/>
32
+                        source={{uri: LOGO}}
33
+                        style={{height: '100%', width: '100%', resizeMode: "contain"}}/>
33 34
                 </View>
34 35
                 <Text>{i18n.t('proxiwashScreen.description')}</Text>
35 36
                 <Card style={{margin: 5}}>

+ 1
- 1
src/screens/Services/ServicesScreen.js View File

@@ -25,7 +25,7 @@ const ROOM_IMAGE = "https://scontent-cdt1-1.xx.fbcdn.net/v/t1.0-9/47041013_20435
25 25
 const EMAIL_IMAGE = "https://etud-mel.insa-toulouse.fr/webmail/images/logo-bluemind.png";
26 26
 const ENT_IMAGE = "https://ent.insa-toulouse.fr/media/org/jasig/portal/layout/tab-column/xhtml-theme/insa/institutional/LogoInsa.png";
27 27
 
28
-const PROXIMO_IMAGE = require("../../../assets/proximo-logo.png");
28
+const PROXIMO_IMAGE = "https://etud.insa-toulouse.fr/~amicale_app/images/proximo-logo.png"
29 29
 const WIKETUD_LINK = "https://wiki.etud.insa-toulouse.fr/resources/assets/wiketud.png?ff051";
30 30
 const AMICALE_IMAGE = require("../../../assets/amicale.png");
31 31
 const EE_IMAGE = "https://etud.insa-toulouse.fr/~eeinsat/wp-content/uploads/2019/09/logo-blanc.png";

Loading…
Cancel
Save