Skip to content

Commit

Permalink
updated sidebar text
Browse files Browse the repository at this point in the history
  • Loading branch information
ronnyTodgers committed Jun 26, 2023
1 parent eddf842 commit cfb2fb9
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 4 deletions.
8 changes: 6 additions & 2 deletions src/components/App.js
Original file line number Diff line number Diff line change
Expand Up @@ -98,8 +98,12 @@ function App() {
</Route>
<Route path="*" >
<div>
<h1 style={{color: "white"}}>Harmonise Questionnaire Data - with Harmony</h1>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. </p>
<h1 style={{color: "white"}}>Harmonise questionnaire data - with Harmony</h1>
<p>Harmony is a tool for retrospective harmonisation of questionnaire data.</p>
<p>If you want to compare data from different surveys, such as GAD-7 and PHQ-9,
Harmony can identify which questions match.</p>
<p>
<a href="https://harmonydata.org/frequently-asked-questions">FAQs</a> - <a href="https://harmonydata.org/privacy-policy">Privacy policy</a></p>
</div>
</Route>
</Switch>
Expand Down
8 changes: 6 additions & 2 deletions src/components/ResultsOptions.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,11 @@ export default function ResultsOptions({ resultsOptions, setResultsOptions }) {
min={30}
valueLabelDisplay="auto"
onChange={(e, value) => {setThreshold(value)}}
onChangeCommitted={(e, value) => {let thisOptions = {...resultsOptions}; thisOptions.threshold = isNaN(value)?70:value; setResultsOptions(thisOptions)}}
onChangeCommitted={(e, value) => {
let thisOptions = {...resultsOptions};
thisOptions.threshold = isNaN(value)?70:value;
setResultsOptions(thisOptions)
}}
/>
<Divider sx={{mt:1, mb:1}}/>
<Stack direction="row" sx={{width:"100%", alignItems:"center", justifyContent:"space-between"}} >
Expand All @@ -30,7 +34,7 @@ export default function ResultsOptions({ resultsOptions, setResultsOptions }) {
let thisOptions = {...resultsOptions};
thisOptions.intraInstrument = value;
setResultsOptions(thisOptions);
console.log(thisOptions);}}
}}
/>
</Stack>

Expand Down

0 comments on commit cfb2fb9

Please sign in to comment.