2023-03-03 23:54:19 +00:00
|
|
|
|
import {Box, Button, Typography} from "@mui/material";
|
2023-05-10 17:35:30 +00:00
|
|
|
|
import CardWithImage from "./CardWithImage";
|
2023-03-03 23:54:19 +00:00
|
|
|
|
import cardImage1 from "../../assets/card-1.png";
|
|
|
|
|
import cardImage2 from "../../assets/card-2.png";
|
|
|
|
|
import cardImage3 from "../../assets/card-3.png";
|
2023-03-01 22:59:51 +00:00
|
|
|
|
|
2023-03-03 23:54:19 +00:00
|
|
|
|
interface HandleNext {
|
|
|
|
|
handleNext: () => void
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export default function Steptwo ({handleNext}:HandleNext) {
|
2023-03-01 22:59:51 +00:00
|
|
|
|
return (
|
2023-03-03 23:54:19 +00:00
|
|
|
|
<Box sx={{
|
|
|
|
|
mt: "60px",
|
|
|
|
|
}}>
|
|
|
|
|
<Typography variant="h5">Стартовая страница</Typography>
|
|
|
|
|
|
|
|
|
|
<Box sx={{
|
|
|
|
|
display: "flex",
|
|
|
|
|
gap: "3.4%",
|
|
|
|
|
mt: "40px",
|
|
|
|
|
}}>
|
|
|
|
|
<Button variant='text'
|
|
|
|
|
onClick={() => handleNext()}
|
|
|
|
|
>
|
|
|
|
|
<CardWithImage image={cardImage1} text="Standart" />
|
|
|
|
|
</Button>
|
|
|
|
|
<Button variant='text'
|
|
|
|
|
onClick={() => handleNext()}
|
|
|
|
|
>
|
|
|
|
|
<CardWithImage image={cardImage2} text="Expanded" />
|
|
|
|
|
</Button>
|
|
|
|
|
<Button variant='text'
|
|
|
|
|
onClick={() => handleNext()}
|
|
|
|
|
>
|
|
|
|
|
<CardWithImage image={cardImage3} text="Centered" />
|
|
|
|
|
</Button>
|
|
|
|
|
</Box>
|
|
|
|
|
</Box>
|
2023-03-01 22:59:51 +00:00
|
|
|
|
)
|
|
|
|
|
}
|