We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 91b18c8 commit 4eb8bc9Copy full SHA for 4eb8bc9
src/components/card/DownloadCard.jsx
@@ -25,8 +25,11 @@ function DownloadCard(props) {
25
handleDownloadButtonClick();
26
}}
27
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
- >
+ className={
+ 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
+ }>
33
Download
34
</a>
35
</div>
0 commit comments