Skip to content
This repository has been archived by the owner on Jan 1, 2024. It is now read-only.

Commit

Permalink
fix(dashboard): remove "dumb container"
Browse files Browse the repository at this point in the history
fix(dashboard): remove "dumb container"
  • Loading branch information
Metnew committed Feb 18, 2018
1 parent 3979fd6 commit 653cc93
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 34 deletions.
32 changes: 0 additions & 32 deletions src/common/containers/Dashboard/components/index.jsx

This file was deleted.

25 changes: 23 additions & 2 deletions src/common/containers/Dashboard/index.jsx
Original file line number Diff line number Diff line change
@@ -1,15 +1,36 @@
// @flow
import React from 'react'
import {Helmet} from 'react-helmet'
import DashboardComponent from './components'
import {Grid, Header} from 'semantic-ui-react'
import {FormattedMessage} from 'react-intl'

const Dashboard = () => {
return (
<div>
<Helmet>
<title>Suicrux:Dashboard</title>
</Helmet>
<DashboardComponent />
<Grid columns={1}>
<Grid.Row centered>
<Grid.Column width={16}>
<Header as="h1">
<FormattedMessage id="Dashboard.h1" />
</Header>
<Header as="h2">
<FormattedMessage id="Dashboard.h2-1" />
</Header>
<p>
<FormattedMessage id="Dashboard.p-1" />
</p>
<Header as="h2">
<FormattedMessage id="Dashboard.h2-2" />
</Header>
<p>
<FormattedMessage id="Dashboard.p-2" />
</p>
</Grid.Column>
</Grid.Row>
</Grid>
</div>
)
}
Expand Down

0 comments on commit 653cc93

Please sign in to comment.