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 1.9KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455
  1. // @flow
  2. import * as React from 'react';
  3. import {Image, ScrollView, View} from 'react-native';
  4. import i18n from "i18n-js";
  5. import {Card, List, Paragraph, Text} from 'react-native-paper';
  6. type Props = {
  7. navigation: Object,
  8. };
  9. /**
  10. * Class defining the proximo about screen.
  11. */
  12. export default class ProximoAboutScreen extends React.Component<Props> {
  13. render() {
  14. return (
  15. <ScrollView style={{padding: 5}}>
  16. <View style={{
  17. width: '100%',
  18. height: 100,
  19. marginTop: 20,
  20. marginBottom: 20,
  21. justifyContent: 'center',
  22. alignItems: 'center'
  23. }}>
  24. <Image
  25. source={require('../../assets/proximo-logo.png')}
  26. style={{flex: 1, resizeMode: "contain"}}
  27. resizeMode="contain"/>
  28. </View>
  29. <Text>{i18n.t('proximoScreen.description')}</Text>
  30. <Card style={{margin: 5}}>
  31. <Card.Title
  32. title={i18n.t('proximoScreen.openingHours')}
  33. left={props => <List.Icon {...props} icon={'clock-outline'}/>}
  34. />
  35. <Card.Content>
  36. <Paragraph>18h30 - 19h30</Paragraph>
  37. </Card.Content>
  38. </Card>
  39. <Card style={{margin: 5}}>
  40. <Card.Title
  41. title={i18n.t('proximoScreen.paymentMethods')}
  42. left={props => <List.Icon {...props} icon={'cash'}/>}
  43. />
  44. <Card.Content>
  45. <Paragraph>18{i18n.t('proximoScreen.paymentMethodsDescription')}</Paragraph>
  46. </Card.Content>
  47. </Card>
  48. </ScrollView>
  49. );
  50. }
  51. }