src/registry/blocks/radix/team-03/components/team.tsx
import { DribbbleIcon, TwitchIcon, TwitterIcon } from "lucide-react";
import Image from "next/image";
import Link from "next/link";
import { Button } from "@/registry/bases/radix/ui/button";
const teamMembers = [
{
name: "John Doe",
title: "Founder & CEO",
bio: "Former co-founder of Opendoor. Early staff at Spotify.",
imageUrl:
"https://images.pexels.com/photos/3785079/pexels-photo-3785079.jpeg?auto=compress&cs=tinysrgb&w=600",
},
{
name: "Jane Doe",
title: "Engineering Manager",
bio: "Lead engineering teams at Figma, Pitch, and Protocol Labs.",
imageUrl:
"https://images.pexels.com/photos/1520760/pexels-photo-1520760.jpeg?auto=compress&cs=tinysrgb&w=600",
},
{
name: "Bob Smith",
title: "Product Manager",
bio: "Former PM for Linear, Lambda School, and On Deck.",
imageUrl:
"https://images.pexels.com/photos/91227/pexels-photo-91227.jpeg?auto=compress&cs=tinysrgb&w=600",
},
{
name: "Peter Johnson",
title: "Frontend Developer",
bio: "Former frontend dev for Linear, Coinbase, and Postscript.",
imageUrl:
"https://images.pexels.com/photos/2379005/pexels-photo-2379005.jpeg?auto=compress&cs=tinysrgb&w=600",
},
{
name: "David Lee",
title: "Backend Developer",
bio: "Lead backend dev at Clearbit. Former Clearbit and Loom.",
imageUrl:
"https://images.pexels.com/photos/2182970/pexels-photo-2182970.jpeg?auto=compress&cs=tinysrgb&w=600",
},
{
name: "Sarah Williams",
title: "Product Designer",
bio: "Founding design team at Figma. Former Pleo, Stripe, and Tile.",
imageUrl:
"https://images.pexels.com/photos/733872/pexels-photo-733872.jpeg?auto=compress&cs=tinysrgb&w=600",
},
];
const Team = () => {
return (
<div className="mx-auto flex max-w-(--breakpoint-xl) flex-col justify-center gap-14 px-6 py-20 lg:flex-row lg:px-8">
<div className="sm:max-w-sm lg:max-w-xs">
<b className="font-medium text-muted-foreground text-sm uppercase">
Our team
</b>
<h2 className="mt-3 font-medium text-3xl tracking-tight md:text-4xl">
Leadership Team
</h2>
<p className="mt-4 text-base text-foreground/80 sm:text-lg">
We're a cross-disciplinary team that loves to create great
experiences for our customers.
</p>
<div className="mt-8 flex flex-col gap-3 sm:flex-row-reverse sm:justify-end">
<Button size="lg">Open Positions</Button>
<Button size="lg" variant="outline">
About Us
</Button>
</div>
</div>
<div className="grid w-full grid-cols-1 gap-x-10 gap-y-12 sm:grid-cols-2 md:grid-cols-3">
{teamMembers.map((member) => (
<div className="flex items-start gap-4 md:flex-col" key={member.name}>
<Image
alt={member.name}
className="h-16 w-16 shrink-0 rounded-full bg-secondary object-cover sm:h-20 sm:w-20"
height={120}
src={member.imageUrl}
width={120}
/>
<div>
<h3 className="font-medium text-lg">{member.name}</h3>
<p className="text-muted-foreground text-sm">{member.title}</p>
<p className="mt-2 text-foreground/90">{member.bio}</p>
<div className="mt-4 flex items-center gap-2.5">
<Button asChild size="icon" variant="secondary">
<Link href="#" target="_blank">
<TwitterIcon className="stroke-muted-foreground" />
</Link>
</Button>
<Button asChild size="icon" variant="secondary">
<Link href="#" target="_blank">
<DribbbleIcon className="stroke-muted-foreground" />
</Link>
</Button>
<Button asChild size="icon" variant="secondary">
<Link href="#" target="_blank">
<TwitchIcon className="stroke-muted-foreground" />
</Link>
</Button>
</div>
</div>
</div>
))}
</div>
</div>
);
};
export default Team;