Skip to content

Commit

Permalink
Implement publications pages
Browse files Browse the repository at this point in the history
Need to add more publications

Issue #35, #19
  • Loading branch information
HDash committed Feb 3, 2025
1 parent ad9d898 commit bc8fbae
Showing 1 changed file with 51 additions and 6 deletions.
57 changes: 51 additions & 6 deletions frontend/src/pages/PublicationsPage.jsx
Original file line number Diff line number Diff line change
@@ -1,14 +1,59 @@
import React from "react";
import CustomHeader from "../components/utilities/Header";
import { Layout } from "antd";
import ArticleOutlinedIcon from '@mui/icons-material/ArticleOutlined';
import BackgroundAnimation from "../components/BackgroundAnimation";

const { Content } = Layout;

const publications = [
{
title: "Harnessing generative AI to annotate the severity of all phenotypic abnormalities within the Human Phenotype Ontology",
authors: "Kitty B Murphy, Brian M Schilder, Nathan G Skene",
journal: "medRxiv",
year: 2024,
doi: "https://doi.org/10.1101/2024.06.10.24308475"
},
{
title: "Identification of cell type-specific gene targets underlying thousands of rare diseases and subtraits",
authors: "Kitty B. Murphy, Robert Gordon-Smith, Jai Chapman, Momoko Otani, Brian M. Schilder, Nathan G. Skene",
journal: "medRxiv",
year: 2023,
doi: "https://doi.org/10.1101/2023.02.13.23285820"
}
// Add more publications as needed
];

export default function PublicationsPage() {
return (
<>
<CustomHeader activePageKey="publications" />
<div>
<h1>Publications</h1>
<p>Coming soon...</p>
<div className="relative">
<CustomHeader activePageKey="publications" />
<div className="fixed inset-0 -z-10">
<BackgroundAnimation />
</div>
<Content className="relative z-10 p-12 bg-center">
<div className="bg-white bg-opacity-95 p-10 rounded-lg shadow-lg">
<h1 className="text-4xl font-bold flex items-center">
<ArticleOutlinedIcon fontSize="large" className="mr-4" />
Publications
</h1>
<br />
<br />
<div className="space-y-8 font-mono" style= {{ marginLeft: "3.4em" }}>
{publications.map((pub, index) => (
<div key={index} className="border-b pb-7">
<h2 className="text-xl font-bold mb-1">{pub.title}</h2>
<div className="ml-3">
<p><strong>Authors:</strong> {pub.authors}</p>
<p><strong>Journal:</strong> {pub.journal}</p>
<p><strong>Year:</strong> {pub.year}</p>
<p><strong>DOI: </strong><a href={pub.doi} target="_blank" className="text-blue-500 hover:underline">{pub.doi}</a></p>
</div>
</div>
))}
</div>
</div>
</Content>
</div>
</>
);
}

0 comments on commit bc8fbae

Please sign in to comment.