Adding polygon hardfork warning banner (#1861)

This commit is contained in:
Jamie Hewitt 2023-01-17 09:43:47 +03:00 committed by GitHub
parent 8c379608a0
commit c62abb66bc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -14,7 +14,7 @@
"link": "/profile"
}
],
"announcement": "[Lock your OCEAN](https://df.oceandao.org/) to get veOCEAN, earn rewards and curate data.",
"announcement": "Polygon hardfork is happening 17 Jan 2023. There may be disruptions in the publishing and consuming of assets.",
"warning": {
"ctd": "Please note that Compute-to-Data is still in alpha phase."
}

View File

@ -23,7 +23,7 @@ export default function App({
return (
<div className={styles.app}>
{siteContent?.announcement !== '' && (
<AnnouncementBanner text={siteContent?.announcement} />
<AnnouncementBanner text={siteContent?.announcement} state="warning" />
)}
<Header />