Further improvements to Galleries
This commit is contained in:
parent
ef7cfccab8
commit
f365918b80
3 changed files with 8 additions and 3 deletions
|
|
@ -309,9 +309,13 @@
|
|||
}
|
||||
|
||||
.carousel {
|
||||
height: 100%
|
||||
|
||||
}
|
||||
|
||||
.carousel-item {
|
||||
display: block
|
||||
}
|
||||
|
||||
.carousel-item img {
|
||||
max-height: 667px;
|
||||
}
|
||||
|
|
@ -31,8 +31,7 @@ const GalleryCarousel = ({galleryImages, basepath, gallery}) => {
|
|||
alt={item.attributes.Title}
|
||||
></Image></Link>
|
||||
<Carousel.Caption >
|
||||
<h3>{item.title}</h3>
|
||||
<p>{item.body}</p>
|
||||
<h3>{item.attributes.Title}</h3>
|
||||
</Carousel.Caption>
|
||||
</Carousel.Item>
|
||||
)
|
||||
|
|
|
|||
|
|
@ -19,6 +19,8 @@ export async function getServerSideProps(context) {
|
|||
|
||||
const galleryImages = await getGalleryImages(context.params.gallery, page, 9)
|
||||
|
||||
console.log(galleryImages)
|
||||
|
||||
const { serverRuntimeConfig } = getConfig()
|
||||
|
||||
const pagedata = {
|
||||
|
|
|
|||
Loading…
Reference in a new issue