diff --git a/src/components/ThreePaneLayout.tsx b/src/components/ThreePaneLayout.tsx index 8c115cec..016f3650 100644 --- a/src/components/ThreePaneLayout.tsx +++ b/src/components/ThreePaneLayout.tsx @@ -32,6 +32,7 @@ interface ThreePaneLayoutProps { showExplore?: boolean showMe?: boolean showProfile?: boolean + showSupport?: boolean // Bookmarks pane bookmarks: Bookmark[] @@ -93,6 +94,9 @@ interface ThreePaneLayoutProps { // Optional Profile content profile?: React.ReactNode + + // Optional Support content + support?: React.ReactNode } const ThreePaneLayout: React.FC = (props) => { @@ -225,8 +229,8 @@ const ThreePaneLayout: React.FC = (props) => { return ( <> - {/* Mobile bookmark button - only show when viewing article (not on settings/explore/me/profile) */} - {isMobile && !props.isSidebarOpen && props.isHighlightsCollapsed && !props.showSettings && !props.showExplore && !props.showMe && !props.showProfile && ( + {/* Mobile bookmark button - only show when viewing article (not on settings/explore/me/profile/support) */} + {isMobile && !props.isSidebarOpen && props.isHighlightsCollapsed && !props.showSettings && !props.showExplore && !props.showMe && !props.showProfile && !props.showSupport && ( )} - {/* Mobile highlights button - only show when viewing article (not on settings/explore/me/profile) */} - {isMobile && !props.isSidebarOpen && props.isHighlightsCollapsed && !props.showSettings && !props.showExplore && !props.showMe && !props.showProfile && ( + {/* Mobile highlights button - only show when viewing article (not on settings/explore/me/profile/support) */} + {isMobile && !props.isSidebarOpen && props.isHighlightsCollapsed && !props.showSettings && !props.showExplore && !props.showMe && !props.showProfile && !props.showSupport && (