Add OkiMizik to TeksDrawer

This commit is contained in:
2021-01-12 21:58:08 +01:00
parent e5f8919872
commit 75db8e34d1
+5 -1
View File
@@ -22,6 +22,7 @@ import {makeStyles, useTheme} from '@material-ui/core/styles'
import DrawerBar from './drawer-bar' import DrawerBar from './drawer-bar'
import DenyeTeks from './denye-teks' import DenyeTeks from './denye-teks'
import VweKouteAchte from './vwe-koute-achte' import VweKouteAchte from './vwe-koute-achte'
import OkiMizik from './oki-mizik'
const drawerWidth = 240 const drawerWidth = 240
@@ -182,9 +183,12 @@ export default function TeksDrawer({teks, anTeks}) {
<main className={classes.content}> <main className={classes.content}>
{anTeks ? ( {anTeks ? (
<> <>
<Typography noWrap align='center' style={{marginTop: '0.5em'}} variant='h3'> <Typography noWrap align='center' style={{marginTop: '0.8em'}} variant='h4'>
{anTeks.tit} {anTeks.tit}
</Typography> </Typography>
{anTeks.okiMizikID && (
<OkiMizik id={anTeks.okiMizikID} />
)}
<Grid container className={classes.grid} spacing={3}> <Grid container className={classes.grid} spacing={3}>
<Grid item md className={classes.gridText}> <Grid item md className={classes.gridText}>
<Typography align='center' className={classes.text} variant='h4'> <Typography align='center' className={classes.text} variant='h4'>