about summary refs log tree commit diff
path: root/app/javascript/flavours/glitch/features/about/index.js
blob: 4500480f5aa3a86f5df8ef13a97ef00b3744244f (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
import React from 'react';
import { defineMessages, injectIntl } from 'react-intl';
import PropTypes from 'prop-types';
import Column from 'flavours/glitch/components/column';
import LinkFooter from 'flavours/glitch/features/ui/components/link_footer';
import { Helmet } from 'react-helmet';

const messages = defineMessages({
  title: { id: 'column.about', defaultMessage: 'About' },
});

export default @injectIntl
class About extends React.PureComponent {

  static propTypes = {
    intl: PropTypes.object.isRequired,
  };

  render () {
    const { intl } = this.props;

    return (
      <Column>
        <LinkFooter />

        <Helmet>
          <title>{intl.formatMessage(messages.title)}</title>
        </Helmet>
      </Column>
    );
  }

}