-
Notifications
You must be signed in to change notification settings - Fork 54
Expand file tree
/
Copy pathpage.tsx
More file actions
57 lines (48 loc) · 1.88 KB
/
page.tsx
File metadata and controls
57 lines (48 loc) · 1.88 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
import React from "react";
import FlexCenter from "../../components/flex-center";
import { FocusParagraphCentered } from "../../components/focus-paragraph";
import ListResources from "../../components/list-resources";
import { SmallSpacer, HugeSpacer } from "../../components/spacers";
import * as coreResources from "../../content/resource-listing.yaml";
import { pathogenResourceListingCallback } from "./callback";
/**
* React Server Component that generates and presents a list of
* pathogen resources.
*/
export default function Pathogens(): React.ReactElement {
return (
<>
<HugeSpacer />
<HugeSpacer />
<h1>Nextstrain-maintained pathogen analyses</h1>
<SmallSpacer />
<FlexCenter>
<FocusParagraphCentered>
These data represent analyses and situation-reports produced by the{" "}
<a href="/team">core Nextstrain team</a>. Explore analyses produced by
others on the <a href="/groups">Groups</a> and{" "}
<a href="/community">Community</a> pages.
<br />
<br />
We aim to provide a continually-updated view of publicly available
data to show pathogen evolution and epidemic spread. The pipeline used
to generate each dataset is available on{" "}
<a href="https://github.com/nextstrain/">our GitHub page</a> or by
loading a dataset and clicking the “built with” link at
the top of the page.
</FocusParagraphCentered>
</FlexCenter>
<HugeSpacer />
<ListResources
defaultGroupLinks
groupDisplayNames={coreResources["coreGroupDisplayNames"]}
quickLinks={coreResources["coreQuickLinks"]}
resourceListingCallback={pathogenResourceListingCallback}
resourceType="dataset"
tileData={coreResources["coreTiles"]}
versioned
/>
<HugeSpacer />
</>
);
}