Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 3 additions & 9 deletions components/teams/TeamCard.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
import Image from 'next/image';
import { FaEnvelope, FaGithub, FaLinkedin } from 'react-icons/fa';
import Style from './Team.module.css';

Expand All @@ -8,16 +7,11 @@ function TeamCard({ name, title, company, socials, imageSrc, lazyImageSrc }) {
return (
<div className={Style.card}>
<div className="z-10 w-full text-center h-2/3 mb-18 mt-4 overflow-hidden rounded-lg">
<Image
className="z-10 rounded-lg object-cover object-top"
height="100%"
width="100%"
layout="responsive"
<img
className="z-10 rounded-lg object-cover object-top w-full h-full"
src={imageSrc}
alt={name}
quality={100}
placeholder="blur"
blurDataURL={lazyImageSrc}
loading="lazy"
/>
</div>
<div className="z-10 text-center my-5">
Expand Down