= ({
placement,
children,
}) => {
- const { menuVisible } = useSidebarStore();
-
return (
{children}
@@ -24,7 +21,6 @@ export const TooltipContainer: FC = ({
placement,
Arrow: true,
tipTop: placement === 'top',
- tipBottomSidebarHidden: placement === 'bottom' && !menuVisible,
tipRight: placement === 'right',
tipBottom: placement === 'bottom',
tipLeft: placement === 'left',
diff --git a/packages/commonwealth/client/scripts/views/components/sidebar/sidebar_quick_switcher.tsx b/packages/commonwealth/client/scripts/views/components/sidebar/sidebar_quick_switcher.tsx
index 849cce38499..4a9d093aee4 100644
--- a/packages/commonwealth/client/scripts/views/components/sidebar/sidebar_quick_switcher.tsx
+++ b/packages/commonwealth/client/scripts/views/components/sidebar/sidebar_quick_switcher.tsx
@@ -6,6 +6,8 @@ import useUserStore from 'state/ui/user';
import { CWCommunityAvatar } from '../component_kit/cw_community_avatar';
import { CWDivider } from '../component_kit/cw_divider';
import { CWIconButton } from '../component_kit/cw_icon_button';
+import { isWindowSmallInclusive } from '../component_kit/helpers';
+import { CWTooltip } from '../component_kit/new_designs/CWTooltip';
import './sidebar_quick_switcher.scss';
export const SidebarQuickSwitcher = ({
@@ -40,6 +42,23 @@ export const SidebarQuickSwitcher = ({
setMenu({ name: 'exploreCommunities' });
}}
/>
+ {isWindowSmallInclusive(window.innerWidth) && (
+ (
+
+ window.open('https://landing.common.xyz', '_blank')
+ }
+ onMouseEnter={handleInteraction}
+ onMouseLeave={handleInteraction}
+ />
+ )}
+ />
+ )}