Skip to content

Commit

Permalink
New PT V5 Beta Announcement
Browse files Browse the repository at this point in the history
  • Loading branch information
Ncookiez committed Aug 31, 2023
1 parent e03d1d5 commit 9e32637
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 3 deletions.
22 changes: 22 additions & 0 deletions src/components/AnnouncementBanner.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,3 +26,25 @@ export const AnnouncementBanner = (props: { href: string; i18nKey?: string }) =>
</a>
)
}

export const V5BetaAnnouncementBanner = () => {
return (
<a
href='https://pooltogether.mirror.xyz/IeSRsl6cRCF64LqBruoHINJb1EipiBcRm-JU2U9-WuI'
rel='noopener noreferrer'
target='_blank'
className={classNames(
'px-2 xs:px-8 bg-actually-black bg-opacity-5 hover:bg-opacity-20 dark:bg-actually-black dark:bg-opacity-50 dark:hover:bg-opacity-100 transition w-full max-w-screen-xs mx-auto xs:rounded-lg py-2 text-pt-purple-darkest dark:text-white flex flex-row items-center justify-center text-center text-xxxs sm:text-xs hover:shadow-md'
)}
>
<span>
📣 The private beta for PoolTogether V5 is live!
<FeatherIcon
icon='arrow-up-right'
className='ml-1 mb-0.5 w-2 h-2 xs:w-3 xs:h-3 inline-block'
/>{' '}
📣
</span>
</a>
)
}
7 changes: 4 additions & 3 deletions src/views/Deposit/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import { useTranslation } from 'next-i18next'
import React from 'react'
import { DepositTrigger } from './DepositTrigger'
import { PrizePoolNetworkCarousel } from './PrizePoolNetworkCarousel'
import { AnnouncementBanner } from '../../components/AnnouncementBanner'
import { AnnouncementBanner, V5BetaAnnouncementBanner } from '../../components/AnnouncementBanner'

export const DepositUI = () => {
return (
Expand All @@ -17,10 +17,11 @@ export const DepositUI = () => {
style={{ minHeight: '620px' }}
>
<div className='flex flex-col space-y-2'>
<AnnouncementBanner
{/* <AnnouncementBanner
href={'https://pooltogether.mirror.xyz/-ZAV-RfzeNW5F1fnGGjMF3LL7G8NNgMhYwhWMS3Y4rI'}
i18nKey={'pooltogetherEnsSubdomain'}
/>
/> */}
<V5BetaAnnouncementBanner />
<ActiveProposalsBanner />
</div>
<PrizePoolNetworkCarousel />
Expand Down

0 comments on commit 9e32637

Please sign in to comment.