Application Android et IOS pour l'amicale des élèves
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.4KB

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. import CustomTabBar from "../../components/Tabbar/CustomTabBar";
  7. type Props = {};
  8. const LOGO = "https://etud.insa-toulouse.fr/~amicale_app/images/Proxiwash.png";
  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={{uri: LOGO}}
  26. style={{height: '100%', width: '100%', resizeMode: "contain"}}/>
  27. </View>
  28. <Text>{i18n.t('proxiwashScreen.description')}</Text>
  29. <Card style={{margin: 5}}>
  30. <Card.Title
  31. title={i18n.t('proxiwashScreen.dryer')}
  32. left={props => <List.Icon {...props} icon={'tumble-dryer'}/>}
  33. />
  34. <Card.Content>
  35. <Title>{i18n.t('proxiwashScreen.procedure')}</Title>
  36. <Paragraph>{i18n.t('proxiwashScreen.dryerProcedure')}</Paragraph>
  37. <Title>{i18n.t('proxiwashScreen.tips')}</Title>
  38. <Paragraph>{i18n.t('proxiwashScreen.dryerTips')}</Paragraph>
  39. </Card.Content>
  40. </Card>
  41. <Card style={{margin: 5}}>
  42. <Card.Title
  43. title={i18n.t('proxiwashScreen.washer')}
  44. left={props => <List.Icon {...props} icon={'washing-machine'}/>}
  45. />
  46. <Card.Content>
  47. <Title>{i18n.t('proxiwashScreen.procedure')}</Title>
  48. <Paragraph>{i18n.t('proxiwashScreen.washerProcedure')}</Paragraph>
  49. <Title>{i18n.t('proxiwashScreen.tips')}</Title>
  50. <Paragraph>{i18n.t('proxiwashScreen.washerTips')}</Paragraph>
  51. </Card.Content>
  52. </Card>
  53. <Card style={{margin: 5}}>
  54. <Card.Title
  55. title={i18n.t('proxiwashScreen.tariffs')}
  56. left={props => <List.Icon {...props} icon={'coins'}/>}
  57. />
  58. <Card.Content>
  59. <Paragraph>{i18n.t('proxiwashScreen.washersTariff')}</Paragraph>
  60. <Paragraph>{i18n.t('proxiwashScreen.dryersTariff')}</Paragraph>
  61. </Card.Content>
  62. </Card>
  63. <Card style={{margin: 5, marginBottom: CustomTabBar.TAB_BAR_HEIGHT + 20}}>
  64. <Card.Title
  65. title={i18n.t('proxiwashScreen.paymentMethods')}
  66. left={props => <List.Icon {...props} icon={'cash'}/>}
  67. />
  68. <Card.Content>
  69. <Paragraph>{i18n.t('proxiwashScreen.paymentMethodsDescription')}</Paragraph>
  70. </Card.Content>
  71. </Card>
  72. </ScrollView>
  73. );
  74. }
  75. }