File tree Expand file tree Collapse file tree 3 files changed +22
-4
lines changed
apps/dashboard/src/components
contract-components/publisher Expand file tree Collapse file tree 3 files changed +22
-4
lines changed Original file line number Diff line number Diff line change 11import { ButtonGroup , type ButtonGroupProps , Icon } from "@chakra-ui/react" ;
22import { SiFacebook } from "@react-icons/all-files/si/SiFacebook" ;
3- import { SiLinkedin } from "@react-icons/all-files/si/SiLinkedin" ;
43import { SiMedium } from "@react-icons/all-files/si/SiMedium" ;
54import { SiReddit } from "@react-icons/all-files/si/SiReddit" ;
65import { SiTelegram } from "@react-icons/all-files/si/SiTelegram" ;
76import { DiscordIcon } from "components/icons/brand-icons/DiscordIcon" ;
87import { GithubIcon } from "components/icons/brand-icons/GithubIcon" ;
8+ import { LinkedInIcon } from "components/icons/brand-icons/LinkedinIcon" ;
99import { XIcon } from "components/icons/brand-icons/XIcon" ;
1010import type { ProfileMetadata } from "constants/schemas" ;
1111import { FiGlobe } from "react-icons/fi" ;
@@ -162,7 +162,7 @@ export const PublisherSocials: React.FC<PublisherSocialsProps> = ({
162162 }
163163 bg = "transparent"
164164 aria-label = "linkedin"
165- icon = { < Icon as = { SiLinkedin } /> }
165+ icon = { < LinkedInIcon className = "size-4" /> }
166166 category = { TRACKING_CATEGORY }
167167 label = "linkedin"
168168 />
Original file line number Diff line number Diff line change 11import { SiInstagram } from "@react-icons/all-files/si/SiInstagram" ;
2- import { SiLinkedin } from "@react-icons/all-files/si/SiLinkedin" ;
32import { SiTiktok } from "@react-icons/all-files/si/SiTiktok" ;
43import { SiYoutube } from "@react-icons/all-files/si/SiYoutube" ;
54import { DiscordIcon } from "components/icons/brand-icons/DiscordIcon" ;
65import { GithubIcon } from "components/icons/brand-icons/GithubIcon" ;
6+ import { LinkedInIcon } from "components/icons/brand-icons/LinkedinIcon" ;
77import { XIcon } from "components/icons/brand-icons/XIcon" ;
88
99interface socialLinkInfo {
@@ -37,7 +37,7 @@ export const SOCIALS: socialLinkInfo[] = [
3737 link : "https://www.linkedin.com/company/third-web/" ,
3838 ariaLabel : "LinkedIn" ,
3939 label : "linkedin" ,
40- icon : < SiLinkedin fontSize = { socialIconSize } /> ,
40+ icon : < LinkedInIcon fontSize = { socialIconSize } className = "size-5" /> ,
4141 } ,
4242 {
4343 link : "https://www.instagram.com/thirdweb/" ,
Original file line number Diff line number Diff line change 1+ import type { SVGProps } from "react" ;
2+
3+ export const LinkedInIcon = ( props : SVGProps < SVGSVGElement > ) => {
4+ return (
5+ < svg
6+ role = "img"
7+ viewBox = "0 0 24 24"
8+ xmlns = "http://www.w3.org/2000/svg"
9+ fill = "currentColor"
10+ width = { 24 }
11+ height = { 24 }
12+ { ...props }
13+ >
14+ < title > LinkedIn</ title >
15+ < path d = "M20.447 20.452h-3.554v-5.569c0-1.328-.027-3.037-1.852-3.037-1.853 0-2.136 1.445-2.136 2.939v5.667H9.351V9h3.414v1.561h.046c.477-.9 1.637-1.85 3.37-1.85 3.601 0 4.267 2.37 4.267 5.455v6.286zM5.337 7.433c-1.144 0-2.063-.926-2.063-2.065 0-1.138.92-2.063 2.063-2.063 1.14 0 2.064.925 2.064 2.063 0 1.139-.925 2.065-2.064 2.065zm1.782 13.019H3.555V9h3.564v11.452zM22.225 0H1.771C.792 0 0 .774 0 1.729v20.542C0 23.227.792 24 1.771 24h20.451C23.2 24 24 23.227 24 22.271V1.729C24 .774 23.2 0 22.222 0h.003z" />
16+ </ svg >
17+ ) ;
18+ } ;
You can’t perform that action at this time.
0 commit comments