Build a privacy policy page, route, and link in the footer.
Technical Criteria
create Privacy.js in src/frontend/pages - you can copy the About.js page to start with.
add the content
~add translatable strings (see example TBA)~ requirement removed 7/10
include the page in App.js like import Privacy from './pages/Privacy';
add a route path in App.js like <Route exact path="/privacy" component={Privacy} />
add a link to the footer for the privacy statement. To do this, you must first include import { NavLink } from 'react-router-dom'; in Footer.js and then you can add a navigation link like:
<NavLink to={`/privacy/`}> Privacy </NavLink>
Acceptance Criteria
Test it on your local
Inspect element and make sure there are no react-axe errors related to the component you're working on.
Merge your branch into the develop branch and push.
User Storie(s)
N/A
Task Description
Build a privacy policy page, route, and link in the footer.
Technical Criteria
Privacy.js
insrc/frontend/pages
- you can copy theAbout.js
page to start with.App.js
likeimport Privacy from './pages/Privacy';
App.js
like<Route exact path="/privacy" component={Privacy} />
import { NavLink } from 'react-router-dom';
inFooter.js
and then you can add a navigation link like:Acceptance Criteria
react-axe
errors related to the component you're working on.develop
branch and push.stable
branch for Fatima to review.