index.tsx 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253
  1. import { FC } from 'react';
  2. import { ImageBackground, View, Text, ScrollView } from 'react-native';
  3. import type { NavigationProp } from '@react-navigation/native';
  4. import { Header, PageWrapper } from '../../../components';
  5. import { styles } from './styles';
  6. import { Colors } from 'src/theme';
  7. import FlagsSvg from 'assets/icons/travels-section/flags.svg';
  8. type Props = {
  9. navigation: NavigationProp<any>;
  10. };
  11. export const PlanInfoScreen: FC<Props> = ({ navigation }) => {
  12. return (
  13. <PageWrapper>
  14. <Header label={'Plan & track your travels'} />
  15. <ImageBackground
  16. style={styles.background}
  17. source={require('../../../../assets/images/nm-background.png')}
  18. >
  19. <ScrollView
  20. style={styles.wrapper}
  21. showsVerticalScrollIndicator={false}
  22. contentContainerStyle={styles.contentContainerStyle}
  23. >
  24. <Text style={[styles.text, { flex: 0 }]}>
  25. Travels section is a structured way to record your visited countries / regions / points
  26. of interest and to explore future destinations.
  27. </Text>
  28. <View>
  29. <Text style={[styles.title, { marginBottom: 10 }]}>Countries</Text>
  30. <View style={styles.infoBlock}>
  31. <View style={styles.imgContainer}>
  32. <FlagsSvg fill={Colors.ORANGE} />
  33. <Text style={styles.imgText}>Countries</Text>
  34. </View>
  35. <Text style={styles.text}>
  36. Countries give you the easiest way of recording your travels - just mark a country
  37. as visited and it will be reflected in your UN score. You can also tell us how long
  38. you stayed in a
  39. </Text>
  40. </View>
  41. <Text style={[styles.text, { flex: 0 }]}>
  42. country and this will influence your SLOW score. Read more about slow here
  43. </Text>
  44. </View>
  45. </ScrollView>
  46. </ImageBackground>
  47. </PageWrapper>
  48. );
  49. };