fix: handle images in gallery
This commit is contained in:
+2
-9
@@ -106,11 +106,8 @@ const Gallery = (dataImage) => {
|
|||||||
{/* <Tab on className={'bk font-weight-bold'} _selected={{ color: 'white', bg: 'teal.500' }}>ویدئو ها</Tab> */}
|
{/* <Tab on className={'bk font-weight-bold'} _selected={{ color: 'white', bg: 'teal.500' }}>ویدئو ها</Tab> */}
|
||||||
<Tab className={'bk font-weight-bold'} _selected={{ color: 'white', bg: 'teal.500' }}>تصاویر</Tab>
|
<Tab className={'bk font-weight-bold'} _selected={{ color: 'white', bg: 'teal.500' }}>تصاویر</Tab>
|
||||||
</TabList>
|
</TabList>
|
||||||
<TabPanels>
|
|
||||||
<TabPanel>
|
</Tabs>
|
||||||
<APV />
|
|
||||||
</TabPanel>
|
|
||||||
<TabPanel>
|
|
||||||
<div style={{ flexDirection: 'column' }} className={'flex justify-content-end flex-xl-row flex-lg-row flex-md-column flex-sm-column'}>
|
<div style={{ flexDirection: 'column' }} className={'flex justify-content-end flex-xl-row flex-lg-row flex-md-column flex-sm-column'}>
|
||||||
<MDBBtn onClick={() => Filter(2)} color={filterId === 2 ? 'light' : 'light'} className={filterId === 2 ? 'm-2' : 'm-2 text-dark'}>تصاویر در حال ساخت</MDBBtn>
|
<MDBBtn onClick={() => Filter(2)} color={filterId === 2 ? 'light' : 'light'} className={filterId === 2 ? 'm-2' : 'm-2 text-dark'}>تصاویر در حال ساخت</MDBBtn>
|
||||||
<MDBBtn onClick={() => Filter(1)} color={filterId === 1 ? 'light' : 'light'} className={'m-2'}>تصاویر معماری</MDBBtn>
|
<MDBBtn onClick={() => Filter(1)} color={filterId === 1 ? 'light' : 'light'} className={'m-2'}>تصاویر معماری</MDBBtn>
|
||||||
@@ -140,10 +137,6 @@ const Gallery = (dataImage) => {
|
|||||||
)
|
)
|
||||||
})}
|
})}
|
||||||
</MDBRow>
|
</MDBRow>
|
||||||
</TabPanel>
|
|
||||||
</TabPanels>
|
|
||||||
</Tabs>
|
|
||||||
|
|
||||||
<LightBox
|
<LightBox
|
||||||
state={toggle}
|
state={toggle}
|
||||||
event={lightBoxHandler}
|
event={lightBoxHandler}
|
||||||
|
|||||||
Reference in New Issue
Block a user