replace fontawesome in StarterPackLandingScreen
This commit is contained in:
@@ -7,7 +7,6 @@ import {
|
|||||||
AtUri,
|
AtUri,
|
||||||
type ModerationOpts,
|
type ModerationOpts,
|
||||||
} from '@atproto/api'
|
} from '@atproto/api'
|
||||||
import {FontAwesomeIcon} from '@fortawesome/react-native-fontawesome'
|
|
||||||
import {msg} from '@lingui/core/macro'
|
import {msg} from '@lingui/core/macro'
|
||||||
import {useLingui} from '@lingui/react'
|
import {useLingui} from '@lingui/react'
|
||||||
import {Trans} from '@lingui/react/macro'
|
import {Trans} from '@lingui/react/macro'
|
||||||
@@ -29,6 +28,7 @@ import {Button, ButtonText} from '#/components/Button'
|
|||||||
import {useDialogControl} from '#/components/Dialog'
|
import {useDialogControl} from '#/components/Dialog'
|
||||||
import * as FeedCard from '#/components/FeedCard'
|
import * as FeedCard from '#/components/FeedCard'
|
||||||
import {useRichText} from '#/components/hooks/useRichText'
|
import {useRichText} from '#/components/hooks/useRichText'
|
||||||
|
import {Trending3_Stroke2_Corner1_Rounded as TrendingIcon} from '#/components/icons/Trending'
|
||||||
import * as Layout from '#/components/Layout'
|
import * as Layout from '#/components/Layout'
|
||||||
import {LinearGradientBackground} from '#/components/LinearGradientBackground'
|
import {LinearGradientBackground} from '#/components/LinearGradientBackground'
|
||||||
import {ListMaybePlaceholder} from '#/components/Lists'
|
import {ListMaybePlaceholder} from '#/components/Lists'
|
||||||
@@ -209,18 +209,16 @@ function LandingScreenLoaded({
|
|||||||
<Button
|
<Button
|
||||||
label={_(msg`Join Bluesky`)}
|
label={_(msg`Join Bluesky`)}
|
||||||
onPress={onJoinPress}
|
onPress={onJoinPress}
|
||||||
variant="solid"
|
|
||||||
color="primary"
|
color="primary"
|
||||||
size="large">
|
size="large">
|
||||||
<ButtonText style={[a.text_lg]}>
|
<ButtonText style={[a.text_lg]}>
|
||||||
<Trans>Join Bluesky</Trans>
|
<Trans>Join Bluesky</Trans>
|
||||||
</ButtonText>
|
</ButtonText>
|
||||||
</Button>
|
</Button>
|
||||||
<View style={[a.flex_row, a.align_center, a.gap_sm]}>
|
<View style={[a.flex_row, a.align_center, a.gap_xs]}>
|
||||||
<FontAwesomeIcon
|
<TrendingIcon
|
||||||
icon="arrow-trend-up"
|
width={16}
|
||||||
size={12}
|
style={{color: t.atoms.text_contrast_medium.color}}
|
||||||
color={t.atoms.text_contrast_medium.color}
|
|
||||||
/>
|
/>
|
||||||
<Text
|
<Text
|
||||||
style={[
|
style={[
|
||||||
|
|||||||
Reference in New Issue
Block a user