Skip to content

Commit

Permalink
wiki: about: Add website
Browse files Browse the repository at this point in the history
Change-Id: I5ddf671108a2da066b05dbd00996f05526530a66
  • Loading branch information
neroices committed Dec 28, 2024
1 parent de16faf commit 67c9910
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 1 deletion.
2 changes: 2 additions & 0 deletions src/components/about-page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,15 @@ const teamMembers = [
github: "soralis0912",
twitter: "soralis_0912",
telegram: "soralis_0912",
www: "soralis.org",
},
{
name: "neroices",
role: "Developer",
image: "/neroices.png",
github: "neroices",
twitter: "letsmakeices",
www: "slce.moe",
},
{
name: "MONE-FIERA",
Expand Down
16 changes: 15 additions & 1 deletion src/components/team-member.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import Image from "next/image";
import { LuGithub } from "react-icons/lu";
import { LuGithub, LuGlobe } from "react-icons/lu";
import { FaXTwitter } from "react-icons/fa6";
import { FaTelegramPlane } from "react-icons/fa";
import { Button } from "@/components/ui/button";
Expand All @@ -11,6 +11,7 @@ interface TeamMemberProps {
github: string;
twitter?: string;
telegram?: string;
www?: string;
}

export function TeamMember({
Expand All @@ -20,6 +21,7 @@ export function TeamMember({
github,
twitter,
telegram,
www,
}: 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">
Expand Down Expand Up @@ -67,6 +69,18 @@ export function TeamMember({
</a>
</Button>
)}
{www && (
<Button variant="outline" size="icon" asChild>
<a
href={`https://${www}`}
target="_blank"
rel="noopener noreferrer"
>
<LuGlobe className="h-4 w-4" />
<span className="sr-only">Website</span>
</a>
</Button>
)}
</div>
</div>
);
Expand Down

0 comments on commit 67c9910

Please sign in to comment.