Skip to content

Commit

Permalink
Make welcome deal green and hide no fees line
Browse files Browse the repository at this point in the history
  • Loading branch information
IanPhilips committed Oct 24, 2024
1 parent 7cfe94c commit fbbea6d
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 6 deletions.
5 changes: 3 additions & 2 deletions web/components/add-funds-modal.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ export function AddFundsModal(props: {
<Modal
open={open}
setOpen={setOpen}
size="lg"
className="bg-canvas-0 text-ink-1000 rounded-md p-8"
>
<BuyManaTab onClose={() => setOpen(false)} />
Expand Down Expand Up @@ -140,15 +141,15 @@ export function PriceTile(props: {
? 'pointer-events-none cursor-not-allowed opacity-50'
: 'opacity-90 ring-2 ring-indigo-600 ring-opacity-0 hover:opacity-100 hover:ring-opacity-100',
isCurrentlyLoading && 'pointer-events-none animate-pulse cursor-wait',
newUsersOnly && 'border-4 border-purple-500 '
newUsersOnly && 'border-4 border-green-500 '
)}
type={useStripe ? 'submit' : 'button'}
onClick={useStripe ? undefined : onClick}
>
{originalPriceInDollars && originalPriceInDollars !== priceInDollars && (
<div
className="absolute right-0 top-0
whitespace-nowrap bg-purple-500 px-2
whitespace-nowrap bg-green-500 px-2
py-0.5 text-white transition-colors
"
>
Expand Down
4 changes: 2 additions & 2 deletions web/components/bet/bet-panel.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -872,14 +872,14 @@ export const BuyPanelBody = (props: {
/>
</div>
)} */}
<div className="text-ink-700 select-none text-sm">
{/* <div className="text-ink-700 select-none text-sm">
No fees
<InfoTooltip
text={`Now with no fees on ${TRADE_TERM}s, you keep more of your winnings!`}
className="text-ink-600 ml-1 mt-0.5"
size="sm"
/>
</div>
</div> */}

{user && (
<div className="absolute bottom-2 right-0">
Expand Down
4 changes: 2 additions & 2 deletions web/components/gidx/funds-selector.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -67,9 +67,9 @@ export function FundsSelector(props: {
</div>
{eligibleForNewUserOffer && (
<>
<Row className="items-baseline justify-between text-3xl text-purple-500">
<Row className="items-baseline justify-between text-3xl text-green-500">
Welcome Deal
<span className="text-lg text-purple-500">
<span className="text-lg text-green-500">
expires in{' '}
<Countdown
includeSeconds
Expand Down

0 comments on commit fbbea6d

Please sign in to comment.