import {
AddHome,
Android,
Apple,
AutoAwesome,
Cloud,
GitHub,
InstallMobile,
Storage,
} from '@mui/icons-material'
import { Box, Button, Card, Container, Grid, Typography } from '@mui/joy'
import { useNavigate } from 'react-router-dom'
function StartOptionCard({ icon: Icon, title, description, button, index }) {
return (
{Icon}
{title}
{description}
{button}
)
}
const GettingStarted = () => {
const navigate = useNavigate()
const information = [
{
title: 'Donetick Web',
icon: ,
description:
'The easiest way! Just create account and start using Donetick',
button: (
}
onClick={() => {
navigate('/chores')
}}
>
Start Now!
),
},
{
title: 'Selfhosted',
icon: ,
description: 'Download the binary and manage your own Donetick instance',
button: (
}
onClick={() => {
window.open(
'https://github.com/donetick/donetick/releases',
'_blank',
)
}}
>
Github Releases
),
},
{
title: 'Hassio Addon',
icon: ,
description:
'Have Home Assistant? Install Donetick as a Home Assistant Addon with single click',
button: (
}
onClick={() => {
window.open(
'https://my.home-assistant.io/redirect/supervisor_add_addon_repository/?repository_url=https%3A%2F%2Fgithub.com%2Fdonetick%2Fhassio-addons',
)
}}
>
Add Addon
),
},
]
return (
{/* Section Header */}
Get Started Today
Ready to transform your household management? Start with our mobile
app for the best experience, or choose from our other convenient
options.
{/* Mobile App CTA Section - Primary */}
Get the full Donetick experience with notifications, realtime
updates, and seamless task management on the go
{/* App Store Badge */}
{
window.open(
'https://apps.apple.com/app/apple-store/id6742807441?pt=127258663&ct=website&mt=8',
'_blank',
)
}}
sx={{
cursor: 'pointer',
transition: 'all 0.3s ease',
}}
>
Download on the
App Store
{/* Google Play Badge */}
{
window.open(
'https://play.google.com/store/apps/details?id=com.donetick.app',
'_blank',
)
}}
sx={{
cursor: 'pointer',
transition: 'all 0.3s ease',
}}
>
Download for
Android
{/* Alternative Options Section */}
Other Ways to Get Started
Prefer a different setup? Choose from these alternatives
{/* Options Grid */}
{information.map((info, index) => (
))}
)
}
export default GettingStarted