Add lyannaj link and image
This commit is contained in:
@@ -2,6 +2,7 @@ import PropTypes from 'prop-types'
|
||||
import Backdrop from '@mui/material/Backdrop'
|
||||
import Image from 'next/image'
|
||||
import useMediaQuery from '@mui/material/useMediaQuery'
|
||||
import lyannaj from '../public/captures/lyannaj.png'
|
||||
import pale from '../public/captures/pale.png'
|
||||
import gade from '../public/captures/gade.png'
|
||||
import ouwe from '../public/captures/ouwe.png'
|
||||
@@ -12,6 +13,10 @@ import mizik from '../public/captures/mizik.png'
|
||||
export default function RezoImaj({tit, img, open, setOpen}) {
|
||||
const isSmallDevice = useMediaQuery('(max-width:1160px)')
|
||||
const getSource = source => {
|
||||
if (source === 'lyannaj') {
|
||||
return lyannaj
|
||||
}
|
||||
|
||||
if (source === 'pale') {
|
||||
return pale
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user