Chore: Implement review feedback
This commit is contained in:
committed by
Lisa Hillebrand
parent
03b359019e
commit
d1ac12d165
@@ -5,7 +5,7 @@ import AppPage from '../common/app-page'
|
||||
import AppText from '../common/app-text'
|
||||
import Segment from '../common/segment'
|
||||
import Button from '../common/button'
|
||||
import ButtonToButton from '../common/button-to-button'
|
||||
import ButtonRow from '../common/button-row'
|
||||
|
||||
import labels from '../../i18n/en/settings'
|
||||
import links from '../../i18n/en/links'
|
||||
@@ -15,29 +15,18 @@ const AboutSection = () => {
|
||||
<AppPage title={labels.aboutSection.title}>
|
||||
<Segment>
|
||||
<AppText>{labels.aboutSection.text}</AppText>
|
||||
<ButtonToButton>
|
||||
<Button
|
||||
isCTA
|
||||
isSmall={true}
|
||||
onPress={() => Linking.openURL(links.email.url)}
|
||||
>
|
||||
{links.email.text}
|
||||
</Button>
|
||||
<Button
|
||||
isCTA
|
||||
isSmall={true}
|
||||
onPress={() => Linking.openURL(links.gitlab.url)}
|
||||
>
|
||||
{links.gitlab.text}
|
||||
</Button>
|
||||
<Button
|
||||
isCTA
|
||||
isSmall={true}
|
||||
onPress={() => Linking.openURL(links.website.url)}
|
||||
>
|
||||
{links.website.text}
|
||||
</Button>
|
||||
</ButtonToButton>
|
||||
<ButtonRow>
|
||||
{[links.email, links.gitlab, links.website].map((link) => (
|
||||
<Button
|
||||
key={link.url}
|
||||
isCTA
|
||||
isSmall
|
||||
onPress={() => Linking.openURL(link['url'])}
|
||||
>
|
||||
{link['text']}
|
||||
</Button>
|
||||
))}
|
||||
</ButtonRow>
|
||||
</Segment>
|
||||
<Segment title={labels.philosophy.title}>
|
||||
<AppText>{labels.philosophy.text}</AppText>
|
||||
@@ -47,11 +36,7 @@ const AboutSection = () => {
|
||||
</Segment>
|
||||
<Segment title={labels.donate.title}>
|
||||
<AppText>{labels.donate.note}</AppText>
|
||||
<Button
|
||||
isCTA
|
||||
isSmall={true}
|
||||
onPress={() => Linking.openURL(links.donate.url)}
|
||||
>
|
||||
<Button isCTA isSmall onPress={() => Linking.openURL(links.donate.url)}>
|
||||
{links.donate.text}
|
||||
</Button>
|
||||
</Segment>
|
||||
|
||||
Reference in New Issue
Block a user