forked from chanzuckerberg/galago
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add debranding to main build (chanzuckerberg#216)
* Pack layout (#30) * Experiment with a proper pack layout instead of the scatterplot * Replace clade selector with static caption * Replace slider with "go up" buttons * Formatting tweaks - footer * ts ignore * Set min size for epi curve * Swap in the pack layout for the scatterplot * Remove unrooted tree view for now * More footer tweaks * Remove incongruous location colorby in epi curve * footer * Color and shape per samples of interest and distance from mrca * cleanup * Add a legend * Update banner * Update main page footer * Logo links to landing page * remove feedback soliciation * update little footer * update tooltip * alignment * Update issue templates * Update banner * Update main page footer * Logo links to landing page * remove feedback soliciation * update little footer * update tooltip * alignment
- Loading branch information
1 parent
0592d34
commit 6eaeab2
Showing
7 changed files
with
121 additions
and
128 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,151 +4,133 @@ import { ROUTES } from "src/routes"; | |
|
||
const BigFoot = () => { | ||
return ( | ||
<div | ||
<div // entire footer | ||
style={{ | ||
position: "relative", | ||
bottom: 0, | ||
left: 0, | ||
backgroundColor: "#333", | ||
color: "#FFF", | ||
height: 50, | ||
// height: 50, | ||
display: "flex", | ||
flexDirection: "row", | ||
flexDirection: "column", | ||
justifyContent: "space-between", | ||
padding: 20, | ||
padding: "5px 15px 20px 20px", | ||
margin: 0, | ||
borderRadius: 5, | ||
borderTopLeftRadius: "5px", | ||
borderTopRightRadius: "5px", | ||
}} | ||
> | ||
<div // content on the left | ||
<div // top row | ||
style={{ | ||
display: "flex", | ||
flexDirection: "column", | ||
justifyContent: "space-around", | ||
flexDirection: "row", | ||
justifyContent: "space-between", | ||
alignItems: "baseline", | ||
}} | ||
> | ||
<div // first row on left | ||
<div // top left | ||
style={{ | ||
display: "flex", | ||
flexDirection: "row", | ||
flexDirection: "column", | ||
justifyContent: "space-between", | ||
alignItems: "baseline", | ||
}} | ||
> | ||
<img | ||
src="https://github.com/chanzuckerberg/galago/raw/main/src/images/czge-logo.svg" | ||
style={{ width: 20, marginRight: 10 }} | ||
/> | ||
<Divider | ||
orientation="vertical" | ||
variant="middle" | ||
flexItem | ||
sx={{ | ||
bgcolor: "secondary.light", | ||
height: 20, | ||
position: "relative", | ||
top: 15, | ||
<span | ||
style={{ | ||
color: "white", | ||
fontFamily: "Noto Sans", | ||
fontWeight: "bold", | ||
fontSize: 20, | ||
paddingRight: 3, | ||
}} | ||
/> | ||
|
||
<h2 style={{ color: "white", marginLeft: 10 }}>Galago</h2> | ||
> | ||
Galago | ||
</span> | ||
</div> | ||
<div // second row on left | ||
style={{ | ||
color: "white", | ||
fontSize: 12, | ||
width: 400, | ||
position: "relative", | ||
top: -10, | ||
}} | ||
> | ||
a little tree explorer made with ♥ by the CZ GEN EPI team | ||
</div> | ||
</div> | ||
<div // content on the right | ||
style={{ | ||
display: "flex", | ||
flexDirection: "column", | ||
justifyContent: "space-around", | ||
color: "white", | ||
}} | ||
> | ||
<div // first row on the right | ||
<div // top right | ||
style={{ | ||
display: "flex", | ||
flexDirection: "row", | ||
justifyContent: "space-evenly", | ||
width: 700, | ||
maxWidth: 700, | ||
position: "relative", | ||
top: 12, | ||
justifyContent: "right", | ||
width: 300, | ||
height: 35, | ||
alignItems: "flex-end", | ||
}} | ||
> | ||
<Link | ||
target="_blank" | ||
rel="noreferrer noopener" | ||
style={{ color: "white", textDecoration: "none" }} | ||
style={{ | ||
color: "white", | ||
textDecoration: "none", | ||
padding: "0px 12px", | ||
}} | ||
to={ROUTES.FAQ} | ||
> | ||
FAQs | ||
</Link> | ||
<Link | ||
target="_blank" | ||
rel="noreferrer noopener" | ||
style={{ color: "white", textDecoration: "none" }} | ||
style={{ | ||
color: "white", | ||
textDecoration: "none", | ||
padding: "0px 12px", | ||
}} | ||
to={ROUTES.METHODS} | ||
> | ||
Methods | ||
</Link> | ||
<a | ||
target="_blank" | ||
rel="noreferrer noopener" | ||
href="https://help.czgenepi.org/hc/en-us/categories/6217716150804-Genomic-Epidemiology-Learning-Center" | ||
style={{ color: "white", textDecoration: "none" }} | ||
> | ||
Learning Center | ||
</a> | ||
<a | ||
target="_blank" | ||
rel="noreferrer noopener" | ||
href="https://github.com/chanzuckerberg/galago/discussions" | ||
style={{ color: "white", textDecoration: "none" }} | ||
> | ||
Discussion Board | ||
</a> | ||
<a | ||
target="_blank" | ||
rel="noreferrer noopener" | ||
href="mailto:[email protected]" | ||
style={{ color: "white", textDecoration: "none" }} | ||
href="mailto:[email protected]" | ||
style={{ | ||
color: "white", | ||
textDecoration: "none", | ||
padding: "0px 12px", | ||
}} | ||
> | ||
Contact Us | ||
Contact | ||
</a> | ||
<a | ||
target="_blank" | ||
rel="noreferrer noopener" | ||
href="https://github.com/chanzuckerberg/galago" | ||
style={{ color: "white", textDecoration: "none" }} | ||
style={{ color: "white", textDecoration: "none", paddingLeft: 12 }} | ||
> | ||
Github | ||
</a> | ||
<a | ||
target="_blank" | ||
rel="noreferrer noopener" | ||
href="https://czgenepi.org/" | ||
</div> | ||
</div> | ||
<div //bottom left | ||
style={{ | ||
display: "flex", | ||
flexDirection: "row", | ||
justifyContent: "space-between", | ||
alignItems: "baseline", | ||
}} | ||
> | ||
<div> | ||
<span | ||
style={{ | ||
color: "white", | ||
fontSize: 12, | ||
width: 400, | ||
}} | ||
> | ||
<img | ||
src="https://github.com/chanzuckerberg/czgenepi/raw/trunk/src/frontend/src/common/images/logo_complete_white.svg" | ||
style={{ width: 100 }} | ||
/> | ||
</a> | ||
a little tree explorer made with ♥ by Sidney Bell & Colin | ||
Megill | ||
</span> | ||
</div> | ||
<div | ||
<div // bottom right | ||
style={{ | ||
fontSize: 12, | ||
display: "flex", | ||
flexDirection: "row", | ||
justifyContent: "right", | ||
paddingRight: 16, | ||
paddingTop: 20, | ||
}} | ||
> | ||
License: MIT (code) & CC0 (content) | ||
|
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,14 +1,16 @@ | ||
import { Collapse, Alert, AlertTitle } from "@mui/material"; | ||
import { useState } from "react"; | ||
import { Theme } from "../../theme"; | ||
import { Link } from "react-router-dom"; | ||
import { ROUTES } from "../../routes"; | ||
|
||
export const BetaBanner = () => { | ||
const [showAlert, setShowAlert] = useState<boolean>(true); | ||
|
||
return ( | ||
<Collapse in={showAlert}> | ||
<Alert | ||
severity="info" | ||
severity="warning" | ||
style={{ | ||
width: 450, | ||
height: 75, | ||
|
@@ -23,18 +25,19 @@ export const BetaBanner = () => { | |
sx={{ backgroundColor: Theme.palette.secondary.lighter }} | ||
> | ||
<AlertTitle> | ||
<strong>Galago is in beta - please share your feedback! </strong> | ||
<strong>Galago is no longer regularly updated.</strong> | ||
</AlertTitle> | ||
<span style={{}}> | ||
We'd love to hear from you via{" "} | ||
<a href="https://github.com/chanzuckerberg/galago/discussions"> | ||
<b>discussion board</b> | ||
</a>{" "} | ||
or{" "} | ||
<a href="mailto:[email protected]"> | ||
<b>email</b> | ||
</a> | ||
. | ||
For usage instructions, see the{" "} | ||
<Link target="_blank" rel="noreferrer noopener" to={ROUTES.FAQ}> | ||
FAQs | ||
</Link>{" "} | ||
and{" "} | ||
<Link target="_blank" rel="noreferrer noopener" to={ROUTES.FAQ}> | ||
Methods | ||
</Link>{" "} | ||
pages. For questions, contact{" "} | ||
<Link to="mailto:[email protected]">Sidney Bell</Link>. | ||
</span> | ||
</Alert> | ||
</Collapse> | ||
|
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
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
Oops, something went wrong.