Skip to content

Tasks Page Frontend #200

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 21, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 24 additions & 2 deletions src/components/Cards/TaskCard.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,20 +3,42 @@
import Card from '@mui/material/Card';
import TextField from '@mui/material/TextField';
import Radio from '@mui/material/Radio';
import NotesIcon from '@mui/icons-material/Notes';
import CalendarMonthIcon from '@mui/icons-material/CalendarMonth';
import Typography from "@mui/material/Typography";
import Button from "@mui/material/Button";


//React
import React from 'react';

export default function TaskCard() {
export default function TaskCard ()
{

return (
<>
<div style={{ justifyContent: 'center', display: 'flex' }}>

<Card sx={{ width: '50%', borderRadius: '0px' }}>
<div style={{ justifyContent: 'left', display: 'flex', alignItems:'center' }}>

<div style={{ justifyContent: 'left', display: 'flex', alignItems: 'center' }}>
<Radio size='small' />
<TextField placeholder='Title' variant='standard' sx={{ width: '100%' }} InputProps={{ disableUnderline: 'true' }} />
</div>

<div style={{ justifyContent: 'left', display: 'flex', alignItems: 'center' }}>
<NotesIcon sx={{ marginLeft: '1.1%' }} />
<TextField placeholder='Details' variant='standard' sx={{ width: '100%', marginLeft: '1%' }} InputProps={{ disableUnderline: 'true' }} />
</div>

<div style={{ justifyContent: 'left', display: 'flex', alignItems: 'center' }}>
<Button sx={{textTransform:'inherit', width:'100%', justifyContent:'left', borderRadius:'20px', color:'gray'}}>
<CalendarMonthIcon sx={{ color: 'gray' }} />
<Typography variant="body1" color="GrayText" sx={{ marginLeft: '1%' }}>
Date/time
</Typography>
</Button>
</div>
</Card>
</div>
</>
Expand Down
Loading