Skip to content

Commit

Permalink
Project images as links
Browse files Browse the repository at this point in the history
  • Loading branch information
martimpassos committed Jun 19, 2024
1 parent 48c57ae commit b719374
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/components/ContentBoxProject.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,10 @@ export default function ContentBoxProject({ logo, img, name, url, description })
return (
<div className="w-full mb-6 sm:mb-0">
<div className="relative w-full mb-4">
<img src={logo} className="absolute w-4/6 sm:w-1/2 left-5 bottom-5 z-10"/>
<img src={img} className="w-full rounded-lg" />
<img src={logo} alt="Project logo" className="absolute w-4/6 sm:w-1/2 left-5 bottom-5 z-10"/>
<a href={url} target="_blank">
<img src={img} alt="Visit the project page" className="w-full rounded-lg"/>
</a>
</div>
<div>
<p className="text-xl">
Expand Down

0 comments on commit b719374

Please sign in to comment.