
import { sendGoal } from '@utils';
import styles from './ButtonGroup.module.css';

export const ButtonGroup = () => {

    const handleDownloadApp = () => {
        sendGoal('download_app_clicked');
    };

    const handleGettingStarted = () => {
        sendGoal('getting_started_clicked');
    };

    return (
        <>
            <div className={styles.row}>
                <a href='https://setka.onelink.me/tQlI/k82d3mhf' target='_blank' className={styles.button_solid} onClick={handleDownloadApp}>скачать сетку</a>
                <a href='#steps' className={styles.button_outline} onClick={handleGettingStarted}>с чего начать</a>
            </div>
        </>
    )

}