Skip to content

Commit

Permalink
Merge pull request #73 from ebi-uniprot/dev
Browse files Browse the repository at this point in the history
update notification message
  • Loading branch information
prabh-t authored Mar 11, 2024
2 parents 69c8fe3 + 3183a9d commit d166bd5
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/ui/layout/DefaultPageLayout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,13 @@ import EMBLEBILogo from '../../images/embl-ebi-logo.svg'
import openTargetsLogo from '../../images/open-targets-logo.png'
import SignUp from "./SignUp";
import { MappingRecord } from '../../utills/Convertor'
import {WARN_ICON} from "../components/search/MsgRow";
interface DefaultPageLayoutProps {
content: JSX.Element,
searchResults?: MappingRecord[][][]
}

const bannerText = null
const bannerText = "We're updating ProtVar with new datasets and features. Please bear with us as there may be some temporary disruptions while we're at it."

function DefaultPageLayout(props: DefaultPageLayoutProps) {
const [showBanner, setShowBanner ] = useState(bannerText == null ? false : true);
Expand Down Expand Up @@ -186,7 +187,8 @@ function DefaultPageLayout(props: DefaultPageLayoutProps) {
</button>

<div className="banner-content">
{bannerText}
{ WARN_ICON }
{ bannerText }
</div>
</div>
)}
Expand Down

0 comments on commit d166bd5

Please sign in to comment.