"use client";
import { motion } from "motion/react";
import TeamMemberCard, { type TeamMember } from "@/registry/blocks/team-section/one/team-card-one";
const teamMembers: TeamMember[] = [
{
id: 1,
name: "James",
role: "Founder",
image:
"https://assets.solaceui.com/solaceui-member-four.png",
cardType: "white", // white, yellow, pink and white-alt
social: "https://twitter.com/harshitlog",
},
{
id: 2,
name: "Charlotte ",
role: "Design Engineer",
image:
"https://assets.solaceui.com/solaceui-member-five.png",
cardType: "white",
social: "https://twitter.com/harshitlog",
},
{
id: 3,
name: "Alexander",
role: "Social Media Manager",
image:
"https://assets.solaceui.com/solaceui-member-one.png",
cardType: "white",
social: "https://twitter.com/harshitlog",
},
{
id: 4,
name: "Olivia",
role: "Product Manager",
image:
"https://assets.solaceui.com/solaceui-member-three.png",
cardType: "white",
social: "https://twitter.com/harshitlog",
},
];
export default function Team1() {
return (
<section className="py-16 flex flex-col items-center justify-center px-9">
<motion.div
initial={{ opacity: 0, y: 20 }}
animate={{ opacity: 1, y: 0 }}
transition={{ duration: 0.6 }}
className="container mx-auto px-4"
>
<h2 className="text-4xl font-bold dark:text-white text-black text-center mb-12">
Meet Our Team
</h2>
<div className="grid grid-cols-1 md:grid-cols-2 lg:grid-cols-4 gap-12 justify-items-center">
{teamMembers.map((member) => (
<TeamMemberCard key={member.id} member={member} />
))}
</div>
</motion.div>
</section>
);
}