Skip to content

Commit 4eb8bc9

Browse files
committed
make beta download buttons yellow
1 parent 91b18c8 commit 4eb8bc9

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

src/components/card/DownloadCard.jsx

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,11 @@ function DownloadCard(props) {
2525
handleDownloadButtonClick();
2626
}}
2727
href={downloadURL}
28-
className="flex justify-center text-center items-center px-4 h-12 w-full sm:w-fit bg-slate-200 hover:bg-slate-300 text-base text-black rounded"
29-
>
28+
className={
29+
title.includes('BETA')
30+
? "flex justify-center text-center items-center px-4 h-12 w-full sm:w-fit bg-yellow-500 hover:bg-yellow-300 text-base text-black rounded"
31+
: "flex justify-center text-center items-center px-4 h-12 w-full sm:w-fit bg-slate-200 hover:bg-slate-300 text-base text-black rounded"
32+
}>
3033
Download
3134
</a>
3235
</div>

0 commit comments

Comments
 (0)