Skip to content

Commit c0e3709

Browse files
Add attribute target=blank to card link
Prior, the link redirects to the location of the link on the same tab as the homepage of https://firstcontributions.github.io. This modification adds <a target='blank'> to the card link and now enables the link to open another tab for the location the link redirects to preseving the tab of https://firstcontributions.github.io
1 parent 1dbde43 commit c0e3709

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/components/ProjectList/ProjectsCards.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ const Card = ({
2020

2121
return (
2222
<div className="Card-Container">
23-
<a className="Card-Real-Link" href={projectLink}>
23+
<a className="Card-Real-Link" href={projectLink} target='blank'>
2424
<div className="Card-Header">
2525
<img
2626
className="Project-Logo"

0 commit comments

Comments
 (0)