diff --git a/components/settings/about.js b/components/settings/about.js
index d1ec5cc..e0a99da 100644
--- a/components/settings/about.js
+++ b/components/settings/about.js
@@ -1,10 +1,10 @@
import React, { Component } from 'react'
-import { ScrollView } from 'react-native'
+import { View, ScrollView } from 'react-native'
import Hyperlink from 'react-native-hyperlink'
import AppText from '../app-text'
import SettingsSegment from './settings-segment'
import styles from '../../styles/index'
-import labels from '../../i18n/en/settings'
+import labels, { links } from '../../i18n/en/settings'
import replace from '../helpers/replace-url-with-text'
export default class AboutSection extends Component {
@@ -19,6 +19,16 @@ export default class AboutSection extends Component {
{`${labels.credits.note}`}
+
+
+ {`${labels.website.title} `}
+ {links.website.url}
+
+
+
+ {`${labels.version.title} `}
+ {require('../../package.json').version}
+
)
}
diff --git a/i18n/en/settings.js b/i18n/en/settings.js
index 2f60abb..8332179 100644
--- a/i18n/en/settings.js
+++ b/i18n/en/settings.js
@@ -11,6 +11,9 @@ export const links = {
wiki: {
url: 'https://gitlab.com/bloodyhealth/drip/wikis/home',
text: 'wiki'
+ },
+ website: {
+ url: 'https://bloodyhealth.gitlab.io/'
}
}
@@ -125,6 +128,9 @@ You can contact us by email at bloodyhealth@mailbox.com.`
version: {
title: 'Version'
},
+ website: {
+ title: 'Website'
+ },
preOvu: {
title: 'Infertile days at cycle start',
note: `drip applies NFP's rules for calculating infertile days at the start of the cycle (see the ${links.wiki.url} for more info). However, drip does not currently apply the so called 20-day-rule, which determines infertile days at the cycle start from past cycle lengths in case no past symptothermal info is available.`