From 6116dd12bc9bce5bb5307effe2ae1af23c9b3582 Mon Sep 17 00:00:00 2001 From: Gigi Date: Sat, 18 Oct 2025 09:37:17 +0200 Subject: [PATCH] feat: hide bookmark controls when logged out - Only show heart/support button when logged out - Hide refresh, grouping, and view mode buttons when not logged in - Cleaner, simpler footer for logged out state --- src/components/BookmarkList.tsx | 78 +++++++++++++++++---------------- 1 file changed, 40 insertions(+), 38 deletions(-) diff --git a/src/components/BookmarkList.tsx b/src/components/BookmarkList.tsx index c0ab704c..cd5c453e 100644 --- a/src/components/BookmarkList.tsx +++ b/src/components/BookmarkList.tsx @@ -238,47 +238,49 @@ export const BookmarkList: React.FC = ({ style={{ color: friendsColor }} /> -
- {onRefresh && ( + {activeAccount && ( +
+ {onRefresh && ( + + )} - )} - - onViewModeChange('compact')} - title="Compact list view" - ariaLabel="Compact list view" - variant={viewMode === 'compact' ? 'primary' : 'ghost'} - /> - onViewModeChange('cards')} - title="Cards view" - ariaLabel="Cards view" - variant={viewMode === 'cards' ? 'primary' : 'ghost'} - /> - onViewModeChange('large')} - title="Large preview view" - ariaLabel="Large preview view" - variant={viewMode === 'large' ? 'primary' : 'ghost'} - /> -
+ onViewModeChange('compact')} + title="Compact list view" + ariaLabel="Compact list view" + variant={viewMode === 'compact' ? 'primary' : 'ghost'} + /> + onViewModeChange('cards')} + title="Cards view" + ariaLabel="Cards view" + variant={viewMode === 'cards' ? 'primary' : 'ghost'} + /> + onViewModeChange('large')} + title="Large preview view" + ariaLabel="Large preview view" + variant={viewMode === 'large' ? 'primary' : 'ghost'} + /> +
+ )} {showAddModal && (