Make whole share item clickable

This commit is contained in:
Pascal Jufer 2023-10-29 14:50:29 +01:00
parent d76649b0ae
commit 9c4f6eefd9
No known key found for this signature in database

View file

@ -39,18 +39,28 @@ export function Header({ currentVersion }: HeaderProps) {
Donate — Our Mission
</NavigationItem>
<BuiltWith $isMobile>
Share with <Heart width={'1em'} height={'1em'} /> on{' '}
<a href={SHARE_LINK} target={'_blank'} rel={'noreferrer'}>
X
<a
href={SHARE_LINK}
target={'_blank'}
rel={'noreferrer'}
style={{ textDecoration: 'none' }}
>
Share with <Heart width={'1em'} height={'1em'} /> on{' '}
<span style={{ textDecoration: 'underline' }}>X</span>
</a>
</BuiltWith>
</MobileMenuContainer>
</HeaderCenter>
<HeaderRight>
<BuiltWith>
Share with <Heart width={'1em'} height={'1em'} /> on{' '}
<a href={SHARE_LINK} target={'_blank'} rel={'noreferrer'}>
X
<a
href={SHARE_LINK}
target={'_blank'}
rel={'noreferrer'}
style={{ textDecoration: 'none' }}
>
Share with <Heart width={'1em'} height={'1em'} /> on{' '}
<span style={{ textDecoration: 'underline' }}>X</span>
</a>
</BuiltWith>
<MobileMenuButton onClick={() => setMenuVisible((v) => !v)}>