diff --git a/src/components/app.js b/src/components/app.js index 2bb576d..9a25e4a 100644 --- a/src/components/app.js +++ b/src/components/app.js @@ -1,3 +1,8 @@ +// All the code in this project is licensed under the terms of the GNU AGPLv3 license. +// COPYRIGHT (C) Webgem ALL RIGHTS RESERVED. +// More INFO AT https://github.com/webgem-xyz/UVA-React#license-information +// All code can be found at https://github.com/webgem-xyz/UVA-React +// You can read our LICENSE at https://github.com/webgem-xyz/UVA-React/blob/master/LICENSE import { Component } from 'preact'; import { Router, route } from 'preact-router'; import firebase from 'firebase/app'; diff --git a/src/routes/account/index.js b/src/routes/account/index.js index dd50bc0..249dd1e 100644 --- a/src/routes/account/index.js +++ b/src/routes/account/index.js @@ -13,9 +13,7 @@ export default class Account extends Component {
-

- Last connection: {this.props.login} -

+

Account Details

Username: {this.props.email}

diff --git a/src/routes/account/style.scss b/src/routes/account/style.scss index ec59470..8ec6b13 100644 --- a/src/routes/account/style.scss +++ b/src/routes/account/style.scss @@ -6,15 +6,23 @@ padding: 2.5px 16px 5px; p { + display: flex; font-size: 16px; margin: 2px 0; span { font-weight: 700; + width: 50%; } } } +.headerP { + color: var(--main-blue); + font-weight: 700; + padding: 5px 0 10px; +} + .logout { background: var(--main-color); // border: 1px solid var(--main-color); diff --git a/src/routes/edit/index.js b/src/routes/edit/index.js index 005ff4c..82bda8f 100644 --- a/src/routes/edit/index.js +++ b/src/routes/edit/index.js @@ -1,6 +1,8 @@ import { Component } from 'preact'; import { PropTypes } from 'preact-compat'; import { route } from 'preact-router'; +import moment from 'moment'; +import DatePicker from 'react-datepicker'; import base from '../../base'; @@ -66,15 +68,17 @@ export default class Edit extends Component {
- - +
+ + date_range +