From b667e8b985cb58d0232ef1916fccca63ba6bd7b7 Mon Sep 17 00:00:00 2001 From: Caidan Williams Date: Wed, 30 Jul 2025 13:29:50 -0700 Subject: refactor(feed): rename Arrow to ArrowRight for clarity --- src/components/FeedInterstitials.tsx | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/components/FeedInterstitials.tsx b/src/components/FeedInterstitials.tsx index 07ad2d501..835534871 100644 --- a/src/components/FeedInterstitials.tsx +++ b/src/components/FeedInterstitials.tsx @@ -27,7 +27,7 @@ import { } from '#/alf' import {Button} from '#/components/Button' import * as FeedCard from '#/components/FeedCard' -import {ArrowRight_Stroke2_Corner0_Rounded as Arrow} from '#/components/icons/Arrow' +import {ArrowRight_Stroke2_Corner0_Rounded as ArrowRight} from '#/components/icons/Arrow' import {Hashtag_Stroke2_Corner0_Rounded as Hashtag} from '#/components/icons/Hashtag' import {InlineLinkText} from '#/components/Link' import * as ProfileCard from '#/components/ProfileCard' @@ -437,7 +437,7 @@ function SeeMoreSuggestedProfilesCard() { See more accounts you might like - + @@ -539,7 +539,7 @@ export function SuggestedFeeds() { style={[t.atoms.text_contrast_medium]}> Browse more suggestions - + ) : ( @@ -567,7 +567,7 @@ export function SuggestedFeeds() { - + -- cgit 1.4.1 From 2b4d32bb09649a2f4f695950054ce385fe0c696b Mon Sep 17 00:00:00 2001 From: Caidan Williams Date: Mon, 25 Aug 2025 16:54:19 -0700 Subject: feat(ui): redesign "See more" suggested profiles card Refactored the "See more accounts you might like" card to use ButtonIcon and ButtonText for improved consistency and accessibility. Updated styles for better alignment, spacing, and visual hierarchy. Navigates to the Explore page when pressed. --- src/components/FeedInterstitials.tsx | 37 +++++++++++++++++++----------------- 1 file changed, 20 insertions(+), 17 deletions(-) diff --git a/src/components/FeedInterstitials.tsx b/src/components/FeedInterstitials.tsx index 835534871..7debbf5e1 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, ButtonIcon, ButtonText} from '#/components/Button' import * as FeedCard from '#/components/FeedCard' import {ArrowRight_Stroke2_Corner0_Rounded as ArrowRight} from '#/components/icons/Arrow' import {Hashtag_Stroke2_Corner0_Rounded as Hashtag} from '#/components/icons/Hashtag' @@ -36,6 +36,7 @@ import type * as bsky from '#/types/bsky' import {ProgressGuideList} from './ProgressGuide/List' const MOBILE_CARD_WIDTH = 165 +const FINAL_CARD_WIDTH = 120 function CardOuter({ children, @@ -420,27 +421,29 @@ export function ProfileGrid({ } function SeeMoreSuggestedProfilesCard() { - const navigation = useNavigation() + const t = useTheme() const {_} = useLingui() + const navigation = useNavigation() return ( ) } -- cgit 1.4.1