Skip to content

Commit 1d04ca1

Browse files
committed
rename collection to sample type
1 parent 9eaee5f commit 1d04ca1

File tree

2 files changed

+21
-21
lines changed

2 files changed

+21
-21
lines changed

src/biorepo_components/BiorepoAboutSamplesContent.jsx

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -18,22 +18,22 @@ export default function BiorepoAboutSamplesContent() {
1818
<Card variant="outlined">
1919
<CardMedia
2020
component="img"
21-
image="../images/card-images/1D8A2197.jpg"
22-
title="Repositories"
21+
image="../images/card-images/1D8A2241.jpg"
22+
title="Collections"
2323
height="auto"
2424
loading="lazy"
2525
/>
2626
<CardContent>
2727
<Typography variant="h5">
28-
Sample Repositories
28+
Sample Types
2929
</Typography>
3030
<Typography variant="body2" color="textSecondary" component="p" style={{ fontSize: '1rem' }}>
31-
Although the NEON Biorepository is the primary facility housing NEON samples, select specimens are held by other institutions. Requests for these samples should be made directly to the hosting organization.
31+
Explore the range of sample types archived at the Biorepository, including soils, organisms (whole and subsampled), and genomic extracts.
3232
</Typography>
3333
</CardContent>
3434
<CardActions>
35-
<Button variant="outlined" size="large" endIcon={<RightIcon />} href="https://www.neonscience.org/samples/sample-repositories">
36-
List Repositories
35+
<Button variant="outlined" size="large" endIcon={<RightIcon />} href="../collections/misc/browsecollprofiles.php">
36+
View Samples Types
3737
</Button>
3838
</CardActions>
3939
</Card>
@@ -42,22 +42,22 @@ export default function BiorepoAboutSamplesContent() {
4242
<Card variant="outlined">
4343
<CardMedia
4444
component="img"
45-
image="../images/card-images/1D8A2241.jpg"
46-
title="Collections"
45+
image="../images/card-images/1D8A2197.jpg"
46+
title="Repositories"
4747
height="auto"
4848
loading="lazy"
4949
/>
5050
<CardContent>
5151
<Typography variant="h5">
52-
Browse Sample Collections
52+
Other Sample Repositories
5353
</Typography>
5454
<Typography variant="body2" color="textSecondary" component="p" style={{ fontSize: '1rem' }}>
55-
NEON samples in the sample portal are organized into collections. These generally correspond to the types of samples collected. Data and statistics about these collections can be found here.
55+
Although the NEON Biorepository is the primary facility housing NEON samples, select specimens are held by other institutions. Requests for these samples should be made directly to the hosting organization.
5656
</Typography>
5757
</CardContent>
5858
<CardActions>
59-
<Button variant="outlined" size="large" endIcon={<RightIcon />} href="../collections/misc/browsecollprofiles.php">
60-
Explore Samples Types
59+
<Button variant="outlined" size="large" endIcon={<RightIcon />} href="https://www.neonscience.org/samples/sample-repositories">
60+
List of Repositories
6161
</Button>
6262
</CardActions>
6363
</Card>

src/biorepo_components/BiorepoCollectionsContent.jsx

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -128,11 +128,11 @@ export default function BiorepoCollectionsContent() {
128128
<div>
129129
<Box sx={{ width: '100%' }}>
130130
<Typography variant="h3">
131-
Browse Collection Profiles
131+
Browse Sample Types
132132
</Typography>
133133
<Box sx={{ paddingTop: '30px', paddingBottom: '30px' }}>
134134
<Typography variant="body1">
135-
NEON samples are organized into collections, which generally correspond to the types of samples collected based on NEON protocols and sample classes. It is strongly recommended to read the corresponding protocol to understand how and why the collections are organized as they are. Collections are displayed in various groupings via the tabs below. Click on any collection to view detailed data, records, and statistics.
135+
Use the tabs and dropdowns to explore the types of samples NEON offers, and view their data, records, and statistics.
136136
</Typography>
137137
</Box>
138138
</Box>
@@ -146,24 +146,24 @@ export default function BiorepoCollectionsContent() {
146146
aria-label="collections-tabs"
147147
variant="fullWidth"
148148
>
149-
<Tab label="Browse by Taxonomic Group" {...a11yProps(0)} />
150-
<Tab label="Browse by Sample Type" {...a11yProps(1)} />
151-
<Tab label="Browse by Protocol" {...a11yProps(2)} />
149+
<Tab label="Organized by Taxonomic Group" {...a11yProps(0)} />
150+
<Tab label="Organized by Protocol" {...a11yProps(2)} />
151+
<Tab label="Organized by Preservation Method" {...a11yProps(1)} />
152152
</Tabs>
153153
</Box>
154154
<CustomTabPanel value={value} index={0}>
155155
<div>
156156
{renderNode(taxonomicNodesData)}
157157
</div>
158158
</CustomTabPanel>
159-
<CustomTabPanel value={value} index={1}>
159+
<CustomTabPanel value={value} index={2}>
160160
<div>
161-
{renderNode(sampletypeNodesData)}
161+
{renderNode(protocolNodesData)}
162162
</div>
163163
</CustomTabPanel>
164-
<CustomTabPanel value={value} index={2}>
164+
<CustomTabPanel value={value} index={1}>
165165
<div>
166-
{renderNode(protocolNodesData)}
166+
{renderNode(sampletypeNodesData)}
167167
</div>
168168
</CustomTabPanel>
169169
</Box>

0 commit comments

Comments
 (0)