mirror of
https://framagit.org/tykayn/mastodon.git
synced 2023-08-25 08:33:12 +02:00
dea951cce8
Port f41ec9af05
to glitch-soc
Co-authored-by: Yamagishi Kazutoshi <ykzts@desire.sh>
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
34 lines
755 B
JavaScript
34 lines
755 B
JavaScript
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>
|
|
);
|
|
}
|
|
|
|
}
|