Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: add about button to header #10228

Merged
merged 9 commits into from
Dec 19, 2024
Original file line number Diff line number Diff line change
Expand Up @@ -84,22 +84,24 @@ const DesktopHeader = ({ onMobile, onAuthModalOpen }: DesktopHeaderProps) => {
})}
>
<CreateContentPopover />
<CWTooltip
content="About Common"
placement="bottom"
renderTrigger={(handleInteraction) => (
<CWButton
buttonType="secondary"
buttonHeight="sm"
label="About"
onClick={() =>
window.open('https://landing.common.xyz', '_blank')
}
onMouseEnter={handleInteraction}
onMouseLeave={handleInteraction}
/>
)}
/>
{!isWindowSmallInclusive() && (
mzparacha marked this conversation as resolved.
Show resolved Hide resolved
<CWTooltip
content="About Common"
placement="bottom"
renderTrigger={(handleInteraction) => (
<CWButton
buttonType="secondary"
buttonHeight="sm"
label="About"
onClick={() =>
window.open('https://landing.common.xyz', '_blank')
}
onMouseEnter={handleInteraction}
onMouseLeave={handleInteraction}
/>
)}
/>
)}
<CWTooltip
content="Explore communities"
placement="bottom"
Expand Down
Loading