import Image from "next/image";

interface ProfilbildProps {
  src: string;
  size?: number;
  alt?: string;
}

export default function Profilbild({ src, size = 100, alt = "Profilbild" }: ProfilbildProps) {
  return (
    <>
      <Image
        src={src}
        alt={alt}
        width={size}
        height={size}
        style={{
          borderRadius: "50%",
          objectFit: "cover",
        }}
      />
    </>
  );
}
