chore(governance): update announcement banner (#2894)
This commit is contained in:
parent
3edbc71787
commit
462a5bc84b
@ -60,9 +60,9 @@ function App() {
|
|||||||
<NetworkLoader cache={cacheConfig}>
|
<NetworkLoader cache={cacheConfig}>
|
||||||
<AnnouncementBanner>
|
<AnnouncementBanner>
|
||||||
<div className="font-alpha calt uppercase text-center text-lg text-white">
|
<div className="font-alpha calt uppercase text-center text-lg text-white">
|
||||||
<span className="pr-4">The Mainnet sims are live!</span>
|
<span className="pr-4">Mainnet sim 2 coming in March!</span>
|
||||||
<ExternalLink href="https://fairground.wtf/">
|
<ExternalLink href="https://fairground.wtf/">
|
||||||
Come help stress test the network
|
Learn more
|
||||||
</ExternalLink>
|
</ExternalLink>
|
||||||
</div>
|
</div>
|
||||||
</AnnouncementBanner>
|
</AnnouncementBanner>
|
||||||
|
@ -21,10 +21,8 @@ export function TemplateSidebar({ children, sidebar }: TemplateSidebarProps) {
|
|||||||
<>
|
<>
|
||||||
<AnnouncementBanner>
|
<AnnouncementBanner>
|
||||||
<div className="font-alpha calt uppercase text-center text-lg text-white">
|
<div className="font-alpha calt uppercase text-center text-lg text-white">
|
||||||
<span className="pr-4">The Mainnet sims are live!</span>
|
<span className="pr-4">Mainnet sim 2 coming in March!</span>
|
||||||
<ExternalLink href="https://fairground.wtf/">
|
<ExternalLink href="https://fairground.wtf/">Learn more</ExternalLink>
|
||||||
Come help stress test the network
|
|
||||||
</ExternalLink>
|
|
||||||
</div>
|
</div>
|
||||||
</AnnouncementBanner>
|
</AnnouncementBanner>
|
||||||
<Nav navbarTheme={VEGA_ENV === Networks.TESTNET ? 'yellow' : 'dark'} />
|
<Nav navbarTheme={VEGA_ENV === Networks.TESTNET ? 'yellow' : 'dark'} />
|
||||||
|
@ -4,6 +4,7 @@ import {
|
|||||||
Icon,
|
Icon,
|
||||||
} from '@vegaprotocol/ui-toolkit';
|
} from '@vegaprotocol/ui-toolkit';
|
||||||
import { useGlobalStore } from '../../stores';
|
import { useGlobalStore } from '../../stores';
|
||||||
|
import React from 'react';
|
||||||
|
|
||||||
export const Banner = () => {
|
export const Banner = () => {
|
||||||
const { update, shouldDisplayAnnouncementBanner } = useGlobalStore(
|
const { update, shouldDisplayAnnouncementBanner } = useGlobalStore(
|
||||||
@ -28,10 +29,8 @@ export const Banner = () => {
|
|||||||
<Icon name="cross" className="w-6 h-6" ariaLabel="dismiss" />
|
<Icon name="cross" className="w-6 h-6" ariaLabel="dismiss" />
|
||||||
</button>
|
</button>
|
||||||
<div>
|
<div>
|
||||||
<span className="pr-4">The Mainnet sims are live!</span>
|
<span className="pr-4">Mainnet sim 2 coming in March!</span>
|
||||||
<ExternalLink href="https://fairground.wtf/">
|
<ExternalLink href="https://fairground.wtf/">Learn more</ExternalLink>
|
||||||
Come help stress test the network
|
|
||||||
</ExternalLink>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</AnnouncementBanner>
|
</AnnouncementBanner>
|
||||||
|
Loading…
Reference in New Issue
Block a user