Nenhuma descrição

Analisis.js 3.5KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148
  1. import React from "react";
  2. import {
  3. View,
  4. Text,
  5. StyleSheet,
  6. } from "react-native";
  7. // TOOL DESCRIPTIONS
  8. const bodyEJScreen = "EJScreen es..... Presione para ir al enlace."
  9. const bodyCEJST = "CEJST es..... Presione para ir al enlace."
  10. const bodyEJAtlas = "EJAtlas es..... Presione para ir al enlace."
  11. const bodyIPCC = "El ''Intergovernmental Panel on Climate Change'' o IPCC es..... Presione para ir al enlace."
  12. const Analisis = () => {
  13. return (
  14. <View>
  15. {/* TAB TITLE CODE*/}
  16. {/* TAB TITLE */}
  17. <Text style={styles.Tab}>
  18. Enlaces a Herramientas de Análisis Externas
  19. </Text>
  20. {/* FIRST TOOL CODE*/}
  21. {/* FIRST TOOL TITLE */}
  22. <View style={styles.Number}>
  23. <Text style={styles.Number}>
  24. 1)
  25. </Text>
  26. <Text style={styles.Title}
  27. onPress={ ()=> Linking.openURL('https://ejscreen.epa.gov/mapper/') }>
  28. Enlace a EJScreen
  29. </Text>
  30. </View>
  31. {/* FIRST TOOL BODY */}
  32. <View style={styles.Bullet}>
  33. <Text style={styles.Bullet}>
  34. {'\u002D'}
  35. </Text>
  36. <Text style={styles.Body}>
  37. {bodyEJScreen}
  38. </Text>
  39. </View>
  40. {/* SECOND TOOL CODE*/}
  41. {/* SECOND TOOL TITLE */}
  42. <View style={styles.Number}>
  43. <Text style={styles.Number}>
  44. 2)</Text>
  45. <Text style={styles.Title}
  46. onPress={ ()=> Linking.openURL('https://screeningtool.geoplatform.gov/en/#3/33.47/-97.5') }>
  47. Enlace a CEJST
  48. </Text>
  49. </View>
  50. {/* SECOND TOOL BODY */}
  51. <View style={styles.Bullet}>
  52. <Text style={styles.Bullet}>
  53. {'\u002D'}
  54. </Text>
  55. <Text style={styles.Body}>
  56. {bodyCEJST}
  57. </Text>
  58. </View>
  59. {/* THIRD TOOL CODE*/}
  60. {/* THIRD TOOL TITLE */}
  61. <View style={styles.Number}>
  62. <Text style={styles.Number}>
  63. 3)
  64. </Text>
  65. <Text style={styles.Title}
  66. onPress={ ()=> Linking.openURL('https://ejatlas.org/') }>
  67. Enlace a EJAtlas
  68. </Text>
  69. </View>
  70. {/* THIRD TOOL BODY */}
  71. <View style={styles.Bullet}>
  72. <Text style={styles.Bullet}>
  73. {'\u002D'}
  74. </Text>
  75. <Text style={styles.Body}>
  76. {bodyEJAtlas}
  77. </Text>
  78. </View>
  79. {/* FOURTH TOOL CODE*/}
  80. {/* FOURTH TOOL TITLE */}
  81. <View style={styles.Number}>
  82. <Text style={styles.Number}>
  83. 4)
  84. </Text>
  85. <Text style={styles.Title}
  86. onPress={ ()=> Linking.openURL('https://www.ipcc.ch/') }>
  87. Enlace al IPCC
  88. </Text>
  89. </View>
  90. {/* FOURTH TOOL BODY */}
  91. <View style={styles.Bullet}>
  92. <Text style={styles.Bullet}>
  93. {'\u002D'}
  94. </Text>
  95. <Text style={styles.Body}>
  96. {bodyIPCC}
  97. </Text>
  98. </View>
  99. </View>
  100. )}
  101. const styles = StyleSheet.create({
  102. Tab: { fontSize: 30,
  103. textAlign: "center",
  104. marginTop: "12%",
  105. marginLeft: "1.4%",
  106. marginRight: "1.4%"
  107. },
  108. Number: { fontSize: 23,
  109. textAlign: "left",
  110. marginLeft: "2.5%",
  111. marginTop: "5.5%",
  112. flexDirection: 'row'
  113. },
  114. Title: { fontSize: 23,
  115. textAlign: "left",
  116. marginTop: "5.5%",
  117. color: "#6495ed",
  118. flex: 0,
  119. paddingLeft: 6
  120. },
  121. Body: { fontSize: 18,
  122. textAlign: "left",
  123. marginTop: "2%",
  124. flex: 1,
  125. paddingLeft: 5
  126. },
  127. Bullet: { fontSize: 18,
  128. textAlign: "left",
  129. marginLeft: "6%",
  130. marginTop: "2%",
  131. flexDirection: 'row'
  132. }
  133. });
  134. export default Analisis;