2024-06-30 18:55:39 -04:00
import {
AutoAwesomeMosaicOutlined ,
AutoAwesomeRounded ,
CodeRounded ,
GroupRounded ,
HistoryRounded ,
Webhook ,
} from '@mui/icons-material'
import Card from '@mui/joy/Card'
import Container from '@mui/joy/Container'
import Typography from '@mui/joy/Typography'
import { styled } from '@mui/system'
const FeatureIcon = styled ( 'div' ) ( {
display : 'flex' ,
alignItems : 'center' ,
justifyContent : 'center' ,
backgroundColor : '#f0f0f0' , // Adjust the background color as needed
borderRadius : '50%' ,
minWidth : '60px' ,
height : '60px' ,
marginRight : '16px' ,
} )
const CardData = [
{
title : 'Open Source & Transparent' ,
2024-07-13 01:54:23 -04:00
2024-06-30 18:55:39 -04:00
description :
2024-07-13 01:54:23 -04:00
'Donetick is open source software. You can view, modify, and contribute to the code on GitHub.' ,
2024-06-30 18:55:39 -04:00
icon : CodeRounded ,
} ,
{
title : 'Circles: Your Task Hub' ,
description :
2024-07-13 01:54:23 -04:00
'build with sharing in mind. invite other to the circle and you can assign tasks to each other. and only see the tasks the should be shared' ,
2024-06-30 18:55:39 -04:00
icon : GroupRounded ,
} ,
{
title : 'Track Your Progress' ,
description :
2024-07-13 01:54:23 -04:00
'View a history of completed tasks. or use things to track simply things!' ,
2024-06-30 18:55:39 -04:00
icon : HistoryRounded ,
} ,
{
2024-07-13 01:54:23 -04:00
title : 'Automated Task Scheduling' ,
2024-06-30 18:55:39 -04:00
description :
2024-07-13 01:54:23 -04:00
'Set up Tasks to repeat daily, weekly, or monthly, or maybe specifc day in specifc months? Donetick have a flexible scheduling system' ,
2024-06-30 18:55:39 -04:00
icon : AutoAwesomeMosaicOutlined ,
} ,
{
title : 'Automated Task Assignment' ,
description :
2024-07-13 01:54:23 -04:00
'For shared tasks, Donetick can randomly rotate assignments or choose based on last completion or least assigned.' ,
2024-06-30 18:55:39 -04:00
icon : AutoAwesomeRounded ,
} ,
{
title : 'Integrations & Webhooks' ,
description :
2024-07-13 01:54:23 -04:00
'Donetick can update things programmatically with API call. you can update things from other services like IFTTT, Homeassistant or even your own service' ,
2024-06-30 18:55:39 -04:00
icon : Webhook ,
} ,
]
function Feature2 ( { icon : Icon , title , headline , description , index } ) {
return (
< Card
variant = 'plain'
sx = { { textAlign : 'left' , p : 2 } }
data - aos - delay = { 100 * index }
data - aos - anchor = '[data-aos-id-features2-blocks]'
data - aos = 'fade-up'
>
< div style = { { display : 'flex' , alignItems : 'center' } } >
< FeatureIcon >
< Icon
color = 'primary'
2024-07-13 01:54:23 -04:00
style = { { Width : '30px' , height : '30px' , fontSize : '30px' } }
2024-06-30 18:55:39 -04:00
stroke = { 1.5 }
/ >
< / FeatureIcon >
< div >
{ /* Changes are within this div */ }
< Typography level = 'h4' mt = { 1 } mb = { 0.5 } >
{ title }
< / Typography >
< Typography level = 'body-sm' color = 'neutral' lineHeight = { 1.4 } >
{ headline }
< / Typography >
< / div >
< / div >
< Typography level = 'body-md' color = 'neutral' lineHeight = { 1.6 } >
{ description }
< / Typography >
< / Card >
)
}
function FeaturesSection ( ) {
const features = CardData . map ( ( feature , index ) => (
< Feature2
icon = { feature . icon }
title = { feature . title }
2024-07-13 01:54:23 -04:00
// headline={feature.headline}
2024-06-30 18:55:39 -04:00
description = { feature . description }
index = { index }
key = { index }
/ >
) )
return (
< Container sx = { { textAlign : 'center' } } >
2024-07-02 00:49:43 -04:00
< Typography level = 'h4' mt = { 2 } mb = { 4 } >
2024-07-13 01:54:23 -04:00
Why Donetick ?
2024-07-02 00:49:43 -04:00
< / Typography >
< Container maxWidth = { 'lg' } sx = { { mb : 8 } } > < / Container >
2024-06-30 18:55:39 -04:00
< div
className = 'align-center mt-8 grid grid-cols-1 gap-4 sm:grid-cols-2 lg:grid-cols-3'
data - aos - id - features2 - blocks
>
{ features }
< / div >
< / Container >
)
}
export default FeaturesSection