Skip to content

Commit 02cf8a2

Browse files
committed
Bug: Fixed “Go to Project” button not working
1 parent 1c5b815 commit 02cf8a2

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

src/components/ProjectCard.astro

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -37,14 +37,16 @@ const { projectLink, logoLink, name, description, tags = [], loadIssues = false
3737
<div class="Card-Description">
3838
<p>{description}</p>
3939
</div>
40-
{loadIssues && (
41-
<IssueList projectLink={projectLink} projectName={name} />
42-
)}
43-
</div>
44-
<div class="Card-Link">
45-
<span>Go to Project</span>
4640
</div>
4741
</a>
42+
{loadIssues && (
43+
<IssueList projectLink={projectLink} projectName={name} />
44+
)}
45+
<div class="Card-Link">
46+
<a href={projectLink} target="_blank">
47+
<span>Go to Project</span>
48+
</a>
49+
</div>
4850
</div>
4951

5052
<style>

0 commit comments

Comments
 (0)