Skip to content

Commit

Permalink
fix: profiles now open in a new tab (dscvitc#77)
Browse files Browse the repository at this point in the history
* fix: profiles now open in a new tab

* fix: open link in new tab
  • Loading branch information
jessej-samuel committed Oct 24, 2022
1 parent cb73929 commit 8ca4e54
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/contributors/List.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,12 +22,12 @@ const CardItem = ({ item }) => {
/>
</div>
<Link className="text-xl font-bold" href={item.html_url}>
<a>{item.login ? item.login : "Placeholder"}</a>
<a target="_blank">{item.login ? item.login : "Placeholder"}</a>
</Link>
<p>Contributions {item.contributions ? item.contributions : "0"}</p>
<div className="flex w-2/5 justify-evenly items-center">
<Link href={item.html_url ? item.html_url : "#"}>
<a>
<a target="_blank">
<FaGithub className="cursor-pointer" size={24} />
</a>
</Link>
Expand Down

0 comments on commit 8ca4e54

Please sign in to comment.