From 7ef3657ffc6102b414168b492150921fbb1baee3 Mon Sep 17 00:00:00 2001 From: Alex Benzer Date: Sat, 27 Dec 2025 10:47:08 -0800 Subject: [PATCH] More visual separation for sidebar sections --- src/components/FeedInterstitials.tsx | 9 +++++- src/components/ProgressGuide/List.tsx | 24 ++++++++------ src/components/ProgressGuide/Task.tsx | 4 +-- src/components/TrendingTopics.tsx | 19 +++++------ src/view/shell/desktop/RightNav.tsx | 4 +-- .../shell/desktop/SidebarTrendingTopics.tsx | 32 +++++++++---------- 6 files changed, 51 insertions(+), 41 deletions(-) diff --git a/src/components/FeedInterstitials.tsx b/src/components/FeedInterstitials.tsx index a482d5a482..cad86facb4 100644 --- a/src/components/FeedInterstitials.tsx +++ b/src/components/FeedInterstitials.tsx @@ -933,8 +933,15 @@ export function SuggestedFeeds() { export function ProgressGuide() { const t = useTheme() + const {gtMobile} = useBreakpoints() return ( - + ) diff --git a/src/components/ProgressGuide/List.tsx b/src/components/ProgressGuide/List.tsx index cae307a6dd..e9c3006b21 100644 --- a/src/components/ProgressGuide/List.tsx +++ b/src/components/ProgressGuide/List.tsx @@ -23,16 +23,19 @@ export function ProgressGuideList({style}: {style?: StyleProp}) { if (guide) { return ( - + - Getting started + style={[t.atoms.text_contrast_medium, a.font_semi_bold, a.text_sm]}> + Getting Started {guide.guide === 'follow-10' && ( diff --git a/src/components/ProgressGuide/Task.tsx b/src/components/ProgressGuide/Task.tsx index 449a28fcd3..997c777af6 100644 --- a/src/components/ProgressGuide/Task.tsx +++ b/src/components/ProgressGuide/Task.tsx @@ -31,11 +31,11 @@ export function ProgressGuideTask({ size={20} thickness={3} borderWidth={0} - unfilledColor={t.palette.contrast_50} + unfilledColor={t.palette.contrast_100} /> )} - + @@ -93,6 +93,7 @@ export function TrendingTopic({ a.font_semi_bold, a.leading_tight, isSmall ? [a.text_sm] : [a.text_md, {paddingBottom: 1}], + hovered && {textDecorationLine: 'underline'}, ]} numberOfLines={1}> {topic.displayName} diff --git a/src/view/shell/desktop/RightNav.tsx b/src/view/shell/desktop/RightNav.tsx index 1d097fc9a8..2672fd1769 100644 --- a/src/view/shell/desktop/RightNav.tsx +++ b/src/view/shell/desktop/RightNav.tsx @@ -18,7 +18,6 @@ import { web, } from '#/alf' import {AppLanguageDropdown} from '#/components/AppLanguageDropdown' -import {Divider} from '#/components/Divider' import {CENTER_COLUMN_OFFSET} from '#/components/Layout' import {InlineLinkText} from '#/components/Link' import {ProgressGuideList} from '#/components/ProgressGuide/List' @@ -86,9 +85,8 @@ export function DesktopRightNav({routeName}: {routeName: string}) { {hasSession && ( <> - - + )} diff --git a/src/view/shell/desktop/SidebarTrendingTopics.tsx b/src/view/shell/desktop/SidebarTrendingTopics.tsx index d5b3c4fea7..bd43a9225d 100644 --- a/src/view/shell/desktop/SidebarTrendingTopics.tsx +++ b/src/view/shell/desktop/SidebarTrendingTopics.tsx @@ -12,9 +12,7 @@ import {useTrendingTopics} from '#/state/queries/trending/useTrendingTopics' import {useTrendingConfig} from '#/state/service-config' import {atoms as a, useTheme} from '#/alf' import {Button, ButtonIcon} from '#/components/Button' -import {Divider} from '#/components/Divider' import {TimesLarge_Stroke2_Corner0_Rounded as X} from '#/components/icons/Times' -import {Trending2_Stroke2_Corner2_Rounded as Graph} from '#/components/icons/Trending' import * as Prompt from '#/components/Prompt' import { TrendingTopic, @@ -46,9 +44,15 @@ function Inner() { return error || noTopics ? null : ( <> - + - Trending - + {isLoading ? ( Array(TRENDING_LIMIT) .fill(0) @@ -90,12 +96,7 @@ function Inner() { )} @@ -111,7 +112,6 @@ function Inner() { confirmButtonCta={_(msg`Hide`)} onConfirm={onConfirmHide} /> - ) }