説明なし

Analisis.js 4.3KB

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