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.4KB

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