fixed discord link and small prettier fixes

This commit is contained in:
Luca Burgio 2023-12-17 10:48:14 +01:00
parent 55b5db79e2
commit 2bf04c12b0
3 changed files with 7 additions and 7 deletions

View file

@ -29,8 +29,8 @@ export function NavigationItem({
activeMatch
? router.asPath.startsWith(activeMatch)
: href.slice(1)
? router.asPath.slice(1).startsWith(href.slice(1))
: router.asPath === href
? router.asPath.slice(1).startsWith(href.slice(1))
: router.asPath === href
}
>
{children}

View file

@ -73,13 +73,13 @@ function Thumb({ state, trackRef, index }: ThumbProps) {
backgroundColor: isFocusVisible
? 'var(--accent)'
: state.isThumbDragging(index)
? 'var(--g6)'
: 'var(--white)',
? 'var(--g6)'
: 'var(--white)',
scale: isFocusVisible
? '1.0'
: state.isThumbDragging(index)
? '1.3'
: '1.0',
? '1.3'
: '1.0',
}}
>
<VisuallyHidden>

View file

@ -26,7 +26,7 @@ export const SHARE_LINK =
'https://twitter.com/intent/tweet?text=Your%20new%20free%20icons%20library.%20No%20premium%20options%20or%20signups%20by%20%40burgioluca%20&url=https%3A%2F%2Ficonoir.com' as const;
export const SUPPORT_LINK =
'https://opencollective.com/iconoir/donate?interval=month&amount=10' as const;
export const DISCORD_LINK = 'https://discord.gg/c3uzjx6k' as const;
export const DISCORD_LINK = 'https://discord.gg/txXcKCAmKW' as const;
export const FEEDBACK_LINK = 'https://forms.gle/3HvwVYow7D6T8zad7' as const;
export const PRIVACY_LINK =
'https://www.freeprivacypolicy.com/live/ba00d743-a0cd-44f8-8cb5-6f58911db0fb' as const;