Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions src/FAQ.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
import React from 'react';
import { Link } from 'react-router-dom';
import close from './img/close.png';
import './Terms.css';

function FAQ() {
return (
<div className="TermsContainer">
<Link to="/"><img alt="close" src={close} className="CloseButton" /></Link>
<h1>Frequently asked questions</h1>
<ol>
<li>
<p className="faq_question">It&apos;s very hard to select the DOB year on Android</p>
<p className="faq_answer">You can tap the year at the top of the date picker on android to scroll back by year.</p>
</li>
</ol>
</div>
);
}

export default FAQ;
2 changes: 2 additions & 0 deletions src/RenderingController.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ import ThankYou from './ThankYou';
import Terms from './Terms';
import Privacy from './Privacy';
import Cookies from './Cookies';
import FAQ from './FAQ';

class RenderingController extends React.Component {
constructor(props) {
Expand Down Expand Up @@ -85,6 +86,7 @@ class RenderingController extends React.Component {
<Route path="/termsAndConditions/" exact render={() => <Terms />} />
<Route path="/privacyPolicy/" exact render={() => <Privacy />} />
<Route path="/cookiePolicy/" exact render={() => <Cookies />} />
<Route path="/faq/" exact render={() => <FAQ />} />
<Route
path="/"
render={() => (!cookieNoticeDimsissed ? (
Expand Down
9 changes: 9 additions & 0 deletions src/Terms.css
Original file line number Diff line number Diff line change
Expand Up @@ -15,3 +15,12 @@
width: 32px;
height: 32px;
}

.faq_question {
font-weight: bold;
}


.faq_answer {
font-weight: normal;
}
3 changes: 3 additions & 0 deletions src/formViews/Welcome.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,9 @@ function Welcome() {
. We will not collect any of the data you provide, you can have a look at our
{' '}
<Link to="/privacyPolicy/">Privacy policy</Link>
. Also, check out the
{' '}
<Link to="/faq/">Frequently asked questions</Link>
.
</p>
</Fragment>
Expand Down