import { AddHome, AutoAwesome, Cloud, GitHub, InstallMobile, Storage, } from '@mui/icons-material' import { Box, Button, Card, Grid, styled, Typography } from '@mui/joy' import { useNavigate } from 'react-router-dom' const IconContainer = styled('div')({ display: 'flex', alignItems: 'center', justifyContent: 'center', borderRadius: '50%', minWidth: '60px', height: '60px', marginRight: '16px', }) const ButtonContainer = styled('div')({ display: 'flex', justifyContent: 'center', marginTop: 'auto', }) function StartOptionCard({ icon: Icon, title, description, button, index }) { return ( {/* Changes are within this div */} {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: ( ), }, { title: 'Selfhosted', icon: , description: 'Download the binary and manage your own DoneTick instance', button: ( ), }, { title: 'Hassio Addon', icon: , description: 'have Home Assistant? install DoneTick as a Home Assistant Addon with single click', button: ( ), }, ] return ( Getting Started you can start using DoneTick in multiple ways, easiest way is to use Donetick Web and you can start in seconds, or if you are into selfhosting you can download the binary and run it on your own server, or if you are using Home Assistant you can install DoneTick as a Home Assistant Addon
{information.map((info, index) => ( ))}
) } export default GettingStarted