diff --git a/src/components/Navbar.tsx b/src/components/Navbar.tsx index 30030b010..9f75f575d 100644 --- a/src/components/Navbar.tsx +++ b/src/components/Navbar.tsx @@ -26,14 +26,14 @@ import { HammerIcon } from '@phosphor-icons/react/Hammer' import { HeartIcon } from '@phosphor-icons/react/Heart' import { InfinityIcon } from '@phosphor-icons/react/Infinity' import { LifebuoyIcon } from '@phosphor-icons/react/Lifebuoy' -import { ListIcon as Menu } from '@phosphor-icons/react/List' +import { ListIcon } from '@phosphor-icons/react/List' import { MagnifyingGlassIcon } from '@phosphor-icons/react/MagnifyingGlass' import { MailboxIcon } from '@phosphor-icons/react/Mailbox' import { ShieldCheckIcon } from '@phosphor-icons/react/ShieldCheck' import { ShoppingBagIcon } from '@phosphor-icons/react/ShoppingBag' import { SignInIcon } from '@phosphor-icons/react/SignIn' -import { SparkleIcon as Sparkles } from '@phosphor-icons/react/Sparkle' -import { TrendUpIcon as TrendingUp } from '@phosphor-icons/react/TrendUp' +import { SparkleIcon } from '@phosphor-icons/react/Sparkle' +import { TrendUpIcon } from '@phosphor-icons/react/TrendUp' import { UsersIcon } from '@phosphor-icons/react/Users' import { XIcon } from '@phosphor-icons/react/X' import { ThemeToggle } from './ThemeToggle' @@ -174,7 +174,7 @@ const NAV_GROUPS = [ label: 'Release Notes', to: '/blog', description: 'The latest releases and changelog.', - icon: Sparkles, + icon: SparkleIcon, }, ], }, @@ -214,7 +214,7 @@ const NAV_GROUPS = [ label: 'Showcase', to: '/showcase', description: 'Teams building with TanStack.', - icon: Sparkles, + icon: SparkleIcon, }, ], }, @@ -238,7 +238,7 @@ const NAV_GROUPS = [ label: 'Stats', to: '/stats/npm', description: 'NPM and ecosystem usage data.', - icon: TrendingUp, + icon: TrendUpIcon, }, ], }, @@ -658,7 +658,7 @@ export function Navbar({ children }: { children: React.ReactNode }) { {mobileMenuOpen ? ( ) : ( - + )} @@ -922,7 +922,7 @@ function MobileNavigation({ onClick={() => openUtility('ai')} className="flex w-full items-center gap-3.5 rounded-xl px-3 py-4 text-left font-ds-display text-ds-heading-3 text-[#a3a3a3] transition-colors hover:bg-[#171717] hover:text-white focus-visible:bg-[#171717] focus-visible:text-white focus-visible:outline-none" > - + Ask AI {loadAuthControls ? ( diff --git a/src/components/PartnershipCallout.tsx b/src/components/PartnershipCallout.tsx index ae826c4f7..66d4261c6 100644 --- a/src/components/PartnershipCallout.tsx +++ b/src/components/PartnershipCallout.tsx @@ -1,4 +1,4 @@ -import { HandHeartIcon as HeartHandshake } from '@phosphor-icons/react' +import { HandHeartIcon } from '@phosphor-icons/react' import { Card } from './Card' import { PARTNER_INQUIRY_HREF, @@ -13,7 +13,7 @@ export function PartnershipCallout() { w-[500px] max-w-full mx-auto" > - TanStack You? + TanStack You?
diff --git a/src/components/ds/BrandAssets.tsx b/src/components/ds/BrandAssets.tsx index 92d2847d8..21bf1ca08 100644 --- a/src/components/ds/BrandAssets.tsx +++ b/src/components/ds/BrandAssets.tsx @@ -1,9 +1,9 @@ import * as React from 'react' import { - CaretDownIcon as CaretDown, - CheckIcon as Check, - CopyIcon as Copy, - DownloadSimpleIcon as DownloadSimple, + CaretDownIcon, + CheckIcon, + CopyIcon, + DownloadSimpleIcon, } from '@phosphor-icons/react' import { DsSection } from '~/components/ds/DsKit' import { useToast } from '~/components/ToastProvider' @@ -121,9 +121,9 @@ function CopyAssetButton({ onClick={copyAsset} > {copied.active ? ( -
@@ -419,7 +419,7 @@ function SocialLogoPicker() { @@ -430,7 +430,7 @@ function SocialLogoPicker() { > {option.label} {option.value === orientation.value ? ( - + ) : null} ))} @@ -446,7 +446,7 @@ function SocialLogoPicker() { style={{ background: color.swatch }} /> {color.label} - + @@ -462,7 +462,7 @@ function SocialLogoPicker() { /> {option.label} {option.value === color.value ? ( - + ) : null} ))} @@ -473,7 +473,7 @@ function SocialLogoPicker() { @@ -484,7 +484,7 @@ function SocialLogoPicker() { > {option.label} {option.value === format.value ? ( - + ) : null} ))} @@ -508,7 +508,7 @@ function SocialLogoPicker() { aria-label={`Download ${orientation.label} ${color.label} as ${format.label}`} title={`Download ${format.label}`} > -