30 lines
818 B
JavaScript
Raw Normal View History

2016-08-18 11:41:13 +02:00
/*
* HomePage
*
* This is the first thing users see of our App, at the '/' route
2016-08-18 11:47:26 +02:00
*
* 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.
2016-08-18 11:41:13 +02:00
*/
import React from 'react';
import { FormattedMessage } from 'react-intl';
2016-09-02 17:52:34 +02:00
import { Link } from 'react-router';
2016-08-18 11:47:26 +02:00
import messages from './messages';
2016-08-18 11:41:13 +02:00
2016-08-18 11:47:26 +02:00
export default class HomePage extends React.Component { // eslint-disable-line react/prefer-stateless-function
2016-08-18 11:41:13 +02:00
render() {
return (
2016-08-26 14:42:58 +02:00
<div>
<h1>
<FormattedMessage {...messages.header} />
</h1>
2016-09-02 17:52:34 +02:00
<Link to="/plugins/settings-manager/databases">Databases</Link>
2016-08-26 14:42:58 +02:00
</div>
2016-08-18 11:41:13 +02:00
);
}
}