Skip to content

Commit e56d37d

Browse files
Swapped button ordering.
On cards that have both "Learn More" and "Download" buttons, the primary "Download" button now appears first.
1 parent b1ac3b4 commit e56d37d

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/components/Projects/Card.tsx

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -42,11 +42,6 @@ const Card = ({
4242
{description}
4343
</p>
4444
<span className="flex flex-wrap gap-2 py-4 mt-auto">
45-
{href !== undefined && (
46-
<Link href={href}>
47-
<Button theme="secondary">Learn More</Button>
48-
</Link>
49-
)}
5045
{downloadURL
5146
&& (
5247
<>
@@ -55,6 +50,11 @@ const Card = ({
5550
</Link>
5651
</>
5752
)}
53+
{href !== undefined && (
54+
<Link href={href}>
55+
<Button theme="secondary">Learn More</Button>
56+
</Link>
57+
)}
5858
</span>
5959
</Container>
6060
</div>

0 commit comments

Comments
 (0)