use inlinelink instead of textlink
parent
eacd1cbe2a
commit
cf9d884b5b
|
@ -1,7 +1,6 @@
|
||||||
import React from 'react'
|
import React from 'react'
|
||||||
import {View, Pressable} from 'react-native'
|
import {View, Pressable} from 'react-native'
|
||||||
import {FontAwesomeIcon} from '@fortawesome/react-native-fontawesome'
|
import {FontAwesomeIcon} from '@fortawesome/react-native-fontawesome'
|
||||||
import {TextLink} from '../util/Link'
|
|
||||||
import {ErrorBoundary} from 'view/com/util/ErrorBoundary'
|
import {ErrorBoundary} from 'view/com/util/ErrorBoundary'
|
||||||
import {CenteredView} from '../util/Views'
|
import {CenteredView} from '../util/Views'
|
||||||
import {useWebMediaQueries} from 'lib/hooks/useWebMediaQueries'
|
import {useWebMediaQueries} from 'lib/hooks/useWebMediaQueries'
|
||||||
|
@ -16,6 +15,7 @@ import {atoms as a, useTheme} from '#/alf'
|
||||||
import {Button, ButtonText} from '#/components/Button'
|
import {Button, ButtonText} from '#/components/Button'
|
||||||
import {ChevronBottom_Stroke2_Corner0_Rounded as ChevronDown} from '#/components/icons/Chevron'
|
import {ChevronBottom_Stroke2_Corner0_Rounded as ChevronDown} from '#/components/icons/Chevron'
|
||||||
import {Text} from '#/components/Typography'
|
import {Text} from '#/components/Typography'
|
||||||
|
import {InlineLink} from '#/components/Link'
|
||||||
|
|
||||||
export const SplashScreen = ({
|
export const SplashScreen = ({
|
||||||
onDismiss,
|
onDismiss,
|
||||||
|
@ -128,7 +128,6 @@ export const SplashScreen = ({
|
||||||
}
|
}
|
||||||
|
|
||||||
function Footer() {
|
function Footer() {
|
||||||
const {_} = useLingui()
|
|
||||||
const t = useTheme()
|
const t = useTheme()
|
||||||
|
|
||||||
const langPrefs = useLanguagePrefs()
|
const langPrefs = useLanguagePrefs()
|
||||||
|
@ -162,21 +161,15 @@ function Footer() {
|
||||||
a.flex_1,
|
a.flex_1,
|
||||||
t.atoms.border_contrast_medium,
|
t.atoms.border_contrast_medium,
|
||||||
]}>
|
]}>
|
||||||
<TextLink
|
<InlineLink to="https://bsky.social">
|
||||||
href="https://bsky.social"
|
<Trans>Business</Trans>
|
||||||
text={_(msg`Business`)}
|
</InlineLink>
|
||||||
style={{color: t.palette.primary_500}}
|
<InlineLink to="https://bsky.social/about/blog">
|
||||||
/>
|
<Trans>Blog</Trans>
|
||||||
<TextLink
|
</InlineLink>
|
||||||
href="https://bsky.social/about/blog"
|
<InlineLink to="https://bsky.social/about/join">
|
||||||
text={_(msg`Blog`)}
|
<Trans>Jobs</Trans>
|
||||||
style={{color: t.palette.primary_500}}
|
</InlineLink>
|
||||||
/>
|
|
||||||
<TextLink
|
|
||||||
href="https://bsky.social/about/join"
|
|
||||||
text={_(msg`Jobs`)}
|
|
||||||
style={{color: t.palette.primary_500}}
|
|
||||||
/>
|
|
||||||
|
|
||||||
<View style={a.flex_1} />
|
<View style={a.flex_1} />
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue