refactor(ui): follow button and description to match design

This commit is contained in:
Caidan Williams
2025-07-24 18:53:41 -07:00
committed by Austin McKinley
parent d338deeb2f
commit 66e5e174a4
+15 -4
View File
@@ -294,16 +294,29 @@ export function ProfileGrid({
moderationOpts={moderationOpts} moderationOpts={moderationOpts}
size={88} size={88}
/> />
<View style={[a.flex_col, a.align_center]}>
<ProfileCard.Name <ProfileCard.Name
profile={profile} profile={profile}
moderationOpts={moderationOpts} moderationOpts={moderationOpts}
/> />
<ProfileCard.Description
profile={profile}
numberOfLines={2}
style={[
t.atoms.text_contrast_medium,
a.text_center,
a.text_xs,
]}
/>
</View>
</View>
<ProfileCard.FollowButton <ProfileCard.FollowButton
profile={profile} profile={profile}
moderationOpts={moderationOpts} moderationOpts={moderationOpts}
logContext="FeedInterstitial" logContext="FeedInterstitial"
shape="round" withIcon={false}
colorInverted style={[a.rounded_sm]}
onFollow={() => { onFollow={() => {
logEvent('suggestedUser:follow', { logEvent('suggestedUser:follow', {
logContext: logContext:
@@ -316,8 +329,6 @@ export function ProfileGrid({
}) })
}} }}
/> />
<ProfileCard.Description profile={profile} numberOfLines={2} />
</View>
</ProfileCard.Outer> </ProfileCard.Outer>
</CardOuter> </CardOuter>
)} )}