mirror of
https://github.com/rjNemo/ticket_manager
synced 2026-06-06 08:46:39 +00:00
[UI] updated ProjectCard
This commit is contained in:
parent
4469039757
commit
5d5549e1ba
2 changed files with 4 additions and 7 deletions
|
|
@ -55,3 +55,4 @@
|
|||
- [ ] Refactor TabPanels code
|
||||
- [ ] Refactor Lists code
|
||||
- [ ] Query project members in UserPage
|
||||
- [ ] Query progression info in UserPage
|
||||
|
|
|
|||
|
|
@ -18,15 +18,14 @@ interface IProps {
|
|||
const useStyles = makeStyles((theme: Theme) =>
|
||||
createStyles({
|
||||
progress: {
|
||||
paddingTop: theme.spacing(4),
|
||||
paddingBottom: theme.spacing(4),
|
||||
paddingTop: theme.spacing(2),
|
||||
},
|
||||
})
|
||||
);
|
||||
|
||||
const ProjectCard: FC<IProps> = ({
|
||||
title,
|
||||
remainingDays,
|
||||
remainingDays = "",
|
||||
link = "#",
|
||||
members,
|
||||
progress = 0,
|
||||
|
|
@ -38,10 +37,7 @@ const ProjectCard: FC<IProps> = ({
|
|||
<>
|
||||
{members && <AvatarList users={members} />}
|
||||
<div className={classes.progress}>
|
||||
{/* <Typography variant="body2" component="p">
|
||||
Progression:
|
||||
</Typography> */}
|
||||
<ProgressInfo />
|
||||
<ProgressInfo remainingDays={getRemainingdays(remainingDays)} />
|
||||
</div>
|
||||
</>
|
||||
);
|
||||
|
|
|
|||
Loading…
Reference in a new issue