generated from amosproj/amos202Xss0Y-projname
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #139 from amosproj/dev-#125
Implementation of #125
- Loading branch information
Showing
12 changed files
with
594 additions
and
4 deletions.
There are no files selected for viewing
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
59 changes: 59 additions & 0 deletions
59
frontend/src/components/mydashboard/MydashboardComponent.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,59 @@ | ||
import React from 'react'; | ||
import { Column } from 'simple-flexbox'; | ||
import { createUseStyles } from 'react-jss'; | ||
import MydashboardItemComponent from './MydashboardItemComponent'; | ||
import { Container } from 'react-grid-system'; | ||
|
||
const useStyles = createUseStyles({ | ||
cardsContainer: { | ||
marginRight: -30, | ||
marginTop: -30 | ||
}, | ||
cardRow: { | ||
marginTop: 30, | ||
'@media (max-width: 768px)': { | ||
marginTop: 0 | ||
} | ||
}, | ||
miniCardContainer: { | ||
flexGrow: 1, | ||
marginRight: 30, | ||
'@media (max-width: 768px)': { | ||
marginTop: 30, | ||
maxWidth: 'none' | ||
} | ||
}, | ||
todayTrends: { | ||
marginTop: 30 | ||
}, | ||
lastRow: { | ||
marginTop: 30 | ||
}, | ||
unresolvedTickets: { | ||
marginRight: 30, | ||
'@media (max-width: 1024px)': { | ||
marginRight: 0 | ||
} | ||
}, | ||
tasks: { | ||
marginTop: 0, | ||
'@media (max-width: 1024px)': { | ||
marginTop: 30 | ||
} | ||
} | ||
}); | ||
|
||
function DashboardComponent() { | ||
const classes = useStyles(); | ||
return ( | ||
<Container> | ||
<Column> | ||
<div className={classes.todayTrends}> | ||
<MydashboardItemComponent /> | ||
</div> | ||
</Column> | ||
</Container> | ||
); | ||
} | ||
|
||
export default DashboardComponent; |
Oops, something went wrong.