Skip to content

Commit

Permalink
Merge pull request #96 from GeneralMagicio/ui-fixes
Browse files Browse the repository at this point in the history
your budget centering and some fixes
  • Loading branch information
mmahdigh authored Oct 31, 2024
2 parents e3efd11 + b3f8dc1 commit 376103b
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 17 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ const PendingCategory = ({
onClick={onScore}
className={`whitespace-nowrap rounded-md py-3 text-sm font-medium ${
isAutoConnecting || (isBadgeholder && bhCategory !== categorySlug)
? 'border bg-gray-300 text-gray-600'
? 'border bg-gray-300 text-gray-500'
: 'bg-primary text-white'
} ${
isBadgeholder && bhCategory === categorySlug ? 'w-full' : 'w-[48%]'
Expand Down
34 changes: 18 additions & 16 deletions app/allocation/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -466,7 +466,7 @@ const AllocationPage = () => {
</p>
</div>
)}
<div className="flex justify-between gap-4">
<div className={`flex ${allocatingBudget ? 'justify-center' : 'justify-between'} gap-4`}>
<div className="flex w-[72%] flex-col gap-6 rounded-xl border p-6">
<div>
<h3 className="mb-4 w-full border-b pb-6 text-2xl font-bold">
Expand Down Expand Up @@ -619,21 +619,23 @@ const AllocationPage = () => {
</button>
)}
</div>
<div className="w-[25%]">
<ConnectBox
onConnectFarcaster={() => {
setIsOpenFarcasterModal(true);
}}
onConnectTwitter={() => {}}
onConnectWorldID={(isError?: boolean) => {
if (isError) {
setIsWorldIdSignErrorModal(true);
return;
}
setIsWorldIdSignSuccessModal(true);
}}
/>
</div>
{!allocatingBudget && (
<div className="w-[25%]">
<ConnectBox
onConnectFarcaster={() => {
setIsOpenFarcasterModal(true);
}}
onConnectTwitter={() => {}}
onConnectWorldID={(isError?: boolean) => {
if (isError) {
setIsWorldIdSignErrorModal(true);
return;
}
setIsWorldIdSignSuccessModal(true);
}}
/>
</div>
)}
</div>
</div>
</div>
Expand Down

0 comments on commit 376103b

Please sign in to comment.