mirror of
https://github.com/iconoir-icons/iconoir
synced 2024-06-08 08:52:19 +02:00
fixed discord link and small prettier fixes
This commit is contained in:
parent
55b5db79e2
commit
2bf04c12b0
|
@ -29,8 +29,8 @@ export function NavigationItem({
|
||||||
activeMatch
|
activeMatch
|
||||||
? router.asPath.startsWith(activeMatch)
|
? router.asPath.startsWith(activeMatch)
|
||||||
: href.slice(1)
|
: href.slice(1)
|
||||||
? router.asPath.slice(1).startsWith(href.slice(1))
|
? router.asPath.slice(1).startsWith(href.slice(1))
|
||||||
: router.asPath === href
|
: router.asPath === href
|
||||||
}
|
}
|
||||||
>
|
>
|
||||||
{children}
|
{children}
|
||||||
|
|
|
@ -73,13 +73,13 @@ function Thumb({ state, trackRef, index }: ThumbProps) {
|
||||||
backgroundColor: isFocusVisible
|
backgroundColor: isFocusVisible
|
||||||
? 'var(--accent)'
|
? 'var(--accent)'
|
||||||
: state.isThumbDragging(index)
|
: state.isThumbDragging(index)
|
||||||
? 'var(--g6)'
|
? 'var(--g6)'
|
||||||
: 'var(--white)',
|
: 'var(--white)',
|
||||||
scale: isFocusVisible
|
scale: isFocusVisible
|
||||||
? '1.0'
|
? '1.0'
|
||||||
: state.isThumbDragging(index)
|
: state.isThumbDragging(index)
|
||||||
? '1.3'
|
? '1.3'
|
||||||
: '1.0',
|
: '1.0',
|
||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<VisuallyHidden>
|
<VisuallyHidden>
|
||||||
|
|
|
@ -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;
|
'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 =
|
export const SUPPORT_LINK =
|
||||||
'https://opencollective.com/iconoir/donate?interval=month&amount=10' as const;
|
'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 FEEDBACK_LINK = 'https://forms.gle/3HvwVYow7D6T8zad7' as const;
|
||||||
export const PRIVACY_LINK =
|
export const PRIVACY_LINK =
|
||||||
'https://www.freeprivacypolicy.com/live/ba00d743-a0cd-44f8-8cb5-6f58911db0fb' as const;
|
'https://www.freeprivacypolicy.com/live/ba00d743-a0cd-44f8-8cb5-6f58911db0fb' as const;
|
||||||
|
|
Loading…
Reference in a new issue