import React, { useState } from 'react'; import { useTranslation } from 'react-i18next'; import { Box, Button, Grid, Typography, useTheme } from '@mui/material'; import { RoboSatsTextIcon } from '../../components/Icons'; import { FastForward, RocketLaunch, Key } from '@mui/icons-material'; import { genBase62Token } from '../../utils'; interface WelcomeProps { setView: (state: 'welcome' | 'onboarding' | 'recovery' | 'profile') => void; getGenerateRobot: (token: string) => void; width: number; } const Welcome = ({ setView, width, getGenerateRobot }: WelcomeProps): JSX.Element => { const { t } = useTranslation(); const theme = useTheme(); return ( {t('A Simple and Private LN P2P Exchange')} {t('Create a new robot and learn to use RoboSats')} {t('Recover an existing robot using your token')} ); }; export default Welcome;