import React from 'react';
import PropTypes from 'prop-types';
import { Link } from 'react-router-dom';
import cx from 'classnames';

import layout from 'styles/layout.scss';
import styles from './bottom-bar-styles.scss';

const BottomBar = ({ className }) => (
  <div className={styles.container}>
    <div className={cx(layout.content, styles.bottomBar, className)}>
      <div>
        <Link className={styles.text} to="/about/permissions">
          Permissions & Licensing
        </Link>
      </div>
      <div>
        <span className={styles.text}>
          Climate Watch © 2017 Powered by Resource Watch
        </span>
      </div>
    </div>
  </div>
);

BottomBar.propTypes = {
  className: PropTypes.string
};

export default BottomBar;

import React from 'react';
import PropTypes from 'prop-types';
import { Link } from 'react-router-dom';
import cx from 'classnames';

import layout from 'styles/layout.scss';
import styles from './bottom-bar-styles.scss';

const BottomBar = ({ className }) => (
  <div className={styles.container}>
    <div className={cx(layout.content, styles.bottomBar, className)}>
      <div>
        <Link className={styles.text} to="/about/permissions">
          Permissions & Licensing
        </Link>
      </div>
      <div>
        <span className={styles.text}>
          Climate Watch © {new Date().getFullYear()} Powered by Resource Watch
        </span>
      </div>
    </div>
  </div>
);

BottomBar.propTypes = {
  className: PropTypes.string
};

export default BottomBar;

Include current year in footer
Include current year in footer
