<div className="row align-items-center justify-content-center">
<div className="col-md-3 mt-3">
<div className="card bg-light">
<div className="card-img-top">
<NextImage
src="/character1.png"
alt="Picture of the author"
layout="fill"
/>
</div>
<div className="card-body">
<h5 className="card-title">Emirhan Sirkeci</h5>
<p className="text-muted">Developer</p>
<div className="d-flex justify-content-center">
<a href="https://github.com/justChargin" target="_blank">
<Icon icon="akar-icons:github-fill" />
</a>
<a href="https://www.instagram.com/username/" target="_blank">
<Icon icon="akar-icons:instagram-fill" />
</a>
<a href="mailto:<a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="9efbf3f7ecf6fff0edf7ecf5fbfdf7a6def9f3fff7f2b0fdf1f3">[email protected]</a>" target="_blank">
<Icon icon="cib:gmail" />
</a>
</div>
</div>
</div>
</div>
I have implemented the NextImage component instead of a regular HTML element. However, I am encountering some responsive issues. Please refer to the screenshot below for more details.
https://i.sstatic.net/TWvY5.png
It seems like the Image component is overlapping the card-body section. How can I adjust the positioning of the Image component to align with the rest of the content? I have tried setting fixed width and height properties for the Image component, but it affects its responsiveness. I have also experimented with width and height properties that include a "100%" value.