AboutUsPage.js 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172
  1. import {ScrollView, StyleSheet, Text, View} from 'react-native';
  2. import React from 'react';
  3. import NewscoutTitleHeader from '../components/organisms/Headers/NewscoutTitleHeader';
  4. import NewscoutLogo from '../components/molecules/NewscoutLogo';
  5. import colors from '../theme/colors';
  6. import fonts from '../theme/fonts';
  7. const AboutUsPage = props => {
  8. const {navigation} = props;
  9. return (
  10. <View style={styles.container}>
  11. <ScrollView showsVerticalScrollIndicator={false}>
  12. <NewscoutTitleHeader
  13. title={'About Us'}
  14. backButtonShown
  15. onBackClick={() => navigation.goBack()}
  16. />
  17. <View style={styles.logoContainer}>
  18. <NewscoutLogo style={styles.logoStyle} />
  19. </View>
  20. <Text style={styles.tagline}>
  21. We focused on Providing best news and article
  22. </Text>
  23. <Text style={styles.aboutText}>
  24. Lorem ipsum dolor sit amet, consectetur adipiscing incididunt ut
  25. labore et dolore maliquip ex ea commodo consequat."Lorem ipsum dolor
  26. sit amet, consectetur adipiscing incididunt ut labore et dolore
  27. maliquip ex ea commodo consequat.Lorem ipsum dolor sit amet,
  28. consectetur adipiscing elit, sed do eiusmod tempor incididunt ut
  29. labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud
  30. exercitation ullamco laboris nis
  31. </Text>
  32. <Text style={styles.aboutText}>
  33. Lorem ipsum dolor sit amet, consectetur adipiscing incididunt ut
  34. labore et dolore maliquip ex ea commodo consequat."Lorem ipsum dolor
  35. sit amet, consectetur adipiscing incididunt ut labore et dolore
  36. maliquip ex ea commodo consequat.Lorem ipsum dolor sit amet,
  37. consectetur adipiscing elit, sed do eiusmod tempor incididunt ut
  38. labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud
  39. exercitation ullamco laboris nis
  40. </Text>
  41. </ScrollView>
  42. </View>
  43. );
  44. };
  45. export default AboutUsPage;
  46. const styles = StyleSheet.create({
  47. container: {
  48. backgroundColor: colors.white,
  49. height: '100%',
  50. },
  51. logoContainer: {
  52. justifyContent: 'center',
  53. alignItems: 'center',
  54. },
  55. logoStyle: {
  56. height: 240,
  57. width: 240,
  58. },
  59. tagline: {
  60. fontFamily: fonts.type.medium,
  61. color: colors.grayShade_200,
  62. textAlign: 'center',
  63. },
  64. aboutText: {
  65. textAlign: 'left',
  66. paddingVertical: 16,
  67. paddingHorizontal: 24,
  68. },
  69. });