diff --git a/components/kat-kay-la.js b/components/kat-kay-la.js index ce5aab0..d092373 100644 --- a/components/kat-kay-la.js +++ b/components/kat-kay-la.js @@ -1,44 +1,29 @@ import PropTypes from 'prop-types' import {useRouter} from 'next/router' -import { - Card, - CardContent, - CardActionArea, - Typography, - Grid -} from '@mui/material' -import {styled} from '@mui/material/styles' - -const PREFIX = 'kat-kay-la' - -const classes = { - root: `${PREFIX}-root`, -} - -const StyledGrid = styled(Grid)({ - [`& .${classes.root}`]: { - minWidth: 275 - }, -}) +import Grid from '@mui/material/Grid' +import Card from '@mui/material/Card' +import CardActionArea from '@mui/material/CardActionArea' +import CardContent from '@mui/material/CardContent' +import Typography from '@mui/material/Typography' export default function KatKayLa({tit, kantite, href, as}) { const router = useRouter() return ( - - + + router.push(href, as).then(() => window.scrollTo(0, 0))}> - + {kantite} - + {tit} - + ) }