Skip to content

Commit

Permalink
link out to staking in announcement message (#3482)
Browse files Browse the repository at this point in the history
* Link out to staking in announcement message
  • Loading branch information
abtestingalpha authored Jan 6, 2025
1 parent a3a2dbb commit 9b896d0
Showing 1 changed file with 20 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ import {
LANDING_PATH,
TELEGRAM_URL,
TWITTER_URL,
STAKE_SYN_FOR_CX_URL,
} from '@/constants/urls'
import { NAVIGATION } from '@/constants/routes'
import { MoreButton } from './MoreButton'
Expand Down Expand Up @@ -51,6 +52,22 @@ const TODO_REMOVE_wrapperStyle = {
backgroundRepeat: 'no-repeat',
}

const StakingBannerContent = () => {
return (
<div>
Stake your SYN to receive CX (Cortex Protocol) tokens{' '}
<a
href={STAKE_SYN_FOR_CX_URL}
target="blank"
className="underline hover:cursor hover:text-white/65"
>
here
</a>
!
</div>
)
}

export function LandingPageWrapper({ children }: { children: any }) {
return (
<div className="dark">
Expand All @@ -60,9 +77,10 @@ export function LandingPageWrapper({ children }: { children: any }) {
>
<AnnouncementBanner
bannerId="2024-12-18-cortex-staking"
bannerContent="Stake your SYN to receive CX (Cortex Protocol) tokens!"
bannerContent={<StakingBannerContent />}
// bannerContent="Stake your SYN to receive CX (Cortex Protocol) tokens!"
startDate={new Date('2024-12-17T18:45:09+00:00')}
endDate={new Date('2025-01-25T18:45:09+00:00')}
endDate={new Date('2025-02-25T18:45:09+00:00')}
/>
<MaintenanceBanners />
<LandingNav />
Expand Down

0 comments on commit 9b896d0

Please sign in to comment.