Browse Source

Adding logo in about and justify text

master
GabrielTrettel 3 years ago
parent
commit
263698725b
  1. 1
      src/app/config/assets.js
  2. 16
      src/app/screens/Abbout.js

1
src/app/config/assets.js

@ -105,6 +105,7 @@ export default {
}, },
logos: { logos: {
logo_aboutScreen: AboutScreenLogos, logo_aboutScreen: AboutScreenLogos,
belmont: require("./../assets/logos/Belmont.png"),
}, },
weather_icons: [ weather_icons: [
Weather_0_sunny, Weather_0_sunny,

16
src/app/screens/Abbout.js

@ -10,6 +10,7 @@ import {
import colors from "../config/colors"; import colors from "../config/colors";
import { dimensions, screen_width } from "../config/dimensions"; import { dimensions, screen_width } from "../config/dimensions";
import logos from "../assets/logos/LogosAPP.svg"; import logos from "../assets/logos/LogosAPP.svg";
import assets from "../config/assets";
export default function Abbout(props) { export default function Abbout(props) {
const linkWarwick = const linkWarwick =
@ -91,7 +92,7 @@ export default function Abbout(props) {
<Text style={styles.txtTitle}>Cooperação e financiamento</Text> <Text style={styles.txtTitle}>Cooperação e financiamento</Text>
</View> </View>
<Text style={styles.txtDescription}> <Text style={styles.txtDescription}>
O aplicativo nome é parte do projeto T2S Waterproofing Data (em
O aplicativo Dados à Prova Dágua é parte do projeto T2S Waterproofing Data (em
inglês) que é apoiado financeiramente pelo Belmont Forum e NORFACE inglês) que é apoiado financeiramente pelo Belmont Forum e NORFACE
Joint Research Programme on Transformations to Sustainability ( Joint Research Programme on Transformations to Sustainability (
<Text <Text
@ -108,7 +109,7 @@ export default function Abbout(props) {
</Text> </Text>
</View> </View>
</View> </View>
<View style={styles.sectionStyle}>
<View style={[styles.sectionStyle, {marginBottom: 80}]}>
<Image <Image
style={{ style={{
resizeMode: "center", resizeMode: "center",
@ -117,6 +118,15 @@ export default function Abbout(props) {
}} }}
source={require("../assets/logos/aboutlogos.png")} source={require("../assets/logos/aboutlogos.png")}
/> />
<Image
style={{
resizeMode: "center",
width: 617 * 0.3,
height: 177 * 0.3,
}}
source={assets.logos.belmont}
/>
</View> </View>
</ScrollView> </ScrollView>
</View> </View>
@ -153,8 +163,10 @@ const styles = StyleSheet.create({
fontSize: dimensions.text.default, fontSize: dimensions.text.default,
color: "blue", color: "blue",
textDecorationLine: "underline", textDecorationLine: "underline",
textAlign:"left",
}, },
txtDescription: { txtDescription: {
textAlign: "justify",
fontSize: dimensions.text.default, fontSize: dimensions.text.default,
}, },
titleBackground: { titleBackground: {

Loading…
Cancel
Save