From 9f1b900195c4d656a6998fc12b2f149aac779e30 Mon Sep 17 00:00:00 2001 From: Dslak Date: Wed, 6 Nov 2019 13:45:32 +0100 Subject: [PATCH] update info screen and bad responses --- vds-app/App/components/Variables.js | 9 ++++++--- vds-app/App/data/aerodynamics.js | 2 +- vds-app/App/data/legislation.js | 6 ++++++ vds-app/App/data/meteorology.js | 9 +++++++++ vds-app/App/screens/Info.js | 26 +++++++++++++++++--------- 5 files changed, 39 insertions(+), 13 deletions(-) diff --git a/vds-app/App/components/Variables.js b/vds-app/App/components/Variables.js index 62fc9f2..d1dd907 100644 --- a/vds-app/App/components/Variables.js +++ b/vds-app/App/components/Variables.js @@ -2,6 +2,7 @@ export const colors = { white: "#fff", white_alpha: "rgba(255, 255, 255, 0.3)", black: "#000", + black_alpha: "rgba(0, 0, 0, 0.1)", purple: "#8c0072", purple_light: "#a30085", blue: "#1385d0", @@ -42,10 +43,12 @@ export const texts = { infoTitle: "Informazioni", version: "Versione", author: "Autore", - description: "VDS Quiz è una applicazione che utilizza le 500 domande ufficiali dell'AeCI, nella simulazione le domande vengono estrapolate seguendo lo schema ufficiale d'esame.", + description: "VDS Quiz è una applicazione che utilizza le 500 domande ufficiali dell'AeCI, nella simulazione le domande vengono estrapolate seguendo lo schema ufficiale d'esame:", source: "Domande ufficiali", - pdfLinkText: "Fonte: AeCI \"500 Quiz\"", - pdfLink: "http://www.aeci.it/upload/files/quiz_VDS-VL_2017.pdf" + pdfLinkText: "Fonte: AeCI (Aero Club d'Italia) \"500 Quiz\"", + pdfLink: "http://www.aeci.it/upload/files/quiz_VDS-VL_2017.pdf", + schema: "Normativa e legislazione: 4 domande / 3pt \n\r Aerodinamica: 8 domande / 3pt \n\r Pronto soccorso: 1 domande / 2pt \n\r Fisiopatologia del volo: 1 domande / 2pt \n\r Meteorologia e aerologia: 6 domande / 4pt \n\r Strumenti: 1 domande / 2pt \n\r Tecnica di pilotaggio: 5 domande / 4pt \n\r Materiali: 1 domande / 2pt \n\r Sicurezza del volo: 3 domande / 4pt \n\r TOTALE: 30 domande / 100pt", + resultsSchema: "da 100pt a 86pt idoneo\n\r da 85pt a 80pt idoneo con superamento di una verifica orale, riguardante i quesiti errati\n\r inferiore a 80pt non idoneo" } export const examScheme = [ diff --git a/vds-app/App/data/aerodynamics.js b/vds-app/App/data/aerodynamics.js index b674cb5..be3ffa9 100644 --- a/vds-app/App/data/aerodynamics.js +++ b/vds-app/App/data/aerodynamics.js @@ -801,4 +801,4 @@ const questions = [ } ] -export default questions; +export default questions diff --git a/vds-app/App/data/legislation.js b/vds-app/App/data/legislation.js index 6da9316..4bbb468 100644 --- a/vds-app/App/data/legislation.js +++ b/vds-app/App/data/legislation.js @@ -651,6 +651,11 @@ const questions = [ { id: "2", text: "Una porzione di spazio aereo all’interno della quale il volo è vietato." + }, + { + id: "3", + text: "una porzione di spazio aereo all’interno della quale il VDS deve essere espressamente autorizzato poiché sono svolte specifiche attività di volo civile o militare.", + correct: true } ] }, @@ -777,3 +782,4 @@ const questions = [ ] export default questions + diff --git a/vds-app/App/data/meteorology.js b/vds-app/App/data/meteorology.js index 435a5a1..0b8352f 100644 --- a/vds-app/App/data/meteorology.js +++ b/vds-app/App/data/meteorology.js @@ -1893,6 +1893,10 @@ const questions = [ id: "2", text: "Una nube cumuliforme al culmine della sua fase evolutiva, caratterizzata dalla violenza dei fenomeni meteorologici a essa associati quali: precipitazioni a carattere temporalesco, fenomeni elettrostatici, formazioni di ghiaccio e wind shear verticale ed orizzontale.", correct: true + }, + { + id: "3", + text: "un particolare tipo di Cumulo, capace di generare fenomeni temporaleschi, che si forma esclusivamente in zone montuose d’estate al passaggio di una perturbazione a carattere freddo." } ] }, @@ -2029,6 +2033,10 @@ const questions = [ { id: "2", text: "Si, perché la brezza si riscalda per attrito col terreno, quindi inizia a salire se in regime d’instabilità causando quindi possibili fenomeni nuvolosi da sollevamento." + }, + { + id: "3", + text: "no, i regimi di brezza non danno mai luogo a fenomeni di sollevamento e condensazione." } ] }, @@ -2215,3 +2223,4 @@ const questions = [ ] export default questions + diff --git a/vds-app/App/screens/Info.js b/vds-app/App/screens/Info.js index 3e07a2e..a253b08 100644 --- a/vds-app/App/screens/Info.js +++ b/vds-app/App/screens/Info.js @@ -1,5 +1,5 @@ import React from "react" -import { View, StyleSheet, StatusBar, Text, SafeAreaView, Dimensions, Image, BackHandler, Linking} from "react-native" +import { View, ScrollView, StyleSheet, StatusBar, Text, SafeAreaView, Dimensions, Image, BackHandler, Linking} from "react-native" import { Button, ButtonContainer } from "../components/Button" import { colors, texts } from "../components/Variables" @@ -56,15 +56,17 @@ const styles = StyleSheet.create({ textShadowRadius: 10 }, textSmall: { - fontSize: 18, + marginTop: 15, + borderRadius: 5, + backgroundColor: colors.black_alpha, + borderWidth: 1, + borderColor: colors.white_alpha, + fontSize: 16, color: colors.white, fontWeight: "400", textAlign: "center", paddingHorizontal: 20, - paddingVertical: 20, - textShadowColor: 'rgba(0, 0, 0, 0.75)', - textShadowOffset: {width: -1, height: 1}, - textShadowRadius: 10 + paddingVertical: 20 }, noPadding: { paddingVertical: 0, @@ -98,7 +100,7 @@ class Info extends React.Component { - + {`${pkg.expo.name}`} @@ -112,6 +114,12 @@ class Info extends React.Component { {texts.description} + + {texts.schema} + + + {texts.resultsSchema} +