2016-09-02 17:52:34 +02:00

30 lines
818 B
JavaScript

/*
* HomePage
*
* This is the first thing users see of our App, at the '/' route
*
* NOTE: while this component should technically be a stateless functional
* component (SFC), hot reloading does not currently support SFCs. If hot
* reloading is not a neccessity for you then you can refactor it and remove
* the linting exception.
*/
import React from 'react';
import { FormattedMessage } from 'react-intl';
import { Link } from 'react-router';
import messages from './messages';
export default class HomePage extends React.Component { // eslint-disable-line react/prefer-stateless-function
render() {
return (
<div>
<h1>
<FormattedMessage {...messages.header} />
</h1>
<Link to="/plugins/settings-manager/databases">Databases</Link>
</div>
);
}
}