diff --git a/app/src/frontend/app.tsx b/app/src/frontend/app.tsx index bd84ba91..c8b23d50 100644 --- a/app/src/frontend/app.tsx +++ b/app/src/frontend/app.tsx @@ -19,6 +19,7 @@ import PasswordReset from './user/password-reset'; import MapApp from './map-app'; import ContactPage from './pages/contact'; +import DataAccuracyPage from './pages/data-accuracy'; interface AppProps { @@ -97,6 +98,7 @@ class App extends React.Component { // TODO: add proper types + ( diff --git a/app/src/frontend/pages/data-accuracy.tsx b/app/src/frontend/pages/data-accuracy.tsx new file mode 100644 index 00000000..193a35af --- /dev/null +++ b/app/src/frontend/pages/data-accuracy.tsx @@ -0,0 +1,14 @@ +import React from 'react'; + +const DataAccuracyPage = () => ( +
+
+

Data Accuracy Agreement

+

+ The data are provided "as is", without warranty of any kind, express or implied, including but not limited to the warranties of merchantability, accuracy, fitness for a particular purpose and non-infringement. In no event shall UCL be liable for any reliance that you place on or how you use the data nor any claim, damages or other liability, whether in an action of contract, tort or otherwise, arising from, out of or in connection with the data or the use or other dealings in the data'. +

+
+
+); + +export default DataAccuracyPage; diff --git a/app/src/frontend/pages/data-extracts.tsx b/app/src/frontend/pages/data-extracts.tsx index 328d9cb3..0b8220cb 100644 --- a/app/src/frontend/pages/data-extracts.tsx +++ b/app/src/frontend/pages/data-extracts.tsx @@ -1,6 +1,7 @@ import React, { FunctionComponent } from 'react'; import { dateReviver } from '../../helpers'; +import { NavLink } from 'react-router-dom'; interface ExtractViewModel { extract_id: number; @@ -44,6 +45,7 @@ export default class DataExtracts extends React.Component<{}, DataExtractsState>

Open data extracts

Choose one of the links below to download an archive containing the open data collected on the Colouring London platform

+

By downloading data extracts from this site, you agree to the data accuracy agreement

{ this.state.extracts == undefined ?

Loading extracts...

: diff --git a/app/src/frontend/user/signup.tsx b/app/src/frontend/user/signup.tsx index 9a8f4232..1a8ad00e 100644 --- a/app/src/frontend/user/signup.tsx +++ b/app/src/frontend/user/signup.tsx @@ -142,8 +142,9 @@ class SignUp extends Component { // TODO: add proper types required />