Application Android et IOS pour l'amicale des élèves https://play.google.com/store/apps/details?id=fr.amicaleinsat.application
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

ProximoAboutScreen.js 2.5KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768
  1. // @flow
  2. import * as React from 'react';
  3. import {Image, View} from 'react-native';
  4. import {Card, CardItem, Container, Content, H2, Left, Text} from 'native-base';
  5. import CustomHeader from "../../components/CustomHeader";
  6. import i18n from "i18n-js";
  7. import {MaterialCommunityIcons} from "@expo/vector-icons";
  8. type Props = {
  9. navigation: Object,
  10. };
  11. /**
  12. * Class defining an about screen. This screen shows the user information about the app and it's author.
  13. */
  14. export default class ProximoAboutScreen extends React.Component<Props> {
  15. render() {
  16. const nav = this.props.navigation;
  17. return (
  18. <Container>
  19. <Content padder>
  20. <View style={{
  21. width: '100%',
  22. height: 100,
  23. marginTop: 20,
  24. marginBottom: 20,
  25. justifyContent: 'center',
  26. alignItems: 'center'
  27. }}>
  28. <Image
  29. source={require('../../assets/proximo-logo.png')}
  30. style={{flex: 1, resizeMode: "contain"}}
  31. resizeMode="contain"/>
  32. </View>
  33. <Text>{i18n.t('proximoScreen.description')}</Text>
  34. <Card>
  35. <CardItem>
  36. <Left>
  37. <MaterialCommunityIcons
  38. name={'clock-outline'}
  39. size={30}/>
  40. <H2>{i18n.t('proximoScreen.openingHours')}</H2>
  41. </Left>
  42. </CardItem>
  43. <CardItem>
  44. <Text>18h30 - 19h30</Text>
  45. </CardItem>
  46. </Card>
  47. <Card>
  48. <CardItem>
  49. <Left>
  50. <MaterialCommunityIcons
  51. name={'cash'}
  52. size={30}/>
  53. <H2>{i18n.t('proximoScreen.paymentMethods')}</H2>
  54. </Left>
  55. </CardItem>
  56. <CardItem>
  57. <Text>{i18n.t('proximoScreen.paymentMethodsDescription')}</Text>
  58. </CardItem>
  59. </Card>
  60. </Content>
  61. </Container>
  62. );
  63. }
  64. }