From 287f5c0d42cddd112b65a56ccf60dde90205b06c Mon Sep 17 00:00:00 2001 From: Caidan Williams Date: Thu, 24 Jul 2025 16:30:34 -0700 Subject: feat(ui): update suggested profiles interstitial top padding 16 -> 12 --- src/components/FeedInterstitials.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src') diff --git a/src/components/FeedInterstitials.tsx b/src/components/FeedInterstitials.tsx index a92e7be7f..aaaa17d3c 100644 --- a/src/components/FeedInterstitials.tsx +++ b/src/components/FeedInterstitials.tsx @@ -333,7 +333,7 @@ export function ProfileGrid({ {gtMobile ? ( - + {content} @@ -372,7 +372,7 @@ export function ProfileGrid({ showsHorizontalScrollIndicator={false} snapToInterval={MOBILE_CARD_WIDTH + a.gap_md.gap} decelerationRate="fast"> - + {content} -- cgit 1.4.1 From e5457c946a5bf56fafde790ced9014e1cb73cd34 Mon Sep 17 00:00:00 2001 From: Caidan Williams Date: Tue, 29 Jul 2025 17:04:47 -0700 Subject: feat(ui): improve suggested follow placeholder card Now matches the same size and shape as the rendered card, which prevents content layout shift. --- src/components/FeedInterstitials.tsx | 31 +++++++++++++++++++++++-------- 1 file changed, 23 insertions(+), 8 deletions(-) (limited to 'src') diff --git a/src/components/FeedInterstitials.tsx b/src/components/FeedInterstitials.tsx index aab54b7df..e4419838d 100644 --- a/src/components/FeedInterstitials.tsx +++ b/src/components/FeedInterstitials.tsx @@ -25,7 +25,7 @@ import { type ViewStyleProp, web, } from '#/alf' -import {Button} from '#/components/Button' +import {Button, ButtonText} from '#/components/Button' import * as FeedCard from '#/components/FeedCard' import {ArrowRight_Stroke2_Corner0_Rounded as Arrow} from '#/components/icons/Arrow' import {Hashtag_Stroke2_Corner0_Rounded as Hashtag} from '#/components/icons/Hashtag' @@ -64,15 +64,30 @@ function CardOuter({ export function SuggestedFollowPlaceholder() { const t = useTheme() + return ( - - - - - - + + + + + + + + - + + + ) } -- cgit 1.4.1 From 7b4ec21e3e60cb25197fb277f3ba54fa627e4e1e Mon Sep 17 00:00:00 2001 From: Caidan Williams Date: Tue, 29 Jul 2025 17:05:13 -0700 Subject: refactor(ui): adjust border styles in ProfileGrid card --- src/components/FeedInterstitials.tsx | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src') diff --git a/src/components/FeedInterstitials.tsx b/src/components/FeedInterstitials.tsx index e4419838d..9bdfcbc5e 100644 --- a/src/components/FeedInterstitials.tsx +++ b/src/components/FeedInterstitials.tsx @@ -308,10 +308,8 @@ export function ProfileGrid({ Date: Tue, 29 Jul 2025 17:29:22 -0700 Subject: feat(ui): add "See More Suggested Profiles" card --- src/components/FeedInterstitials.tsx | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) (limited to 'src') 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]}> {content} + + @@ -424,6 +426,32 @@ export function ProfileGrid({ ) } +function SeeMoreSuggestedProfilesCard() { + const navigation = useNavigation() + const t = useTheme() + const {_} = useLingui() + + return ( + + ) +} + export function SuggestedFeeds() { const numFeedsToDisplay = 3 const t = useTheme() -- cgit 1.4.1