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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384
  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. navigation: Object,
  9. };
  10. const LOGO = "https://etud.insa-toulouse.fr/~amicale_app/images/Proxiwash.png";
  11. /**
  12. * Class defining the proxiwash about screen.
  13. */
  14. export default class ProxiwashAboutScreen extends React.Component<Props> {
  15. render() {
  16. return (
  17. <ScrollView style={{padding: 5}}>
  18. <View style={{
  19. width: '100%',
  20. height: 100,
  21. marginTop: 20,
  22. marginBottom: 20,
  23. justifyContent: 'center',
  24. alignItems: 'center'
  25. }}>
  26. <Image
  27. source={{uri: LOGO}}
  28. style={{height: '100%', width: '100%', resizeMode: "contain"}}/>
  29. </View>
  30. <Text>{i18n.t('proxiwashScreen.description')}</Text>
  31. <Card style={{margin: 5}}>
  32. <Card.Title
  33. title={i18n.t('proxiwashScreen.dryer')}
  34. left={props => <List.Icon {...props} icon={'tumble-dryer'}/>}
  35. />
  36. <Card.Content>
  37. <Title>{i18n.t('proxiwashScreen.procedure')}</Title>
  38. <Paragraph>{i18n.t('proxiwashScreen.dryerProcedure')}</Paragraph>
  39. <Title>{i18n.t('proxiwashScreen.tips')}</Title>
  40. <Paragraph>{i18n.t('proxiwashScreen.dryerTips')}</Paragraph>
  41. </Card.Content>
  42. </Card>
  43. <Card style={{margin: 5}}>
  44. <Card.Title
  45. title={i18n.t('proxiwashScreen.washer')}
  46. left={props => <List.Icon {...props} icon={'washing-machine'}/>}
  47. />
  48. <Card.Content>
  49. <Title>{i18n.t('proxiwashScreen.procedure')}</Title>
  50. <Paragraph>{i18n.t('proxiwashScreen.washerProcedure')}</Paragraph>
  51. <Title>{i18n.t('proxiwashScreen.tips')}</Title>
  52. <Paragraph>{i18n.t('proxiwashScreen.washerTips')}</Paragraph>
  53. </Card.Content>
  54. </Card>
  55. <Card style={{margin: 5}}>
  56. <Card.Title
  57. title={i18n.t('proxiwashScreen.tariffs')}
  58. left={props => <List.Icon {...props} icon={'coins'}/>}
  59. />
  60. <Card.Content>
  61. <Paragraph>{i18n.t('proxiwashScreen.washersTariff')}</Paragraph>
  62. <Paragraph>{i18n.t('proxiwashScreen.dryersTariff')}</Paragraph>
  63. </Card.Content>
  64. </Card>
  65. <Card style={{margin: 5, marginBottom: CustomTabBar.TAB_BAR_HEIGHT + 20}}>
  66. <Card.Title
  67. title={i18n.t('proxiwashScreen.paymentMethods')}
  68. left={props => <List.Icon {...props} icon={'cash'}/>}
  69. />
  70. <Card.Content>
  71. <Paragraph>{i18n.t('proxiwashScreen.paymentMethodsDescription')}</Paragraph>
  72. </Card.Content>
  73. </Card>
  74. </ScrollView>
  75. );
  76. }
  77. }