Skip to content

Commit

Permalink
Merge pull request #1361 from alliance-genome/test
Browse files Browse the repository at this point in the history
Test into Main - add AD portal updates
  • Loading branch information
motenko authored Sep 5, 2024
2 parents a17a95c + 17823dc commit f80c8b8
Show file tree
Hide file tree
Showing 5 changed files with 37 additions and 11 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"@fortawesome/free-solid-svg-icons": "^6.5.2",
"@fortawesome/react-fontawesome": "^0.2.2",
"@geneontology/curie-util-es5": "^1.2.4",
"@geneontology/wc-gocam-viz": "1.0.0",
"@geneontology/wc-gocam-viz": "1.0.1-beta.2",
"@geneontology/wc-ribbon-strips": "0.0.37",
"@geneontology/wc-ribbon-table": "0.0.57",
"@testing-library/jest-dom": "^5.16.1",
Expand Down Expand Up @@ -96,4 +96,4 @@
"devDependencies": {
"ajv": "^8.16.0"
}
}
}
15 changes: 7 additions & 8 deletions src/containers/alzheimersPage/DiseasePortalSection.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,35 +28,34 @@ const DiseasePortalSection = () => {
to='/disease/DOID:10652#associated-models'
tooltip='View all associated models'
>
[3000]<br />Models
213<br />Models
</EntityButton>
<EntityButton
id='entity-genes'
to='/disease/DOID:10652#associated-genes'
tooltip='View all associated genes'
>
[1221]<br />Genes
2,939<br />Genes
</EntityButton>
<EntityButton
id='entity-alleles'
to='/disease/DOID:10652#associated-alleles'
tooltip='View all associated alleles'
>
[1000]<br />Alleles
268<br />Alleles
</EntityButton>
<EntityButton
id='entity-publications'
to=''
tooltip='View all associated publications'
to='/disease-portal/alzheimers-disease'
>
[96000]<br />Publications
96,000<br />Publications
</EntityButton>
<EntityButton
id='entity-species'
to=''
to='/about-us'
tooltip='View all associated species'
>
[9]<br />Species
9<br />Species
</EntityButton>
</div>
</div>
Expand Down
20 changes: 20 additions & 0 deletions src/containers/alzheimersPage/PapersSection.js
Original file line number Diff line number Diff line change
@@ -1,13 +1,33 @@
import React from 'react';
import style from './style.module.scss';
import ExternalLink from '../../components/ExternalLink';

const PapersSection = () => {
const publications = [
{pmid: '39143479', title: "Gene therapy in Aβ-induced cell and mouse models of Alzheimer's disease through compensating defective mitochondrial complex I function"},
{pmid: '38526283', title: "Activation of autophagy by Citri Reticulatae Semen extract ameliorates amyloid-beta-induced cell death and cognition deficits in Alzheimer's disease"},
{pmid: '38950494', title: "Nesfatin-1 ameliorates pathological abnormalities in Drosophila hTau model of Alzheimer's disease"},
{pmid: '38827230', title: "Aluminum chloride and D-galactose induced a zebrafish model of Alzheimer's disease with cognitive deficits and aging"},
{pmid: '37515920', title: "Discovery of triazole-bridged aryl adamantane analogs as an intriguing class of multifunctional agents for treatment of Alzheimer's disease"},
{pmid: '39009412', title: "c-KIT inhibitors reduce pathology and improve behavior in the Tg(SwDI) model of Alzheimer's disease"},
{pmid: '37736695', title: "Melatonin regulates the circadian rhythm to ameliorate postoperative sleep disorder and neurobehavioral abnormalities in aged mice"},
];

return (
<section className={style.section}>
<div className={style.contentContainer}>
<div className='row'>
<div className='col-lg-12'>
<h2>Recent Papers</h2>
<div>
{publications.map((publication) => {
return (
<p>
<ExternalLink href={'https://www.ncbi.nlm.nih.gov/pubmed/' + publication.pmid}>{publication.title}</ExternalLink>
</p>
)
})}
</div>
</div>
</div>
</div>
Expand Down
2 changes: 2 additions & 0 deletions src/containers/alzheimersPage/ResourcesSection.js
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,10 @@ const ResourcesSection = () => {
const resourceLinks = [
{title: "Alzhemiers.gov", url: 'https://www.alzheimers.gov/'},
{title: "Alzhemier's Association", url: 'https://www.alz.org/'},
{title: "Alzheimer's Disease Clinical Trials", url: 'https://www.clinicaltrials.gov/search?cond=Alzheimer%20Disease'},
{title: "Alzhemier's Foundation of America", url: 'https://alzfdn.org/'},
{title: "National Institute on Aging", url: 'https://www.nia.nih.gov/'},
{title: "OMIM", url: 'https://omim.org/entry/104300'},
];

return (
Expand Down
7 changes: 6 additions & 1 deletion src/containers/alzheimersPage/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,17 +4,22 @@ import PapersSection from './PapersSection';
import ResourcesSection from './ResourcesSection';
import DiseasePortalSection from './DiseasePortalSection';
import MembersSection from '../../components/MembersSection';
import { HELP_EMAIL } from '../../constants';



const AlzheimersPage = () => {
return (
<div>
<HeadMetaTags title="Alzheimer's Disease Portal" />
<DiseasePortalSection />

<PapersSection />
<ResourcesSection />

<div>
<h4 className='mt-4 text-center'>Need Help? Contact Us: &nbsp;<a href={`mailto:${HELP_EMAIL}`}>{HELP_EMAIL}</a></h4>
</div>

<MembersSection />
</div>
);
Expand Down

0 comments on commit f80c8b8

Please sign in to comment.