Fall back to lucide ExternalLink for LinkedIn (removed from Simple Icons)

This commit is contained in:
2026-04-23 21:28:52 +04:00
parent d74710aaa1
commit 222669acf0

View File

@@ -1,8 +1,8 @@
import { SiFacebook, SiLinkedin, SiX } from '@icons-pack/react-simple-icons'
import { SiFacebook, SiX } from '@icons-pack/react-simple-icons'
import { useSuspenseQuery } from '@tanstack/react-query'
import { createFileRoute, Link, notFound } from '@tanstack/react-router'
import { iso31661 } from 'iso-3166'
import { Globe } from 'lucide-react'
import { ExternalLink, Globe } from 'lucide-react'
import { Helmet } from 'react-helmet-async'
import { Button } from '~/components/ui/button'
@@ -102,7 +102,7 @@ function VendorDetailPage() {
)}
{vendor.linkedin && (
<li className="flex items-center gap-2">
<SiLinkedin className="h-4 w-4" />
<ExternalLink className="h-4 w-4" />
<a href={vendor.linkedin} target="_blank" rel="noreferrer" className="hover:underline">
{vendor.linkedin}
</a>