Skip to content

Commit

Permalink
Add v4 launch banner
Browse files Browse the repository at this point in the history
  • Loading branch information
rileyhgrant committed Oct 31, 2023
1 parent b8585a6 commit a17bf8f
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions browser/src/App.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@ import { hot } from 'react-hot-loader/root'
import { BrowserRouter as Router, Route, useLocation } from 'react-router-dom'
import styled from 'styled-components'

import { ExternalLink } from '@gnomad/ui'

import Delayed from './Delayed'
import ErrorBoundary from './ErrorBoundary'

Expand Down Expand Up @@ -65,11 +67,20 @@ const Banner = styled.div`
text-align: center;
a {
color: #fff !important;
color: #8ac8f4 !important;
text-decoration: underline;
}
`

const BANNER_CONTENT = null
const BANNER_CONTENT = (
<>
gnomAD v4 is here! Read our {/* @ts-expect-error */}
<ExternalLink href="https://gnomad.broadinstitute.org/news/2023-11-gnomad-v4-0">
blog post
</ExternalLink>{' '}
for more details
</>
)

const App = () => {
const [isLoading, setIsLoading] = useState(true)
Expand Down

0 comments on commit a17bf8f

Please sign in to comment.