-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #5 from kristo-baricevic/listOfMed
List of med
- Loading branch information
Showing
9 changed files
with
73 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
{ | ||
"cSpell.words": [ | ||
"prescribers", | ||
"satoshi" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,45 @@ | ||
import Layout from "../Layout/Layout"; | ||
import LineChart from "./LineChart"; | ||
|
||
function DataSources() { | ||
interface DataProps { | ||
title: string; | ||
paragraph: string[]; | ||
} | ||
|
||
const data: DataProps = { | ||
title: "How Do We Get Our Data?", | ||
paragraph: [ | ||
"Balancer gets it data from publicly available peer-reviewed research "+ | ||
"as well as through extensive interviews with prescribers. ", | ||
"Check back soon for more comprehensive information." | ||
], | ||
}; | ||
|
||
function HowTo() { | ||
return ( | ||
<Layout> | ||
<div className="mt-20 flex w-full max-w-6xl flex-col items-center justify-center md:mt-28"> | ||
<div className="mt-10"> | ||
<h1 className="head_text"></h1> | ||
<h2 className="desc">How Do We Find Our Data?</h2> | ||
<p className="mx-auto mt-5 hidden | ||
max-w-[100%] text-center font-satoshi text-log text-gray-400 sm:text-x; md:block"> | ||
Data sources coming soon! | ||
</p> | ||
<div className="mt-20 flex w-full max-w-6xl flex-col items-center justify-center px-8"> | ||
<div className="mt-10 h-44 w-44"> | ||
<LineChart /> | ||
</div> | ||
<h3 className="flex items-center justify-center py-4 text-xl"> | ||
{data.title} | ||
</h3> | ||
<div className="flex flex-col min-w-68 rounded-xl border-2 border-blue-100 bg-neutral-50 px-4 py-4 shadow-md"> | ||
<div className="flex flex-col px-2 py-2"> | ||
<p className="font-satoshi text-sm text-gray-700"> | ||
{data.paragraph[0]} | ||
</p> | ||
</div> | ||
<div className="flex flex-col px-2 py-2"> | ||
<p className="font-satoshi text-sm text-gray-700"> | ||
{data.paragraph[1]} | ||
</p> | ||
</div> | ||
</div> | ||
</div> | ||
</Layout> | ||
); | ||
} | ||
|
||
export default DataSources; | ||
export default HowTo; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
import React from "react"; | ||
|
||
const LineChart = () => ( | ||
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512"> | ||
<path fill="#0047ab" d="M64 64c0-17.7-14.3-32-32-32S0 46.3 0 64V400c0 44.2 35.8 80 80 80H480c17.7 0 32-14.3 32-32s-14.3-32-32-32H80c-8.8 0-16-7.2-16-16V64zm406.6 86.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L320 210.7l-57.4-57.4c-12.5-12.5-32.8-12.5-45.3 0l-112 112c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L240 221.3l57.4 57.4c12.5 12.5 32.8 12.5 45.3 0l128-128z" /> | ||
</svg> | ||
); | ||
|
||
export default React.memo(LineChart); |