Skip to content

Commit

Permalink
feat(frontend): update contact page
Browse files Browse the repository at this point in the history
  • Loading branch information
rileyhgrant committed May 31, 2024
1 parent 35a81d6 commit 937a2d2
Show file tree
Hide file tree
Showing 2 changed files with 53 additions and 12 deletions.
26 changes: 21 additions & 5 deletions browser/src/ContactPage.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -13,22 +13,29 @@ export default () => (
<p>
Tell us how you use gnomAD and your wish list by filling out{' '}
{/* @ts-expect-error TS(2786) FIXME: 'ExternalLink' cannot be used as a JSX component. */}
<ExternalLink href="http://broad.io/gnomad_user_survey">our user survey</ExternalLink>.
<ExternalLink href="http://broad.io/2024_survey">our user survey</ExternalLink>.
</p>

<p>
Report data problems or feature suggestions by{' '}
Use the gnomAD{' '}
{/* @ts-expect-error TS(2786) FIXME: 'ExternalLink' cannot be used as a JSX component. */}
<ExternalLink href="mailto:gnomad@broadinstitute.org">email</ExternalLink>.
<ExternalLink href="https://discuss.gnomad.broadinstitute.org/new-topic?category=General">
Forum
</ExternalLink>{' '}
to request help, discuss the data, and ask questions.*
</p>

<p>
Report errors in the website on{' '}
{/* @ts-expect-error TS(2786) FIXME: 'ExternalLink' cannot be used as a JSX component. */}
<ExternalLink href="https://github.com/broadinstitute/gnomad-browser/issues">
<ExternalLink href="https://github.com/broadinstitute/gnomad-browser/issues/new?labels=Type%3A%20Bug">
GitHub
</ExternalLink>{' '}
or the{' '}
{/* @ts-expect-error TS(2786) FIXME: 'ExternalLink' cannot be used as a JSX component. */}
<ExternalLink href="https://discuss.gnomad.broadinstitute.org/new-topic?category=Browser&tags=bug">
Forum
</ExternalLink>
.
</p>

<p>
Expand All @@ -49,5 +56,14 @@ export default () => (
{/* @ts-expect-error TS(2786) FIXME: 'ExternalLink' cannot be used as a JSX component. */}
<ExternalLink href="https://twitter.com/gnomad_project">@gnomad_project</ExternalLink>.
</p>

<br />
<p>
*Alternately, you can{' '}
{/* @ts-expect-error TS(2786) FIXME: 'ExternalLink' cannot be used as a JSX component. */}
<ExternalLink href="mailto:gnomad@broadinstitute.org">email us</ExternalLink>. Please note
that we prioritize answering issues on Github and topics on the Forum, so if you choose to
email it may take us longer to respond.
</p>
</InfoPage>
)
39 changes: 32 additions & 7 deletions browser/src/__snapshots__/ContactPage.spec.tsx.snap
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ exports[`Contact Page has no unexpected changes 1`] = `
<a
className="c3"
href="http://broad.io/gnomad_user_survey"
href="http://broad.io/2024_survey"
rel="noopener noreferrer"
target="_blank"
>
Expand All @@ -113,30 +113,41 @@ exports[`Contact Page has no unexpected changes 1`] = `
.
</p>
<p>
Report data problems or feature suggestions by
Use the gnomAD
<a
className="c3"
href="mailto:gnomad@broadinstitute.org"
href="https://discuss.gnomad.broadinstitute.org/new-topic?category=General"
rel="noopener noreferrer"
target="_blank"
>
email
Forum
</a>
.
to request help, discuss the data, and ask questions.*
</p>
<p>
Report errors in the website on
<a
className="c3"
href="https://github.com/broadinstitute/gnomad-browser/issues"
href="https://github.com/broadinstitute/gnomad-browser/issues/new?labels=Type%3A%20Bug"
rel="noopener noreferrer"
target="_blank"
>
GitHub
</a>
.
or the
<a
className="c3"
href="https://discuss.gnomad.broadinstitute.org/new-topic?category=Browser&tags=bug"
rel="noopener noreferrer"
target="_blank"
>
Forum
</a>
</p>
<p>
For questions about gnomAD, check out the
Expand Down Expand Up @@ -167,5 +178,19 @@ exports[`Contact Page has no unexpected changes 1`] = `
</a>
.
</p>
<br />
<p>
*Alternately, you can
<a
className="c3"
href="mailto:gnomad@broadinstitute.org"
rel="noopener noreferrer"
target="_blank"
>
email us
</a>
. Please note that we prioritize answering issues on Github and topics on the Forum, so if you choose to email it may take us longer to respond.
</p>
</div>
`;

0 comments on commit 937a2d2

Please sign in to comment.