Skip to content

Commit 83ac72c

Browse files
committed
replace icons with Lucide icons for consistency across multiple components
1 parent 0bb47e9 commit 83ac72c

File tree

5 files changed

+12
-22
lines changed

5 files changed

+12
-22
lines changed

src/libraries/table.tsx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import { handleRedirects } from '~/utils/handleRedirects.server'
2-
import { Book, Wallpaper, Zap } from 'lucide-react'
3-
import { IoIosBody } from 'react-icons/io'
2+
import { Book, PersonStanding, Wallpaper, Zap } from 'lucide-react'
43
import { twMerge } from 'tailwind-merge'
54
import { GithubIcon } from '~/components/icons/GithubIcon'
65
import { CogsIcon } from '~/components/icons/CogsIcon'
@@ -73,7 +72,7 @@ export const tableProject = {
7372
title: 'Designed for zero design',
7473
icon: (
7574
<div className="text-center overflow-hidden">
76-
<IoIosBody className={twMerge(textStyles)} />
75+
<PersonStanding className={twMerge(textStyles)} />
7776
</div>
7877
),
7978
description: (

src/libraries/virtual.tsx

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
import { Book, Wallpaper, Zap } from 'lucide-react'
2-
import { IoIosBody } from 'react-icons/io'
1+
import { Book, PersonStanding, Wallpaper, Zap } from 'lucide-react'
32
import { twMerge } from 'tailwind-merge'
43
import { GithubIcon } from '~/components/icons/GithubIcon'
54
import { CogsIcon } from '~/components/icons/CogsIcon'
@@ -53,7 +52,7 @@ export const virtualProject = {
5352
title: 'Designed for zero design',
5453
icon: (
5554
<div className="text-center overflow-hidden">
56-
<IoIosBody className="text-purple-400" />
55+
<PersonStanding className="text-purple-400" />
5756
</div>
5857
),
5958
description: (

src/routes/_libraries/paid-support.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import { createFileRoute, Link } from '@tanstack/react-router'
22
import { seo } from '~/utils/seo'
3-
import { HiOutlineMail } from 'react-icons/hi'
43
import { MdViewList, MdViewModule, MdFormatListBulleted } from 'react-icons/md'
54
import { useState } from 'react'
65
import { coreMaintainers } from '~/libraries/maintainers'
@@ -9,6 +8,7 @@ import {
98
MaintainerCard,
109
MaintainerRowCard,
1110
} from '~/components/MaintainerCard'
11+
import { Mail } from 'lucide-react'
1212

1313
export const Route = createFileRoute('/_libraries/paid-support')({
1414
component: PaidSupportComp,
@@ -157,7 +157,7 @@ function PaidSupportComp() {
157157
href="mailto:support@tanstack.com?subject=Enterprise%20Support%20Inquiry"
158158
className="inline-flex items-center gap-3 px-6 py-3 bg-linear-to-r from-green-600 to-cyan-600 text-white rounded-lg font-medium hover:from-blue-700 hover:to-purple-700 transition-all duration-200 hover:shadow-lg hover:scale-105"
159159
>
160-
<HiOutlineMail className="w-5 h-5" />
160+
<Mail className="w-5 h-5" />
161161
Contact Support Team
162162
</a>
163163
</div>

src/routes/_libraries/workshops.tsx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import { createFileRoute } from '@tanstack/react-router'
22
import { createServerFn } from '@tanstack/react-start'
33
import { seo } from '~/utils/seo'
4-
import { HiOutlineMail } from 'react-icons/hi'
54
import {
65
LuUsers,
76
LuVideo,
@@ -18,6 +17,7 @@ import { allMaintainers, Maintainer } from '~/libraries/maintainers'
1817
import { MaintainerCard } from '~/components/MaintainerCard'
1918
import { shuffleWithSeed } from '~/utils/utils'
2019
import { CheckCircleIcon } from '~/components/icons/CheckCircleIcon'
20+
import { Mail } from 'lucide-react'
2121

2222
// Server function to get the seed based on 10-second intervals
2323
// This ensures consistency between server and client
@@ -74,7 +74,7 @@ function WorkshopsPage() {
7474
href="mailto:workshops@tanstack.com?subject=Workshop%20Inquiry"
7575
className="inline-flex items-center gap-3 px-8 py-4 bg-linear-to-r from-blue-600 to-purple-600 text-white rounded-lg font-black text-lg hover:from-blue-700 hover:to-purple-700 transition-all duration-200 hover:shadow-xl hover:scale-105"
7676
>
77-
<HiOutlineMail className="w-6 h-6" />
77+
<Mail className="w-6 h-6" />
7878
Get a Quote
7979
</a>
8080
</header>
@@ -235,7 +235,7 @@ function WorkshopsPage() {
235235
href="mailto:workshops@tanstack.com?subject=Workshop%20Inquiry"
236236
className="inline-flex items-center gap-3 px-8 py-4 bg-linear-to-r from-blue-600 to-purple-600 text-white rounded-lg font-black text-lg hover:from-blue-700 hover:to-purple-700 transition-all duration-200 hover:shadow-xl hover:scale-105"
237237
>
238-
<HiOutlineMail className="w-6 h-6" />
238+
<Mail className="w-6 h-6" />
239239
Get a Quote
240240
</a>
241241
</div>
@@ -317,7 +317,7 @@ function WorkshopsPage() {
317317
href="mailto:workshops@tanstack.com?subject=Workshop%20Questions"
318318
className="inline-flex items-center gap-3 px-6 py-3 bg-blue-600 text-white rounded-lg font-medium hover:bg-blue-700 transition-all duration-200 hover:shadow-lg"
319319
>
320-
<HiOutlineMail className="w-5 h-5" />
320+
<Mail className="w-5 h-5" />
321321
Ask Us Anything
322322
</a>
323323
</div>
@@ -420,7 +420,7 @@ function WorkshopsPage() {
420420
href="mailto:workshops@tanstack.com?subject=Workshop%20Inquiry"
421421
className="inline-flex items-center gap-3 px-8 py-4 bg-linear-to-r from-green-600 to-cyan-600 text-white rounded-lg font-black text-lg hover:from-green-700 hover:to-cyan-700 transition-all duration-200 hover:shadow-xl hover:scale-105"
422422
>
423-
<HiOutlineMail className="w-6 h-6" />
423+
<Mail className="w-6 h-6" />
424424
Get Started Today
425425
</a>
426426
</div>
@@ -566,7 +566,7 @@ function InstructorsSection({ instructors }: { instructors: Maintainer[] }) {
566566
href="mailto:workshops@tanstack.com?subject=Workshop%20Inquiry&body=I'm interested in learning more about your workshop instructors and availability."
567567
className="inline-flex items-center gap-2 px-6 py-3 bg-blue-600 text-white rounded-lg font-medium hover:bg-blue-700 transition-all duration-200 hover:shadow-lg"
568568
>
569-
<HiOutlineMail className="w-5 h-5" />
569+
<Mail className="w-5 h-5" />
570570
Learn More About Our Instructors
571571
</a>
572572
</div>

tmp/react-icons-usage.txt

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,3 @@
1-
Package hi
2-
HiOutlineMail
3-
- src/routes/_libraries/paid-support.tsx
4-
- src/routes/_libraries/workshops.tsx
5-
Package io
6-
IoIosBody
7-
- src/libraries/table.tsx
8-
- src/libraries/virtual.tsx
91
Package lu
102
LuBookOpen
113
- src/components/Navbar.tsx

0 commit comments

Comments
 (0)