Improved basic pages: privacy, terms, license
This commit is contained in:
parent
440f6c610d
commit
2b3c9a5868
9 changed files with 239 additions and 57 deletions
|
|
@ -1,14 +0,0 @@
|
|||
import React from 'react';
|
||||
import Page from '../Page/Page';
|
||||
|
||||
const ExamplePage = () => (
|
||||
<div className="ExamplePage">
|
||||
<Page
|
||||
title="My Example Page"
|
||||
subtitle="A subtitle for my example page."
|
||||
page="example-page"
|
||||
/>
|
||||
</div>
|
||||
);
|
||||
|
||||
export default ExamplePage;
|
||||
15
imports/ui/pages/License/License.js
Normal file
15
imports/ui/pages/License/License.js
Normal file
|
|
@ -0,0 +1,15 @@
|
|||
import React from 'react';
|
||||
import Page from '../Page/Page';
|
||||
import { translate } from 'react-i18next';
|
||||
|
||||
const License = props => (
|
||||
<div className="License">
|
||||
<Page
|
||||
title={props.t("Licencia")}
|
||||
subtitle={props.t("Última actualización 15 de noviembre de 2017")}
|
||||
page="license"
|
||||
/>
|
||||
</div>
|
||||
);
|
||||
|
||||
export default translate([], { wait: true })(License);
|
||||
|
|
@ -1,14 +1,15 @@
|
|||
import React from 'react';
|
||||
import Page from '../Page/Page';
|
||||
import { translate } from 'react-i18next';
|
||||
|
||||
const Privacy = () => (
|
||||
const Privacy = props => (
|
||||
<div className="Privacy">
|
||||
<Page
|
||||
title="Privacy Policy"
|
||||
subtitle="Last updated May 29th, 2017"
|
||||
page="privacy"
|
||||
title={props.t("Política de Privacidad")}
|
||||
subtitle={props.t("Última actualización 15 de noviembre de 2017")}
|
||||
page="privacy"
|
||||
/>
|
||||
</div>
|
||||
);
|
||||
|
||||
export default Privacy;
|
||||
export default translate([], { wait: true })(Privacy);
|
||||
|
|
|
|||
|
|
@ -1,14 +1,15 @@
|
|||
import React from 'react';
|
||||
import Page from '../Page/Page';
|
||||
import { translate } from 'react-i18next';
|
||||
|
||||
const Terms = () => (
|
||||
const Terms = props => (
|
||||
<div className="Terms">
|
||||
<Page
|
||||
title="Terms of Service"
|
||||
subtitle="Last updated May 29th, 2017"
|
||||
page="terms"
|
||||
title={props.t("Términos de Servicio")}
|
||||
subtitle={props.t("Última actualización 15 de noviembre de 2017")}
|
||||
page="terms"
|
||||
/>
|
||||
</div>
|
||||
);
|
||||
|
||||
export default Terms;
|
||||
export default translate([], { wait: true })(Terms);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue