Skip to content

Commit 670e205

Browse files
committed
replace react-icons with Lucide icons
1 parent 545e95c commit 670e205

File tree

6 files changed

+6
-22
lines changed

6 files changed

+6
-22
lines changed

package.json

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,6 @@
6565
"react": "^19.2.0",
6666
"react-colorful": "^5.6.1",
6767
"react-dom": "^19.2.0",
68-
"react-icons": "^5.3.0",
6968
"react-instantsearch": "7",
7069
"rehype-autolink-headings": "^7.1.0",
7170
"rehype-callouts": "^2.1.2",

pnpm-lock.yaml

Lines changed: 0 additions & 12 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/components/PartnershipCallout.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
import { TbHeartHandshake } from 'react-icons/tb'
21
import { getLibrary, LibraryId } from '~/libraries'
2+
import { HeartHandshake } from 'lucide-react'
33

44
interface PartnershipCalloutProps {
55
libraryId: LibraryId
@@ -16,7 +16,7 @@ export function PartnershipCallout({ libraryId }: PartnershipCalloutProps) {
1616
dark:bg-black/40 dark:shadow-none w-[500px] max-w-full mx-auto"
1717
>
1818
<span className="flex items-center gap-2 p-8 text-3xl text-rose-500 font-black uppercase">
19-
{library.name.replace('TanStack ', '')} <TbHeartHandshake /> You?
19+
{library.name.replace('TanStack ', '')} <HeartHandshake size={28} /> You?
2020
</span>
2121
<div className="flex flex-col p-4 gap-3 text-sm">
2222
<div>

src/libraries/ranger.tsx

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
1-
import { Book, PlugZap, RotateCw, Wallpaper } from 'lucide-react'
2-
import { TbZoomQuestion } from 'react-icons/tb'
3-
import { RiLightbulbFlashLine } from 'react-icons/ri'
1+
import { Book, MessageCircleQuestionMark, PlugZap, RotateCw, Wallpaper } from 'lucide-react'
42
import { twMerge } from 'tailwind-merge'
53
import { GithubIcon } from '~/components/icons/GithubIcon'
64

@@ -88,7 +86,7 @@ export const rangerProject = {
8886
},
8987
{
9088
title: 'Extensible',
91-
icon: <TbZoomQuestion className={twMerge('', textStyles)} />,
89+
icon: <MessageCircleQuestionMark className={twMerge('', textStyles)} />,
9290
description: (
9391
<div>
9492
Designed with maximum inversion of control in mind, Ranger is built to

src/libraries/router.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
import { Book, DatabaseZap, MessageCircleQuestionMark, PlugZap, Wallpaper } from 'lucide-react'
2-
import { RiLightbulbFlashLine } from 'react-icons/ri'
32
import { twMerge } from 'tailwind-merge'
43
import { redirect } from '@tanstack/react-router'
54
import { GithubIcon } from '~/components/icons/GithubIcon'

src/routes/_libraries/start.$version.index.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,11 @@ import LandingPageGad from '~/components/LandingPageGad'
1313
import { PartnersSection } from '~/components/PartnersSection'
1414
import OpenSourceStats from '~/components/OpenSourceStats'
1515
import { ossStatsQuery } from '~/queries/stats'
16-
import { TbBrandX } from 'react-icons/tb'
1716
import { AdGate } from '~/contexts/AdsContext'
1817
import { GamHeader } from '~/components/Gam'
1918
import { GithubIcon } from '~/components/icons/GithubIcon'
2019
import { Book, Wallpaper } from 'lucide-react'
20+
import { BrandXIcon } from '~/components/icons/BrandXIcon'
2121

2222
const library = getLibrary('start')
2323

@@ -134,7 +134,7 @@ function VersionIndex() {
134134
className="flex items-center gap-2 py-2 px-4 bg-cyan-500 rounded text-white uppercase font-extrabold"
135135
rel="noreferrer"
136136
>
137-
<TbBrandX className="min-w-4" /> Tweet about it!
137+
<BrandXIcon className="min-w-4" /> Tweet about it!
138138
</a>{' '}
139139
</div>
140140
</div>

0 commit comments

Comments
 (0)