Upate img tag to Next/Image

This commit is contained in:
stefan080106
2022-09-20 16:03:09 +02:00
parent 25d90a1b22
commit b897ccff2b

View File

@@ -1,17 +1,11 @@
<<<<<<< HEAD
=======
import Image from "next/image";
>>>>>>> f3ee49c9d2058fe0393ebe2c170d08faab6e1f34
import React from "react";
const TeamCard = (props) => {
return (
<div>
<<<<<<< HEAD
<img src={props.image} alt="ProfileImage" />
=======
<Image src={props.imgUrl} alt="ProfileImage" width={125} height={125} />
>>>>>>> f3ee49c9d2058fe0393ebe2c170d08faab6e1f34
<div>
<h2>{props.name}</h2>
<h3>{props.stellung}</h3>