diff options
author | Caidan Williams <caidan@internet.dev> | 2025-07-29 17:29:22 -0700 |
---|---|---|
committer | Caidan Williams <caidan@internet.dev> | 2025-07-29 17:37:01 -0700 |
commit | 940e00c8cb979576ae15076fa268aecda81b0e6d (patch) | |
tree | 5156053fb4be1f5327be1ba471c0549f49989aff | |
parent | 7b4ec21e3e60cb25197fb277f3ba54fa627e4e1e (diff) | |
download | voidsky-940e00c8cb979576ae15076fa268aecda81b0e6d.tar.zst |
feat(ui): add "See More Suggested Profiles" card
-rw-r--r-- | src/components/FeedInterstitials.tsx | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/src/components/FeedInterstitials.tsx b/src/components/FeedInterstitials.tsx index 9bdfcbc5e..2a3a00ba7 100644 --- a/src/components/FeedInterstitials.tsx +++ b/src/components/FeedInterstitials.tsx @@ -415,6 +415,8 @@ export function ProfileGrid({ style={[a.overflow_visible]}> <View style={[a.px_lg, a.pb_lg, a.flex_row, a.gap_md]}> {content} + + <SeeMoreSuggestedProfilesCard /> </View> </ScrollView> </View> @@ -424,6 +426,32 @@ export function ProfileGrid({ ) } +function SeeMoreSuggestedProfilesCard() { + const navigation = useNavigation<NavigationProp>() + const t = useTheme() + const {_} = useLingui() + + return ( + <Button + label={_(msg`Browse more accounts on the Explore page`)} + onPress={() => { + navigation.navigate('SearchTab') + }}> + <CardOuter style={[a.flex_1, t.atoms.shadow_sm]}> + <View style={[a.flex_1, a.justify_center]}> + <View style={[a.flex_col, a.align_center, a.gap_md]}> + <Text style={[a.leading_snug, a.text_center]}> + <Trans>See more accounts you might like</Trans> + </Text> + + <Arrow size="xl" /> + </View> + </View> + </CardOuter> + </Button> + ) +} + export function SuggestedFeeds() { const numFeedsToDisplay = 3 const t = useTheme() |