-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Restrict spikenuc processing to sars2 * Bump version to v2.7.4-flu-rc1 * Add missing description, fix Darwin/6 description * Add A-Viet-Nam-1203-2004 H5 reference * Add missing H5 HA alignment * Update default H5 reference * Bump to v2.7.4-flu-rc2 * Multithreaded and much more efficient flu ingest * Change loading logo depending on site * Add more metadata columns * Add About page for Flu site (close #600) * Bump version to v2.7.4-flu-rc3 * Fix extra metadata col * Remove duplicate metadata cols * Bump version to v2.7.4-flu-rc4 * Finalize flu update, bump to v2.7.4
- Loading branch information
Showing
23 changed files
with
886 additions
and
193 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"name": "covidcg", | ||
"version": "2.7.3", | ||
"version": "2.7.4", | ||
"description": "", | ||
"engines": { | ||
"node": ">=8", | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,6 +3,7 @@ import { observer } from 'mobx-react'; | |
import { Transition } from 'react-transition-group'; | ||
import { asyncDataStoreInstance } from './App'; | ||
|
||
import { config } from '../config'; | ||
import { ASYNC_STATES } from '../constants/defs.json'; | ||
|
||
import ExternalLink from './Common/ExternalLink'; | ||
|
@@ -15,6 +16,8 @@ import { | |
} from './LoadingScreen.styles'; | ||
|
||
import CGLogo from '../assets/images/[email protected]'; | ||
import FluLogo from '../assets/images/[email protected]'; | ||
import RSVLogo from '../assets/images/[email protected]'; | ||
|
||
const duration = 1000; | ||
|
||
|
@@ -44,6 +47,12 @@ const loadingTransitionStyles = { | |
exited: { opacity: 0 }, | ||
}; | ||
|
||
const siteLogos = { | ||
sars2: CGLogo, | ||
flu: FluLogo, | ||
rsv: RSVLogo, | ||
}; | ||
|
||
const LoadingScreen = observer(() => { | ||
const [progressText, setProgressText] = useState(''); | ||
|
||
|
@@ -94,7 +103,7 @@ const LoadingScreen = observer(() => { | |
...transitionStyles[state], | ||
}} | ||
> | ||
<img src={CGLogo}></img> | ||
<img src={siteLogos[config['virus']]}></img> | ||
</LogoContainer> | ||
)} | ||
</Transition> | ||
|
Oops, something went wrong.