Add donation section to about

This commit is contained in:
Julia Friesel
2019-05-28 09:03:43 +02:00
parent 406b71250e
commit bb1bd949c3
3 changed files with 11 additions and 0 deletions
+3
View File
@@ -18,6 +18,9 @@ export default class AboutSection extends Component {
<FramedSegment title={labels.credits.title}> <FramedSegment title={labels.credits.title}>
<AppText>{labels.credits.note}</AppText> <AppText>{labels.credits.note}</AppText>
</FramedSegment> </FramedSegment>
<FramedSegment title={labels.donate.title}>
<AppText>{labels.donate.note}</AppText>
</FramedSegment>
<FramedSegment title={labels.website.title}> <FramedSegment title={labels.website.title}>
<AppText>{links.website.url}</AppText> <AppText>{links.website.url}</AppText>
</FramedSegment> </FramedSegment>
+4
View File
@@ -14,4 +14,8 @@ export default {
website: { website: {
url: 'https://bloodyhealth.gitlab.io/' url: 'https://bloodyhealth.gitlab.io/'
}, },
donate: {
url: 'https://ko-fi.com/dripapp',
text: 'here'
}
} }
+4
View File
@@ -123,5 +123,9 @@ You can contact us by bloodyhealth@mailbox.org.`
credits: { credits: {
title: 'Credits', title: 'Credits',
note: 'Thanks and lots of <3 to all of our contributors as well as Susanne Umscheid for the wonderful design, and Paula Härtel for the symptom icons.' note: 'Thanks and lots of <3 to all of our contributors as well as Susanne Umscheid for the wonderful design, and Paula Härtel for the symptom icons.'
},
donate: {
title: 'Buy us a coffee!',
note: `The Bloody Health team is always grateful for donations, big or small, that help us maintain this app and develop new features. You can donate ${links.donate.url}. Thank you! You're awesome.`
} }
} }