index.tsx 2.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. import { FC } from 'react';
  2. import { ImageBackground, View, Text, Image, 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 TravellersIcon from 'assets/icons/bottom-navigation/travellers.svg';
  8. type Props = {
  9. navigation: NavigationProp<any>;
  10. };
  11. export const DiscoverInfoScreen: FC<Props> = ({ navigation }) => {
  12. return (
  13. <PageWrapper>
  14. <Header label={'Discover the World'} />
  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. <View style={{ gap: 10 }}>
  25. <Text style={styles.title}>Use the map to explore</Text>
  26. <View style={styles.infoBlock}>
  27. <View style={styles.imgContainer}>
  28. <Image source={require('../../../../assets/images/map.jpeg')} style={styles.image} />
  29. </View>
  30. <Text style={styles.text}>
  31. Tap a region to see more details. Zoom the map to reveal our series.
  32. </Text>
  33. </View>
  34. </View>
  35. <View style={{ gap: 10 }}>
  36. <Text style={styles.title}>User Travels section</Text>
  37. <View style={styles.infoBlock}>
  38. <View style={[styles.imgContainer, { width: 80, height: 80 }]}>
  39. <TravellersIcon fill={Colors.DARK_BLUE} />
  40. <Text style={styles.imgText}>Travellers</Text>
  41. </View>
  42. <Text style={styles.text}>
  43. Use our Travels section to explore information in a structured layout.
  44. </Text>
  45. </View>
  46. </View>
  47. </ScrollView>
  48. </ImageBackground>
  49. </PageWrapper>
  50. );
  51. };