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/components/FeedInterstitials.tsx') 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