import React from 'react';
import '../styles/AboutUs.css';

const TeamCard = ({ image, name, position }) => {
  return (
    <div className="team-card">
      <img src={image} alt={name} className="team-photo" />
      <h4>{name}</h4>
      <p>{position}</p>
    </div>
  );
};

export default TeamCard;
