Skip to content

Commit

Permalink
wiki: about: Add telegram
Browse files Browse the repository at this point in the history
Change-Id: I26e26a083bfbd2d9c0221f819a4691f58c1695e2
  • Loading branch information
neroices committed Dec 28, 2024
1 parent 46c5501 commit de16faf
Show file tree
Hide file tree
Showing 2 changed files with 50 additions and 20 deletions.
15 changes: 8 additions & 7 deletions src/components/about-page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,49 +9,50 @@ const teamMembers = [
role: "Founder/Lead Developer",
image: "/toufu.png",
github: "toufune",
twitter: "toufu14271"
twitter: "toufu14271",
},
{
name: "Maitani-Sakura",
role: "Co-Founder/Developer",
image: "/maitani-sakura.png",
github: "maitani-sakura",
twitter: "M_Sakura479"
twitter: "M_Sakura479",
},
{
name: "soralis0912",
role: "Developer",
image: "/soralis0912.png",
github: "soralis0912",
twitter: "soralis_0912"
twitter: "soralis_0912",
telegram: "soralis_0912",
},
{
name: "neroices",
role: "Developer",
image: "/neroices.png",
github: "neroices",
twitter: "letsmakeices"
twitter: "letsmakeices",
},
{
name: "MONE-FIERA",
role: "Developer",
image: "/monefiera.png",
github: "monefiera",
twitter: "Forsaken_Love02"
twitter: "Forsaken_Love02",
},
{
name: "Yumagi",
role: "Developer",
image: "/yumagi.png",
github: "ymag-h",
twitter: "ymag_h"
twitter: "ymag_h",
},
{
name: "satokun2668",
role: "Designer",
image: "/satokun.jpg",
github: "numaaqours",
twitter: "numa_aqours"
twitter: "numa_aqours",
},
{
name: "Garry050",
Expand Down
55 changes: 42 additions & 13 deletions src/components/team-member.tsx
Original file line number Diff line number Diff line change
@@ -1,17 +1,26 @@
import Image from 'next/image'
import { LuGithub } from 'react-icons/lu'
import { FaXTwitter } from "react-icons/fa6"
import { Button } from '@/components/ui/button'
import Image from "next/image";
import { LuGithub } from "react-icons/lu";
import { FaXTwitter } from "react-icons/fa6";
import { FaTelegramPlane } from "react-icons/fa";
import { Button } from "@/components/ui/button";

interface TeamMemberProps {
name: string
role: string
image: string
github: string
twitter?: string
name: string;
role: string;
image: string;
github: string;
twitter?: string;
telegram?: string;
}

export function TeamMember({ name, role, image, github, twitter }: TeamMemberProps) {
export function TeamMember({
name,
role,
image,
github,
twitter,
telegram,
}: TeamMemberProps) {
return (
<div className="flex flex-col items-center text-center px-4 py-6 sm:px-6 lg:px-8 mx-auto w-full max-w-xs">
<Image
Expand All @@ -25,20 +34,40 @@ export function TeamMember({ name, role, image, github, twitter }: TeamMemberPro
<p className="text-muted-foreground mb-4">{role}</p>
<div className="flex space-x-2">
<Button variant="outline" size="icon" asChild>
<a href={`https://github.com/${github}`} target="_blank" rel="noopener noreferrer">
<a
href={`https://github.com/${github}`}
target="_blank"
rel="noopener noreferrer"
>
<LuGithub className="h-4 w-4" />
<span className="sr-only">GitHub profile</span>
</a>
</Button>
{twitter && (
<Button variant="outline" size="icon" asChild>
<a href={`https://x.com/${twitter}`} target="_blank" rel="noopener noreferrer">
<a
href={`https://x.com/${twitter}`}
target="_blank"
rel="noopener noreferrer"
>
<FaXTwitter className="h-4 w-4" />
<span className="sr-only">X profile</span>
</a>
</Button>
)}
{telegram && (
<Button variant="outline" size="icon" asChild>
<a
href={`https://t.me/${telegram}`}
target="_blank"
rel="noopener noreferrer"
>
<FaTelegramPlane className="h-4 w-4" />
<span className="sr-only">Telegram profile</span>
</a>
</Button>
)}
</div>
</div>
)
);
}

0 comments on commit de16faf

Please sign in to comment.