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