Skip to content

Commit 0ae4c93

Browse files
Updated homepage social links from Twitter to Bluesky
1 parent 92f8100 commit 0ae4c93

File tree

2 files changed

+24
-17
lines changed

2 files changed

+24
-17
lines changed

src/components/homepage/CommunitySection.jsx

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import React from 'react';
22
import Link from '@docusaurus/Link';
33

44
import { Linkedin, Twitter } from 'react-feather';
5-
import { DiscordIcon, LinkedInIcon, TelegramIcon } from '@site/src/icons';
5+
import { BlueSkyIcon, DiscordIcon, LinkedIn2Icon, LinkedInIcon, TelegramIcon } from '@site/src/icons';
66

77
const githubUsernames = [
88
'grokys',
@@ -49,15 +49,15 @@ export default function CommunitySection() {
4949
</Link>
5050
<Link
5151
className="flex w-full items-center justify-center gap-2 rounded-sm border border-solid border-primary bg-primary/10 px-2 py-2 text-primary lg:w-auto"
52-
href="https://twitter.com/avaloniaui"
52+
href="https://bsky.app/profile/avaloniaui.net"
5353
>
54-
<Twitter className="h-5 w-5" /> Twitter &rarr;
54+
<BlueSkyIcon className="h-5 w-5" /> Bluesky &rarr;
5555
</Link>
5656
<Link
5757
className="flex w-full items-center justify-center gap-2 rounded-sm border border-solid border-primary bg-primary/10 px-2 py-2 text-primary lg:w-auto"
5858
href="https://www.linkedin.com/company/avaloniaui"
5959
>
60-
<Linkedin className="h-5 w-5" /> LinkedIn &rarr;
60+
<LinkedIn2Icon className="h-5 w-5" /> LinkedIn &rarr;
6161
</Link>
6262
</div>
6363
</div>

src/icons/index.tsx

Lines changed: 20 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -53,18 +53,25 @@ export function GitHubIcon(props: ComponentProps<'svg'>) {
5353

5454
export function TelegramIcon(props: ComponentProps<'svg'>) {
5555
return (
56-
<svg
57-
xmlns="http://www.w3.org/2000/svg"
58-
viewBox="0 0 50 50"
59-
width="50"
60-
height="50"
61-
fill="none"
62-
{...props}
63-
>
64-
<path
65-
fill="currentColor"
66-
fillRule="evenodd"
67-
d="M 44.376953 5.9863281 C 43.889905 6.0076957 43.415817 6.1432497 42.988281 6.3144531 C 42.565113 6.4845113 40.128883 7.5243408 36.53125 9.0625 C 32.933617 10.600659 28.256963 12.603668 23.621094 14.589844 C 14.349356 18.562196 5.2382813 22.470703 5.2382812 22.470703 L 5.3046875 22.445312 C 5.3046875 22.445312 4.7547875 22.629122 4.1972656 23.017578 C 3.9185047 23.211806 3.6186028 23.462555 3.3730469 23.828125 C 3.127491 24.193695 2.9479735 24.711788 3.015625 25.259766 C 3.2532479 27.184511 5.2480469 27.730469 5.2480469 27.730469 L 5.2558594 27.734375 L 14.158203 30.78125 C 14.385177 31.538434 16.858319 39.792923 17.402344 41.541016 C 17.702797 42.507484 17.984013 43.064995 18.277344 43.445312 C 18.424133 43.635633 18.577962 43.782915 18.748047 43.890625 C 18.815627 43.933415 18.8867 43.965525 18.957031 43.994141 C 18.958531 43.994806 18.959437 43.99348 18.960938 43.994141 C 18.969579 43.997952 18.977708 43.998295 18.986328 44.001953 L 18.962891 43.996094 C 18.979231 44.002694 18.995359 44.013801 19.011719 44.019531 C 19.043456 44.030655 19.062905 44.030268 19.103516 44.039062 C 20.123059 44.395042 20.966797 43.734375 20.966797 43.734375 L 21.001953 43.707031 L 26.470703 38.634766 L 35.345703 45.554688 L 35.457031 45.605469 C 37.010484 46.295216 38.415349 45.910403 39.193359 45.277344 C 39.97137 44.644284 40.277344 43.828125 40.277344 43.828125 L 40.310547 43.742188 L 46.832031 9.7519531 C 46.998903 8.9915162 47.022612 8.334202 46.865234 7.7402344 C 46.707857 7.1462668 46.325492 6.6299361 45.845703 6.34375 C 45.365914 6.0575639 44.864001 5.9649605 44.376953 5.9863281 z M 44.429688 8.0195312 C 44.627491 8.0103707 44.774102 8.032983 44.820312 8.0605469 C 44.866523 8.0881109 44.887272 8.0844829 44.931641 8.2519531 C 44.976011 8.419423 45.000036 8.7721605 44.878906 9.3242188 L 44.875 9.3359375 L 38.390625 43.128906 C 38.375275 43.162926 38.240151 43.475531 37.931641 43.726562 C 37.616914 43.982653 37.266874 44.182554 36.337891 43.792969 L 26.632812 36.224609 L 26.359375 36.009766 L 26.353516 36.015625 L 23.451172 33.837891 L 39.761719 14.648438 A 1.0001 1.0001 0 0 0 38.974609 13 A 1.0001 1.0001 0 0 0 38.445312 13.167969 L 14.84375 28.902344 L 5.9277344 25.849609 C 5.9277344 25.849609 5.0423771 25.356927 5 25.013672 C 4.99765 24.994652 4.9871961 25.011869 5.0332031 24.943359 C 5.0792101 24.874869 5.1948546 24.759225 5.3398438 24.658203 C 5.6298218 24.456159 5.9609375 24.333984 5.9609375 24.333984 L 5.9941406 24.322266 L 6.0273438 24.308594 C 6.0273438 24.308594 15.138894 20.399882 24.410156 16.427734 C 29.045787 14.44166 33.721617 12.440122 37.318359 10.902344 C 40.914175 9.3649615 43.512419 8.2583658 43.732422 8.1699219 C 43.982886 8.0696253 44.231884 8.0286918 44.429688 8.0195312 z M 33.613281 18.792969 L 21.244141 33.345703 L 21.238281 33.351562 A 1.0001 1.0001 0 0 0 21.183594 33.423828 A 1.0001 1.0001 0 0 0 21.128906 33.507812 A 1.0001 1.0001 0 0 0 20.998047 33.892578 A 1.0001 1.0001 0 0 0 20.998047 33.900391 L 19.386719 41.146484 C 19.35993 41.068197 19.341173 41.039555 19.3125 40.947266 L 19.3125 40.945312 C 18.800713 39.30085 16.467362 31.5161 16.144531 30.439453 L 33.613281 18.792969 z M 22.640625 35.730469 L 24.863281 37.398438 L 21.597656 40.425781 L 22.640625 35.730469 z" />
68-
</svg>
56+
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
57+
<path d="M20.5723 3.01172C20.2399 2.97647 19.8786 3.02838 19.5156 3.17188C19.0656 3.34888 12.0144 6.31504 5.44141 9.08204L3.26953 9.9961C2.42853 10.3371 2.00391 10.8917 2.00391 11.6387C2.00391 12.1617 2.22525 12.8711 3.28125 13.2891L6.94727 14.7578C7.26427 15.7088 8.00055 17.9169 8.18555 18.5039C8.29555 18.8519 8.57339 19.7286 9.27539 19.9336C9.41939 19.9826 9.56966 20.0078 9.72266 20.0078C10.1657 20.0078 10.4846 19.8016 10.6406 19.6816L12.9707 17.7109L15.8008 20.3281C15.9098 20.4391 16.4867 21 17.2617 21C18.2287 21 18.9622 20.195 19.1152 19.416C19.1982 18.989 21.9277 5.28707 21.9277 5.28907C22.1727 4.19007 21.7322 3.61996 21.4492 3.37696C21.2067 3.16946 20.9046 3.04697 20.5723 3.01172ZM19.9102 5.17188C19.5332 7.06188 17.478 17.3782 17.166 18.8652L13.0293 15.0391L10.2227 17.416L11 14.375C11 14.375 16.3625 8.94687 16.6855 8.63087C16.9455 8.37787 17 8.28918 17 8.20118C17 8.08418 16.9398 8.00001 16.8008 8.00001C16.6758 8.00001 16.506 8.11979 16.416 8.17579C15.2727 8.8886 10.4041 11.6622 8.00781 13.0254L4.53125 11.6367L6.21875 10.9277C10.5177 9.11774 18.1742 5.89388 19.9102 5.17188Z" fill="#0D6EFD"/>
58+
</svg>
59+
);
60+
}
61+
62+
export function BlueSkyIcon(props: ComponentProps<'svg'>) {
63+
return (
64+
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
65+
<path d="M21.31 2.331C18.674 2.331 14.639 6.151 12 10.146C9.361 6.152 5.326 2.331 2.69 2.331C1 2.331 1 4.098 1 4.947C1 5.498 1.335 9.859 1.577 10.757C2.012 12.379 3.081 13.887 4.685 14.705C4.133 15.157 3.736 15.689 3.536 16.291C3.309 16.971 3.148 18.338 4.616 19.853C5.79 21.064 6.872 21.653 7.926 21.653C9.629 21.653 11.092 19.743 12.001 18.195C12.91 19.743 14.373 21.653 16.076 21.653C17.13 21.653 18.212 21.064 19.386 19.853C20.854 18.339 20.692 16.972 20.466 16.291C20.265 15.689 19.868 15.157 19.317 14.705C20.921 13.887 21.991 12.379 22.425 10.757C22.665 9.859 23 5.499 23 4.947C23 4.098 23 2.331 21.31 2.331ZM20.492 10.239C20.052 11.879 18.607 13.615 16 13.283V15.367C17.613 15.727 18.395 16.409 18.567 16.925C18.752 17.478 18.333 18.066 17.948 18.462C16.944 19.499 16.343 19.653 16.074 19.653C15.311 19.653 13.96 17.801 13.102 16H12.015L12 16.007L11.985 16H10.898C10.039 17.801 8.689 19.653 7.926 19.653C7.657 19.653 7.057 19.498 6.052 18.462C5.668 18.066 5.249 17.478 5.433 16.925C5.605 16.409 6.387 15.727 8 15.367V13.283C5.393 13.615 3.948 11.879 3.508 10.239C3.354 9.666 3 5.613 3 4.947C3 4.687 3.006 4.502 3.016 4.37C4.794 4.762 8.42 8.073 10.809 12H11.922H12.078H13.191C15.58 8.073 19.205 4.762 20.984 4.37C20.994 4.502 21 4.688 21 4.947C21 5.613 20.646 9.666 20.492 10.239Z" fill="#0D6EFD"/>
66+
</svg>
67+
68+
);
69+
}
70+
71+
export function LinkedIn2Icon(props: ComponentProps<'svg'>) {
72+
return (
73+
<svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
74+
<path d="M5 3C3.895 3 3 3.895 3 5V19C3 20.105 3.895 21 5 21H19C20.105 21 21 20.105 21 19V5C21 3.895 20.105 3 19 3H5ZM5 5H19V19H5V5ZM7.7793 6.31641C6.9223 6.31641 6.4082 6.83158 6.4082 7.51758C6.4082 8.20358 6.92236 8.7168 7.69336 8.7168C8.55036 8.7168 9.06445 8.20358 9.06445 7.51758C9.06445 6.83158 8.5503 6.31641 7.7793 6.31641ZM6.47656 10V17H9V10H6.47656ZM11.082 10V17H13.6055V13.1738C13.6055 12.0348 14.4181 11.8711 14.6621 11.8711C14.9061 11.8711 15.5586 12.1158 15.5586 13.1738V17H18V13.1738C18 10.9768 17.0237 10 15.8027 10C14.5817 10 13.9305 10.4066 13.6055 10.9766V10H11.082Z" fill="#0D6EFD"/>
75+
</svg>
6976
);
7077
}

0 commit comments

Comments
 (0)