Skip to content

Commit

Permalink
Merge pull request #1 from cinjon/jordan/about-page
Browse files Browse the repository at this point in the history
Jordan/about page
  • Loading branch information
AlwaysBCoding authored Jan 20, 2023
2 parents 71c9211 + 1e6524d commit ac1a194
Show file tree
Hide file tree
Showing 5 changed files with 354 additions and 12 deletions.
8 changes: 4 additions & 4 deletions src/components/Header.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,10 @@ export const Header = () => {
path: "/",
display: "HOME"
},
// {
// path: "/about",
// display: "ABOUT"
// },
{
path: "/about",
display: "ABOUT"
},
// {
// path: "/winning-papers",
// display: "WINNING PAPERS"
Expand Down
33 changes: 33 additions & 0 deletions src/data/experts.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
---

- title: Ralph Edwards, Mechanical Engineer, PhD
bio: A significant improvement on the accuracy of differential privacy training on standard image classification benchmarks.
linkedin: https://www.linkedin.com

- title: Cody Fisher
bio: Associate Professor of Emergency Medicine and the Associate Dean for Co-Curricular Programs at Sidney Kimmel Medical College at Thomas Jefferson University. Ku directs the College within a College –
linkedin: https://www.linkedin.com

- title: Cody Fisher, PhD
bio: Associate Professor of Emergency Medicine and the Associate Dean for Co-Curricular Programs at Sidney Kimmel Medical College at Thomas Jefferson University. Ku directs the College within a College –
linkedin: https://www.linkedin.com

- title: Darrell Steward, PhD
bio: Associate Professor of Emergency Medicine and the Associate Dean for Co-Curricular Programs at Sidney Kimmel Medical College at Thomas Jefferson University. Ku directs the College within a College – Design, a program that teaches medical students to solve healthcare challenges using design thinking methodology.
linkedin: https://www.linkedin.com

- title: Darrell Steward, MD, MPP
bio: Associate Professor of Emergency Medicine and the Associate Dean for Co-Curricular Programs at Sidney Kimmel Medical College at Thomas Jefferson University. Ku directs the College within a College – Design, a program that teaches medical students to solve healthcare challenges using design thinking methodology.
linkedin: https://www.linkedin.com

- title: Cody Fisher, MD, MPP.
bio: Associate Professor of Emergency Medicine and the Associate Dean for Co-Curricular Programs at Sidney Kimmel Medical College at Thomas Jefferson University. Ku directs the College within a College –
linkedin: https://www.linkedin.com

- title: Cody Fisher, PhD
bio: Associate Professor of Emergency Medicine and the Associate Dean for Co-Curricular Programs at Sidney Kimmel Medical College at Thomas Jefferson University. Ku directs the College within a College –
linkedin: https://www.linkedin.com

- title: Darrell Steward, PhD
bio: Associate Professor of Emergency Medicine and the Associate Dean for Co-Curricular Programs at Sidney Kimmel Medical College at Thomas Jefferson University. Ku directs the College within a College – Design, a program that teaches medical students to solve healthcare challenges using design thinking methodology.
linkedin: https://www.linkedin.com
101 changes: 99 additions & 2 deletions src/screens/AboutScreen.jsx
Original file line number Diff line number Diff line change
@@ -1,10 +1,107 @@
import React from "react";
import React, { useState, useEffect } from "react";
import yaml from "js-yaml";

import voterfraud from "../assets/voter-fraud.png";
import rightArrow from "../assets/right-arrow.png";

import expertsData from "../data/experts.yml";

export const AboutScreen = () => {
const [experts, setExperts] = React.useState([]);

useEffect(() => {
fetch(expertsData)
.then((expertsResponse) => { return expertsResponse.text() })
.then((expertsText) => {
setExperts(yaml.load(expertsText));
});
}, []);

const renderExpert = (expertData) => {
return (
<div className="expert">
<p className="expert-title">{expertData.title}</p>
<p className="expert-bio">{expertData.bio}</p>
<a className="expert-linkedin" href={expertData.linkedin ?? "#"} target="_blank" rel="noreferrer">
<p className="linkedin-text">Linkedin</p>
<img src={rightArrow} alt="right-arrow" className="view-more-arrow" />
</a>
</div>
)
}

return (
<div className="screen about-screen">
<p>About ... coming soon!</p>

<div className="section banner-section">
<div className="text-content">
<p className="primary">We believe in promoting <span className="emphasis">healthier and longer lifespan</span> for all humans.</p>
<p className="secondary">The Amaranth Prize rewards people who spend their precious time pushing this field. Our retrospective approach gives researchers the freedom to pursue important work and reward the research that influence them.</p>
</div>
<div className="flex-spacer" />
<img src={voterfraud} alt="lifespan" className="section-image" />
</div>

<div className="section selection-process-section">
<p className="section-title">SELECTION PROCESS</p>
<p className="section-description">We choose a topic within the field and convene a panel of experts to select and award outstanding work published in recent years.</p>
<div className="selection-process-steps">
<div className="selection-process-step">
<p className="step-number">1</p>
<p className="step-title">Expert selection</p>
<p className="step-details">Once we had selected the topic - “Brain aging exclusive of Alzheimer's disease" - we then convened a panel of 100 experts from this field to choose which contributions were most deserving.</p>
</div>
<div className="selection-process-step">
<p className="step-number">2</p>
<p className="step-title">Expanding the queries</p>
<p className="step-details">Beyond the contributions they knew from memory, we added works that fit the following query criteria on Semantic Scholar and Google Scholar: Query a, Query b, and Query c.</p>
</div>
<div className="selection-process-step">
<p className="step-number">3</p>
<p className="step-title">Filtering the pool</p>
<p className="step-details">This yielded a total of 1000 contributions. We convened a smaller panel to pick the final selections. Their instructions were to focus on results or impact, reward the prize non-uniformly, and lean into both unanimous and polarizing works. From this process, we found our 30 contributions.</p>
</div>
</div>
</div>

<div className="section awarding-the-prize-section">
<p className="section-title">AWARDING THE PRIZE</p>
<p className="section-description">We leverage the <span className="emphasis">Research Portfolio</span> platform to distribute awards, creating a simple, on-chain record of prizes and influences.</p>
<div className="awarding-infos">
<div className="awarding-info">
<p className="info-title">Claiming process</p>
<p className="info-details">Researchers will mint their research using their unique technology on Research Portfolio. Afterwards they can claim their prize by simply connecting their wallets to Amaranth Prize website.</p>
</div>
<div className="awarding-info">
<p className="info-title">Influencing Papers</p>
<p className="info-details">We enable each prize wining team to acknowledge and reward the influential papers and work that has provided a foundation for their winning research efforts.</p>
</div>
</div>
</div>

<div className="section experts-section">
<p className="section-title">THE EXPERTS</p>
<p className="section-description">This is a list of our generous experts giving their time to choose the most impactful research in longevity this year.</p>
<div className="experts">
<div className="experts-column column-1">
{experts[0] ? renderExpert(experts[0]) : (<></>)}
{experts[1] ? renderExpert(experts[1]) : (<></>)}
</div>
<div className="experts-column column-2">
{experts[2] ? renderExpert(experts[2]) : (<></>)}
{experts[3] ? renderExpert(experts[3]) : (<></>)}
</div>
<div className="experts-column column-3">
{experts[4] ? renderExpert(experts[4]) : (<></>)}
{experts[5] ? renderExpert(experts[5]) : (<></>)}
</div>
<div className="experts-column column-4">
{experts[6] ? renderExpert(experts[6]) : (<></>)}
{experts[7] ? renderExpert(experts[7]) : (<></>)}
</div>
</div>
<p className="more-experts-disclaimer">More experts will be added to the panel</p>
</div>
</div>
)

Expand Down
11 changes: 5 additions & 6 deletions src/screens/HomeScreen.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ const Join = () => {
const value = target.value;
setEmail(value)
setSubscribed(false)
}
}

return (
<form action="#" onSubmit={(e) => onSubmit(e, email)}>
Expand Down Expand Up @@ -79,7 +79,7 @@ const FAQ = () => {
.then((faqResponse) => { return faqResponse.text() })
.then((faqText) => {
setFAQs(yaml.load(faqText));
});
});
})

return (
Expand Down Expand Up @@ -110,7 +110,7 @@ const FAQ = () => {
})}
</div>
</div>
)
)
}

export const HomeScreen = () => {
Expand All @@ -123,7 +123,6 @@ export const HomeScreen = () => {
.then((papersText) => {
setPapers(yaml.load(papersText));
});

}, []);

const faq = IS_FAQ_READY ? <FAQ /> : null
Expand Down Expand Up @@ -249,7 +248,7 @@ export const HomeScreen = () => {
</div>
<PaperCarousel papers={papers.filter((paper) => { return paper["winner"] })} />
</div>
{IS_PARENTS_READY &&
{IS_PARENTS_READY &&
<div className="winning-paper-highlight parents">
<div className="highlight-header">
<p className="highlight-title">Parents of the winning papers</p>
Expand All @@ -264,7 +263,7 @@ export const HomeScreen = () => {
<PaperCarousel papers={papers.filter((paper) => { return paper["parent"] })} />
</div>
}
{IS_GRANDPARENTS_READY &&
{IS_GRANDPARENTS_READY &&
<div className="winning-paper-highlight grandparents">
<div className="highlight-header">
<p className="highlight-title">Grandparents of the winning papers</p>
Expand Down
Loading

0 comments on commit ac1a194

Please sign in to comment.