Skip to content

Commit 4a8a0ca

Browse files
authored
Add link to the build when submitted or completed (#149)
1 parent 7f72829 commit 4a8a0ca

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

packages/nextjs/app/my-grants/page.tsx

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,16 @@ const MyGrants: NextPage = () => {
5555
<div className="flex items-center justify-between">
5656
<div className="flex items-center">
5757
<p className={`badge ${badgeBgColor[grant.status]}`}>{grant.status}</p>
58+
{grant.link && (
59+
<a
60+
href={grant.link}
61+
target="_blank"
62+
rel="noopener noreferrer"
63+
className="ml-2 text-blue-600 underline underline-offset-4 text-xs align-middle font-bold"
64+
>
65+
view build <ArrowTopRightOnSquareIcon className="h-4 w-4 inline" />
66+
</a>
67+
)}
5868
{grant.note &&
5969
grant.note.trim().length > 0 &&
6070
(grant.status === PROPOSAL_STATUS.REJECTED || grant.status === PROPOSAL_STATUS.APPROVED) && (

0 commit comments

Comments
 (0)