aboutsummaryrefslogtreecommitdiffstats
path: root/src/views/SummaryCard.jsx
diff options
context:
space:
mode:
authorLibravatar Mo Tarbin <mhed.t91@gmail.com>2024-06-30 18:55:39 -0400
committerLibravatar Mo Tarbin <mhed.t91@gmail.com>2024-06-30 18:55:39 -0400
commit2657469964e24ffbeb905024532120395f6e797c (patch)
tree2fe9db8a4ecfa92d854ca94f7586d81163c8bd25 /src/views/SummaryCard.jsx
downloaddonetick-frontend-2657469964e24ffbeb905024532120395f6e797c.tar.gz
donetick-frontend-2657469964e24ffbeb905024532120395f6e797c.tar.bz2
donetick-frontend-2657469964e24ffbeb905024532120395f6e797c.zip
move to Donetick Org, First commit frontend
Diffstat (limited to '')
-rw-r--r--src/views/SummaryCard.jsx31
1 files changed, 31 insertions, 0 deletions
diff --git a/src/views/SummaryCard.jsx b/src/views/SummaryCard.jsx
new file mode 100644
index 0000000..ac1d23a
--- /dev/null
+++ b/src/views/SummaryCard.jsx
@@ -0,0 +1,31 @@
+import { Card, IconButton, Typography } from '@mui/joy'
+
+const SummaryCard = () => {
+ return (
+ <Card>
+ <div className='flex justify-between'>
+ <div>
+ <Typography level='h2'>Summary</Typography>
+ <Typography level='body-xs'>
+ This is a summary of your chores
+ </Typography>
+ </div>
+ <IconButton>
+ <MoreVert />
+ </IconButton>
+ </div>
+ <div className='flex justify-between'>
+ <div>
+ <Typography level='h3'>Due Today</Typography>
+ <Typography level='h1'>3</Typography>
+ </div>
+ <div>
+ <Typography level='h3'>Overdue</Typography>
+ <Typography level='h1'>1</Typography>
+ </div>
+ </div>
+ </Card>
+ )
+}
+
+export default SummaryCard