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.

ProxiwashAboutScreen.js 3.3KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182
  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, Title} from 'react-native-paper';
  6. type Props = {
  7. navigation: Object,
  8. };
  9. /**
  10. * Class defining the proxiwash about screen.
  11. */
  12. export default class ProxiwashAboutScreen 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/proxiwash-logo.png')}
  26. style={{flex: 1, resizeMode: "contain"}}
  27. resizeMode="contain"/>
  28. </View>
  29. <Text>{i18n.t('proxiwashScreen.description')}</Text>
  30. <Card style={{margin: 5}}>
  31. <Card.Title
  32. title={i18n.t('proxiwashScreen.dryer')}
  33. left={props => <List.Icon {...props} icon={'tumble-dryer'}/>}
  34. />
  35. <Card.Content>
  36. <Title>{i18n.t('proxiwashScreen.procedure')}</Title>
  37. <Paragraph>{i18n.t('proxiwashScreen.dryerProcedure')}</Paragraph>
  38. <Title>{i18n.t('proxiwashScreen.tips')}</Title>
  39. <Paragraph>{i18n.t('proxiwashScreen.dryerTips')}</Paragraph>
  40. </Card.Content>
  41. </Card>
  42. <Card style={{margin: 5}}>
  43. <Card.Title
  44. title={i18n.t('proxiwashScreen.washer')}
  45. left={props => <List.Icon {...props} icon={'washing-machine'}/>}
  46. />
  47. <Card.Content>
  48. <Title>{i18n.t('proxiwashScreen.procedure')}</Title>
  49. <Paragraph>{i18n.t('proxiwashScreen.washerProcedure')}</Paragraph>
  50. <Title>{i18n.t('proxiwashScreen.tips')}</Title>
  51. <Paragraph>{i18n.t('proxiwashScreen.washerTips')}</Paragraph>
  52. </Card.Content>
  53. </Card>
  54. <Card style={{margin: 5}}>
  55. <Card.Title
  56. title={i18n.t('proxiwashScreen.tariffs')}
  57. left={props => <List.Icon {...props} icon={'coins'}/>}
  58. />
  59. <Card.Content>
  60. <Paragraph>{i18n.t('proxiwashScreen.washersTariff')}</Paragraph>
  61. <Paragraph>{i18n.t('proxiwashScreen.dryersTariff')}</Paragraph>
  62. </Card.Content>
  63. </Card>
  64. <Card style={{margin: 5}}>
  65. <Card.Title
  66. title={i18n.t('proxiwashScreen.paymentMethods')}
  67. left={props => <List.Icon {...props} icon={'cash'}/>}
  68. />
  69. <Card.Content>
  70. <Paragraph>{i18n.t('proxiwashScreen.paymentMethodsDescription')}</Paragraph>
  71. </Card.Content>
  72. </Card>
  73. </ScrollView>
  74. );
  75. }
  76. }