Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 56e41ca

Browse files
committed
Change donate button color
1 parent ad60d23 commit 56e41ca

File tree

1 file changed

+16
-8
lines changed

1 file changed

+16
-8
lines changed

src/components/AppNavBar.tsx

Lines changed: 16 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -45,14 +45,6 @@ export default function AppNavBar() {
4545
}
4646
rightDesktopItems={
4747
<>
48-
<Button
49-
variant="solid"
50-
variantColor="brand"
51-
onClick={() => setIsDonateModalOpen(true)}
52-
>
53-
Donate
54-
</Button>
55-
5648
<DonateModal
5749
isOpen={isDonateModalOpen}
5850
setIsOpen={setIsDonateModalOpen}
@@ -64,6 +56,14 @@ export default function AppNavBar() {
6456
<>
6557
<Toggle />
6658

59+
<Button
60+
variant="solid"
61+
variantColor="success"
62+
onClick={() => setIsDonateModalOpen(true)}
63+
>
64+
Donate
65+
</Button>
66+
6767
<Menu
6868
trigger={
6969
<Avatar
@@ -97,6 +97,14 @@ export default function AppNavBar() {
9797
) : (
9898
<>
9999
<Toggle />
100+
101+
<Button
102+
variant="solid"
103+
variantColor="success"
104+
onClick={() => setIsDonateModalOpen(true)}
105+
>
106+
Donate
107+
</Button>
100108
<Button
101109
variant="solid"
102110
variantColor="brand"

0 commit comments

Comments
 (0)