Skip to content

Commit

Permalink
feat: replaced x(twitter) with threads
Browse files Browse the repository at this point in the history
  • Loading branch information
kevin0216 committed Nov 21, 2024
1 parent 3579615 commit 4356323
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 3 deletions.
6 changes: 3 additions & 3 deletions app/cfp/_components/footer.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ import FacebookLogo from "./logos/facebook";
import FlickrLogo from "./logos/flickr";
import InstagramLogo from "./logos/instagram";
import TelegramLogo from "./logos/telegram";
import TwitterLogo from "./logos/twitter";
import ThreadsLogo from "./logos/threads";
import YoutubeLogo from "./logos/youtube";
import SitconLogo from "./logos/sitcon";

Expand Down Expand Up @@ -123,8 +123,8 @@ function SocialLinks() {
<div className="flex items-end gap-2 max-[710px]:w-full max-[710px]:justify-between min-[490px]:gap-5">
<RadioLinkButton href="https://sitcon.org/fb" logo={<FacebookLogo />} />
<RadioLinkButton
href="https://sitcon.org/twitter"
logo={<TwitterLogo />}
href="https://sitcon.org/threads"
logo={<ThreadsLogo />}
/>
<RadioLinkButton href="https://sitcon.org/yt" logo={<YoutubeLogo />} />
<RadioLinkButton
Expand Down
29 changes: 29 additions & 0 deletions app/cfp/_components/logos/threads.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
export default function ThreadsLogo() {
return (
<svg
role="img"
version="1.1"
id="Layer_1"
viewBox="0 0 878 1000"
xmlns="http://www.w3.org/2000/svg"
className="fill-current"
>
<title>Threads</title>
<g>
<path
d="M446.7,1000h-0.3c-149.2-1-263.9-50.2-341-146.2C36.9,768.3,1.5,649.4,0.3,500.4v-0.7
c1.2-149.1,36.6-267.9,105.2-353.4C182.5,50.2,297.3,1,446.4,0h0.3h0.3c114.4,0.8,210.1,30.2,284.4,87.4
c69.9,53.8,119.1,130.4,146.2,227.8l-85,23.7c-46-165-162.4-249.3-346-250.6c-121.2,0.9-212.9,39-272.5,113.2
C118.4,271,89.6,371.4,88.5,500c1.1,128.6,29.9,229,85.7,298.5c59.6,74.3,151.3,112.4,272.5,113.2c109.3-0.8,181.6-26.3,241.7-85.2
c68.6-67.2,67.4-149.7,45.4-199.9c-12.9-29.6-36.4-54.2-68.1-72.9c-8,56.3-25.9,101.9-53.5,136.3c-36.9,45.9-89.2,71-155.4,74.6
c-50.1,2.7-98.4-9.1-135.8-33.4c-44.3-28.7-70.2-72.5-73-123.5c-2.7-49.6,17-95.2,55.4-128.4c36.7-31.7,88.3-50.3,149.3-53.8
c44.9-2.5,87-0.5,125.8,5.9c-5.2-30.9-15.6-55.5-31.2-73.2c-21.4-24.4-54.5-36.8-98.3-37.1c-0.4,0-0.8,0-1.2,0
c-35.2,0-83,9.7-113.4,55L261.2,327c40.8-60.6,107-94,186.6-94c0.6,0,1.2,0,1.8,0c133.1,0.8,212.4,82.3,220.3,224.5
c4.5,1.9,9,3.9,13.4,5.9c62.1,29.2,107.5,73.4,131.4,127.9c33.2,75.9,36.3,199.6-64.5,298.3C673.1,965,579.6,999.1,447,1000
L446.7,1000L446.7,1000z M488.5,512.9c-10.1,0-20.3,0.3-30.8,0.9c-76.5,4.3-124.2,39.4-121.5,89.3c2.8,52.3,60.5,76.6,116,73.6
c51-2.7,117.4-22.6,128.6-154.6C552.6,516,521.7,512.9,488.5,512.9z"
/>
</g>
</svg>
);
}

0 comments on commit 4356323

Please sign in to comment.