Skip to content

Tasks page development #196

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

Closed
wants to merge 8 commits into from
Closed
Show file tree
Hide file tree
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
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v2
with:
node-version: '20'
node-version: '22'

- name: Install dependencies
run: npm install
Expand Down
15 changes: 8 additions & 7 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,4 +43,4 @@
"eslint-config-next": "^14.1.3",
"typescript": "^5.3.3"
}
}
}
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