diff --git a/src/components/homepage/SocialCard.tsx b/src/components/homepage/SocialCard.tsx index eee77026..b325d354 100644 --- a/src/components/homepage/SocialCard.tsx +++ b/src/components/homepage/SocialCard.tsx @@ -1,27 +1,28 @@ import type React from "react"; - import { FiExternalLink } from "react-icons/fi"; export interface SocialCardProps { children: React.ReactNode; color: string; link: string; + isMeLink?: boolean; } export const SocialCard = ({ children, color, link, + isMeLink = false, }: SocialCardProps): JSX.Element => { return (
{children} diff --git a/src/pages/index.tsx b/src/pages/index.tsx index e8c3ceb3..7da2691a 100644 --- a/src/pages/index.tsx +++ b/src/pages/index.tsx @@ -27,7 +27,7 @@ const SocialCards: SocialCardProps[] = [ children: ( twitter ), @@ -38,7 +38,7 @@ const SocialCards: SocialCardProps[] = [ children: ( facebook ), @@ -49,7 +49,7 @@ const SocialCards: SocialCardProps[] = [ children: ( instagram ), @@ -60,7 +60,7 @@ const SocialCards: SocialCardProps[] = [ children: ( youtube ), @@ -71,7 +71,7 @@ const SocialCards: SocialCardProps[] = [ children: ( discourse ), @@ -82,18 +82,30 @@ const SocialCards: SocialCardProps[] = [ children: ( reddit ), }, + { + color: "bg-[#563ACC]", + link: "https://mastodon.social/@meshtastic", + isMeLink: true, + children: ( + mastodon + ), + }, { color: "bg-[#24A1DE]", link: "https://t.me/+hmKN0xOR73ExOTU6", children: ( telegram ), @@ -147,9 +159,14 @@ function Home() {

Connect with us.

-
+
{SocialCards.map((card) => ( - + {card.children} ))} diff --git a/static/img/homepage/mastodon-logo-white.svg b/static/img/homepage/mastodon-logo-white.svg new file mode 100644 index 00000000..f0cf7c3e --- /dev/null +++ b/static/img/homepage/mastodon-logo-white.svg @@ -0,0 +1 @@ + \ No newline at end of file