poolmodal stuff

This commit is contained in:
steven 2021-07-22 23:39:47 -07:00
parent feff338f38
commit 5afb4afbab
3 changed files with 8 additions and 8 deletions

View File

@ -12,12 +12,12 @@ const PoolCountdown = (props: { className?: string; date: moment.Moment }) => {
? 'Deposits are closed'
: 'The IDO has ended'
if (completed) {
return <p className="text-mango-red">{message}</p>
return <p className="text-mango-red text-xl">{message}</p>
} else {
return (
<div className={`${props.className} font-bold text-white flex `}>
<ClockIcon className="w-10 h-10 mr-2" />
<span className="text-3xl">
<ClockIcon className="w-6 h-6 mr-3" />
<span className="text-xl">
{/* <span className="bg-bkg-1 border border-bkg-4 mx-0.5 px-1.5 py-1 rounded"> */}
{hours < 10 ? `0${hours}` : hours}
{/* </span> */}:

View File

@ -5,10 +5,10 @@ import PoolCountdown from './PoolCountdown'
const Card = (props: any) => {
return (
<div
className="flex-1 m-2 p-5 border border-bkg-3 rounded-xl h-auto w-auto z-10 shadow-md text-center justify-items-center items-center"
className="flex-1 m-2 p-5 border border-bkg-3 rounded-xl h-auto w-auto z-10 shadow-md"
style={{ backgroundColor: 'rgba(44, 41, 66, 1)' }}
>
<p className="pb-2 text-white text-opacity-50 text-xl">{props.title}</p>
<p className="pb-2 text-white text-opacity-50 text-md">{props.title}</p>
{props.children}
</div>
)
@ -23,7 +23,7 @@ const PoolInfoCards = () => {
})
return (
<div className="max-w-3xl flex flex-col mx-auto px-6 mb-16 z-10">
<div className="max-w-xl flex flex-col mx-auto px-6 mb-16 z-10">
<div className="flex flex-col lg:flex-row">
<Card title="Deposits closing in">
<PoolCountdown date={endDeposits} />

View File

@ -35,9 +35,9 @@ export const ENDPOINTS: EndpointInfo[] = [
url: 'https://cache.devnet.rpcpool.com',
websocket: 'https://cache.devnet.rpcpool.com',
programId: '2oBtRS2AAQfsMxXQfg41fKFY9zjvHwSSD7G5idrCFziV',
poolKey: '82ndgp58GXpwuLrEc9svHFdhiEsPaZoNUEWwgc79WHqk', // already over
// poolKey: '82ndgp58GXpwuLrEc9svHFdhiEsPaZoNUEWwgc79WHqk', // already over
// poolKey: '5heMyYtJK1Us9Hx2w6s5rLDNj8RufeyCR1ZUJAVFLQL7', // long deposits
// poolKey: '7Dr2Ksnz5evoT9mEUgvvkmirH8KDC99b5oVPHbqSpx4K', // short deposit
poolKey: '7Dr2Ksnz5evoT9mEUgvvkmirH8KDC99b5oVPHbqSpx4K', // short deposit
// poolKey: 'CdKyD4Qazo72Bm6SsPBWrT1AnH1NEuoUzvQg7b67EBac', // not started yet
},
{