diff --git a/src/components/stakingCalculator.tsx b/src/components/stakingCalculator.tsx index 6bab09c..1d5a53b 100644 --- a/src/components/stakingCalculator.tsx +++ b/src/components/stakingCalculator.tsx @@ -62,7 +62,7 @@ const StakingCalculator: React.FC = () => { } setZilToStake(valueTemp.replace(/0*(\d+)/, '$1')); - if (zilToStake === '') setZilToStake('1'); + if (zilToStake === '') setZilToStake('0'); }; const zilToStakeNumber = parseFloat(zilToStake); @@ -84,7 +84,7 @@ const StakingCalculator: React.FC = () => { stakingPoolForView && ( <>
-
+
{ prefix="ZIL" status={!zilToStakeOk ? 'error' : undefined} /> - + {stakingPoolForView!.stakingPool.data ? ( <> - + ~ { !isNaN(zilToStakeNumber) && !isNaN(stakingPoolForView.stakingPool.data @@ -115,7 +115,7 @@ const StakingCalculator: React.FC = () => { .tokenSymbol }{' '} - + ~ {formatPercentage( stakingPoolForView!.stakingPool.data.apr @@ -125,7 +125,7 @@ const StakingCalculator: React.FC = () => { ) : (
)} - APR + APR
diff --git a/src/components/unstakingCalculator.tsx b/src/components/unstakingCalculator.tsx index e12d8cd..43f2095 100644 --- a/src/components/unstakingCalculator.tsx +++ b/src/components/unstakingCalculator.tsx @@ -82,7 +82,7 @@ const UnstakingCalculator: React.FC = () => { stakingPoolForView && (
-
+
= ({ {!!availableUnstake?.length ? ( availableUnstake.map((item, claimIdx) => ( -
@@ -93,7 +93,7 @@ const WithdrawZilPanel: React.FC = ({
)) ) : !!pendingUnstake?.length ? ( -
+
Next available reward
diff --git a/src/styles/globals.css b/src/styles/globals.css index 8369684..996cce1 100644 --- a/src/styles/globals.css +++ b/src/styles/globals.css @@ -101,7 +101,7 @@ body { } .btn-secondary-colored { - @apply !gap-0 !bg-transparent !whitespace-normal py-3 px-8 w-full rounded font-int-extrabold text-12 leading-6 tracking-widest !h-auto uppercase border-solid border-2 cursor-pointer duration-500 ease-in-out; + @apply !gap-0 !bg-transparent !whitespace-normal py-1.5 px-4 w-full rounded font-int-extrabold text-12 leading-6 tracking-widest !h-auto uppercase border-solid border-2 cursor-pointer duration-500 ease-in-out; &:hover { @apply !opacity-80; diff --git a/tailwind.config.ts b/tailwind.config.ts index 56631c8..c4cc5d3 100644 --- a/tailwind.config.ts +++ b/tailwind.config.ts @@ -13,9 +13,8 @@ const config: Config = { "gradient-conic": "conic-gradient(from 180deg at 50% 50%, var(--tw-gradient-stops))", 'primary-gradient' : 'radial-gradient(120.62% 683.52% at 110.84% 156.15%, #C5FFFD 6.84%, rgba(111, 255, 194, 0.760784) 48.36%, #00DABA 100%)', - 'gradientbg': 'linear-gradient(129.93deg, rgba(175, 175, 175, 0.12) 16.6%, rgba(17, 243, 179, 0.12) 90.65%)', - 'darkbg': 'linear-gradient(314.92deg, rgba(17, 39, 49, 0.4) 28.08%, rgba(9, 9, 9, 0.4) 97.04%)', - + 'gradientbg': 'linear-gradient(129.93deg, rgba(175, 175, 175, 0.12) 16.6%, rgba(17, 243, 179, 0.12) 90.65%)', + 'darkbg': 'linear-gradient(314.92deg, rgba(17, 39, 49, 0.4) 28.08%, rgba(9, 9, 9, 0.4) 97.04%)', }, colors: { black1: '#010101',