diff --git a/auspice-client/customisations/navbar.js b/auspice-client/customisations/navbar.js index ff687b21d..c31ba6fea 100644 --- a/auspice-client/customisations/navbar.js +++ b/auspice-client/customisations/navbar.js @@ -124,6 +124,7 @@ const NavBar = ({sidebar, narrativeTitle, width}) => {
+
) diff --git a/auspice-client/customisations/splash.js b/auspice-client/customisations/splash.js index 1fc85763c..2b9ffdb41 100644 --- a/auspice-client/customisations/splash.js +++ b/auspice-client/customisations/splash.js @@ -105,8 +105,8 @@ function ErrorMessage({errorMessage}) { There seems to have been an error accessing that dataset.

{`Details: ${errorMessage}. Please `} - - email us + + contact us {` if you think this is a bug.`}

diff --git a/static-site/data/SiteConfig.jsx b/static-site/data/SiteConfig.jsx index e9129be33..54b930dcd 100644 --- a/static-site/data/SiteConfig.jsx +++ b/static-site/data/SiteConfig.jsx @@ -20,12 +20,12 @@ export const groupsApp = false; export const groupsTitle = "Scalable Sharing with Nextstrain Groups"; export const ErrorBannerInitialMessage = () => (<> - Please contact us at hello@nextstrain.org if you believe this to be an error. + Please contact us if you believe this to be an error. ); export const DataFetchError = () => (<> Something went wrong getting data. - Please contact us at hello@nextstrain.org if this continues to happen. + Please contact us if this continues to happen. ); export const GroupsAbstract = () => (<> diff --git a/static-site/src/components/nav-bar/index.jsx b/static-site/src/components/nav-bar/index.jsx index 09682b9fc..f53fccb41 100644 --- a/static-site/src/components/nav-bar/index.jsx +++ b/static-site/src/components/nav-bar/index.jsx @@ -131,6 +131,7 @@ class NavBar extends React.Component { <> HELP DOCS + CONTACT { /* Only display "blog" if we're not minified */ minified ? null : diff --git a/static-site/src/components/splash/errorMessages.jsx b/static-site/src/components/splash/errorMessages.jsx index b3187a718..8b844321f 100644 --- a/static-site/src/components/splash/errorMessages.jsx +++ b/static-site/src/components/splash/errorMessages.jsx @@ -1,4 +1,5 @@ import React from 'react'; +import { Link } from 'gatsby'; import * as splashStyles from "./styles"; import { ErrorBannerInitialMessage, DataFetchError } from '../../../data/SiteConfig'; diff --git a/static-site/src/components/splash/index.jsx b/static-site/src/components/splash/index.jsx index 9f90534cf..fd2e8066b 100644 --- a/static-site/src/components/splash/index.jsx +++ b/static-site/src/components/splash/index.jsx @@ -1,5 +1,6 @@ import React from "react"; import ScrollableAnchor, { configureAnchors } from 'react-scrollable-anchor'; +import { Link } from 'gatsby'; import Cards from "../Cards"; import nCoVCards from "../Cards/nCoVCards"; import coreCards from "../Cards/coreCards"; @@ -62,8 +63,7 @@ class Splash extends React.Component { potential of pathogen genome data. We provide a continually-updated view of publicly available data alongside powerful analytic and visualization tools for use by the community. Our goal is to aid epidemiological understanding and improve outbreak - response. If you have any questions, or simply want to say hi, please give us a shout at - helloobfuscate@nextstrain.org. + response. If you have any questions, please contact us. @@ -176,9 +176,7 @@ class Splash extends React.Component { Nextstrain is under active development and we have big plans for its future, including visualization, bioinformatics analysis and an increasing number and variety of - datasets. If you have any questions or ideas, please give us a shout at hello - obfuscate - @nextstrain.org. + datasets. If you have any questions or ideas, please contact us. diff --git a/static-site/src/components/splash/styles.jsx b/static-site/src/components/splash/styles.jsx index 5c7267d55..6a147a430 100644 --- a/static-site/src/components/splash/styles.jsx +++ b/static-site/src/components/splash/styles.jsx @@ -118,6 +118,10 @@ export const FocusParagraph = styled.p` line-height: ${(props) => props.theme.tightLineHeight}; `; +export const NarrowFocusParagraph = styled(FocusParagraph)` + max-width: 640px; +`; + export const IconParagraph = styled.div` margin-top: 0px; margin-right: auto; diff --git a/static-site/src/pages/contact.jsx b/static-site/src/pages/contact.jsx new file mode 100644 index 000000000..87050f85d --- /dev/null +++ b/static-site/src/pages/contact.jsx @@ -0,0 +1,41 @@ +import React from "react"; +import GenericPage from "../layouts/generic-page"; +import { BigSpacer, FlexCenter} from "../layouts/generalComponents"; +import { H1, NarrowFocusParagraph } from "../components/splash/styles"; + + +const Contact = props => ( + +

Contact Us

+ + + + We are a small team, but connecting with users is important to us. +
+
+ If you have a general question about Nextstrain, we encourage you to post on our{" "} + + discussion forum + , where both Nextstrain team members and other community members can assist you. +
+
+ To send a bug report or feature request, please open an issue in one of our{" "} + + GitHub repositories + . +
+
+ For private inquiries, you can reach us at + helloobfuscate@nextstrain.org. +
+
+ We also host office hours via Zoom every week on Thursdays at 10AM US Pacific time. + Email us for the meeting link. +
+
+ + +
+); + +export default Contact; diff --git a/static-site/src/sections/sequence-search.jsx b/static-site/src/sections/sequence-search.jsx index 615e6d177..e8e97dd2d 100644 --- a/static-site/src/sections/sequence-search.jsx +++ b/static-site/src/sections/sequence-search.jsx @@ -1,5 +1,6 @@ import React from "react"; import Select, {createFilter} from 'react-select'; +import { Link } from 'gatsby'; import styled from 'styled-components'; import {FaFile, FaExclamation} from "react-icons/fa"; import { SmallSpacer, MediumSpacer, HugeSpacer, FlexCenter } from "../layouts/generalComponents"; @@ -80,9 +81,7 @@ class SequencesToDatasets extends React.Component { This functionality is no longer being maintained, but we hope to revisit this in the future. {` Please `} - - get in touch - + contact us {` if you were relying on this functionality and we'll see if we can help.`}