Skip to content

Commit

Permalink
Move extra-meta publication display to related studies page
Browse files Browse the repository at this point in the history
  • Loading branch information
jimmyzhen committed Dec 5, 2023
1 parent dee0517 commit bb3bb6f
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 12 deletions.
8 changes: 0 additions & 8 deletions src/Publications/publications.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,6 @@ import React from 'react';
import PageTitle from '../lib/ui/pageTitle';

const publications = [
{
url: 'https://doi.org/10.1038/s41467-021-23579-x',
title:
'Time trajectories in the transcriptomic response to exercise - a meta-analysis',
authors:
'David Amar, Malene E. Lindholm, Jessica Norrbom, Matthew T. Wheeler, Manuel A. Rivas, and Euan A. Ashley.',
cite: 'Nat Commun 12, 3471 (2021).',
},
{
url: 'https://www.cell.com/cell/fulltext/S0092-8674(20)30691-7',
title:
Expand Down
26 changes: 22 additions & 4 deletions src/RelatedStudy/relatedStudy.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,20 +6,24 @@ import StanfordMedicineLogo from '../assets/ExternalLogos/StanfordMedicine.png';

const relatedStudies = [
{
id: 'heritage-proteomics',
url: '/related-studies/heritage-proteomics',
text:
'The HERITAGE Family Study is a multicenter project whose main goal is to study the role of the genotype in the cardiovascular and metabolic responses to aerobic exercise training and the changes brought about by regular exercise for several cardiovascular disease and diabetes risk factors.',
text: 'The HERITAGE Family Study is a multicenter project whose main goal is to study the role of the genotype in the cardiovascular and metabolic responses to aerobic exercise training and the changes brought about by regular exercise for several cardiovascular disease and diabetes risk factors.',
image: HeritageFamilyStudyLogo,
title: 'HERITAGE Proteomics',
newWin: false,
},
{
id: 'exercise-transcriptome-meta-analysis',
url: 'https://extrameta.org',
text:
'A database comprising meta-analysis results from 43 publicly available exercise transcriptome datasets from human skeletal muscle and blood.',
text: 'A database comprising meta-analysis results from 43 publicly available exercise transcriptome datasets from human skeletal muscle and blood.',
image: StanfordMedicineLogo,
title: 'Exercise Transcriptome Meta-analysis',
newWin: true,
pubTitle:
'Time trajectories in the transcriptomic response to exercise - a meta-analysis',
pubUrl: 'https://doi.org/10.1038/s41467-021-23579-x',
pubCite: 'Nat Commun 12, 3471 (2021).',
},
];

Expand Down Expand Up @@ -64,6 +68,20 @@ function RelatedStudyLink({ study }) {
{!study.newWin && <Link to={study.url}>{study.title}</Link>}
</h5>
<p className="card-text">{study.text}</p>
{study.id === 'exercise-transcriptome-meta-analysis' && (
<p className="card-text">
<span className="card-text">Publication: </span>
<a
href={study.pubUrl}
target="_blank"
rel="noopener noreferrer"
className="card-link"
>
{study.pubTitle} <span className="oi oi-external-link" />
</a>{' '}
<span className="card-text font-italic">{study.pubCite}</span>
</p>
)}
</div>
</div>
);
Expand Down

0 comments on commit bb3bb6f

Please sign in to comment.