mirror of
https://github.com/lunaisnotaboy/mastodon.git
synced 2024-11-18 04:43:24 +00:00
206e9593ac
Port e2b561e3a5
to glitch-soc
Signed-off-by: Claire <claire.github-309c@sitedethib.com>
35 lines
820 B
JavaScript
35 lines
820 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';
|
|
import { title } from 'flavours/glitch/initial_state';
|
|
|
|
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}</title>
|
|
</Helmet>
|
|
</Column>
|
|
);
|
|
}
|
|
|
|
}
|