1
0
mirror of https://github.com/funamitech/mastodon synced 2024-12-12 21:59:04 +09:00
YuruToot/app/javascript/flavours/glitch/features/about/index.js

34 lines
755 B
JavaScript
Raw Normal View History

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>
);
}
}