Skip to content

Commit

Permalink
[DROP] auspice-client: Customize components
Browse files Browse the repository at this point in the history
For testing purposes.
  • Loading branch information
victorlin committed Nov 21, 2023
1 parent b844c60 commit 3f9a951
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
2 changes: 1 addition & 1 deletion auspice-client/customisations/config.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,6 @@
},
"navbarComponent": "navbar.js",
"splashComponent": "splash.js",
"browserTitle": "Nextstrain",
"browserTitle": "Nextstrain @ Contoso",
"plausibleDataDomain": "nextstrain.org"
}
3 changes: 1 addition & 2 deletions auspice-client/customisations/navbar.js
Original file line number Diff line number Diff line change
Expand Up @@ -122,8 +122,7 @@ const NavBar = ({sidebar, narrativeTitle, width}) => {
null : (
<div style={{...styles.flexColumns, paddingRight: "12px"}}>
<div style={{flex: 5}}/>
<Link href="https://docs.nextstrain.org/en/latest/index.html" style={styles.link} text="DOCS"/>
<Link href="https://docs.nextstrain.org/en/latest/learn/about-nextstrain.html" style={styles.link} text="HELP"/>
<Link href="https://docs.contoso.com/nextstrain-groups" style={styles.link} text="HELP"/>
<WhoAmI sidebar={sidebar}/>
</div>
)
Expand Down
2 changes: 1 addition & 1 deletion auspice-client/customisations/splash.js
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ function ErrorMessage({errorMessage}) {
There seems to have been an error accessing that dataset.
<p style={{fontSize: "14px"}}>
{`Details: ${errorMessage}. Please `}
<a href={"mailto:[email protected]"} style={{color: "inherit", textDecoration: "underline"}}>
<a href={"mailto:[email protected]"} style={{color: "inherit", textDecoration: "underline"}}>
email us
</a>
{` if you think this is a bug.`}
Expand Down

0 comments on commit 3f9a951

Please sign in to comment.