Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Jay Mehta
/
zango-frontend
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Registry
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Commit df4f60fa
authored
2024-06-06 16:06:53 +0530
by
Ravindra Kanojiya
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'master' of
https://git.logicloop.io/jaymehta/zango-frontend
2 parents
b1d576cd
e5e68d85
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
4 deletions
components/admin/ActivityDetailGallaryModal.js
components/admin/ActivityDetailGallaryModal.js
View file @
df4f60f
import
{
Modal
}
from
"antd"
import
{
Empty
,
Modal
}
from
"antd"
import
Image
from
"next/image"
import
Image
from
"next/image"
import
{
cleanImage
}
from
'../../services/imageHandling.js'
import
{
cleanImage
}
from
'../../services/imageHandling.js'
const
ActivityDetailGallaryModal
=
({
activityDetailInfo
})
=>
{
const
ActivityDetailGallaryModal
=
({
activityDetailInfo
})
=>
{
return
(
return
(
<>
{
activityDetailInfo
[
0
].
attributes
.
imagesComponent
.
length
>
0
?
<
div
className
=
"p-4"
>
<
div
className
=
"p-4"
>
<
div
className
=
"row"
>
<
div
className
=
"row"
>
{
activityDetailInfo
[
0
].
attributes
.
imagesComponent
.
map
((
data
,
index
)
=>
(
{
activityDetailInfo
[
0
].
attributes
.
imagesComponent
.
map
((
data
,
index
)
=>
(
<
div
className
=
"col-4"
key
=
{
index
}
>
<
div
className
=
"col-4"
key
=
{
index
}
>
<
Image
className
=
"img-fluid"
height
=
{
400
}
width
=
{
400
}
alt
=
""
src
=
{
cleanImage
(
data
.
image
.
data
.
attributes
)}
/
>
<
Image
className
=
"img-fluid"
height
=
{
400
}
width
=
{
400
}
alt
=
""
src
=
{
cleanImage
(
data
.
image
.
data
.
attributes
)}
/
>
<
/div
>
<
/div
>
))}
))}
<
/div
>
<
/div
>
<
/div
>
<
/div
>
:
<
div
className
=
"d-flex align-items-center justify-content-center"
style
=
{{
height
:
'60vh'
}}
>
<
Empty
image
=
{
Empty
.
PRESENTED_IMAGE_SIMPLE
}
/
>
<
/div
>
}
<
/
>
)
)
}
}
...
...
Write
Preview
Styling with
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment