diff --git a/components/kat-kay-la.js b/components/kat-kay-la.js index 9741a35..f135d97 100644 --- a/components/kat-kay-la.js +++ b/components/kat-kay-la.js @@ -1,67 +1,24 @@ import PropTypes from 'prop-types' import {useRouter} from 'next/router' import { - Card, - CardContent, - CardActionArea, - Typography, - Grid + Grid, + Button } from '@mui/material' -import {styled} from '@mui/material/styles' -const PREFIX = 'kat-kay-la' - -const classes = { - root: `${PREFIX}-root`, - bullet: `${PREFIX}-bullet`, - title: `${PREFIX}-title`, - pos: `${PREFIX}-pos` -} - -const StyledGrid = styled(Grid)({ - [`& .${classes.root}`]: { - minWidth: 275 - }, - [`& .${classes.bullet}`]: { - display: 'inline-block', - margin: '0 2px', - transform: 'scale(0.8)' - }, - [`& .${classes.title}`]: { - fontSize: 14 - }, - [`& .${classes.pos}`]: { - marginBottom: 12 - } -}) - -export default function KatKayLa({tit, soutit, kantite, route}) { +export default function KatKayLa({tit, kantite, route}) { const router = useRouter() return ( - - - router.push(route).then(() => window.scrollTo(0, 0))}> - - - {tit} - - ({soutit}) - - - - {kantite} - - - - - + + + ) } KatKayLa.propTypes = { tit: PropTypes.string.isRequired, - soutit: PropTypes.string.isRequired, kantite: PropTypes.number.isRequired, route: PropTypes.string.isRequired }