Carousel: Add URL to location

This commit is contained in:
2020-04-07 22:30:24 +02:00
parent fd8c718873
commit 9f405cc1d1
3 changed files with 29 additions and 29 deletions

View File

@@ -7,7 +7,8 @@
// Fields
const fields = [
'id', 'name', 'image.private_hash',
'location.id', 'location.name', 'location.slug', 'location.country.name'
'location.id', 'location.name', 'location.slug',
'location.country.name', 'location.country.slug'
]
// Random sort
const sort = '?'
@@ -97,7 +98,7 @@
</div>
<div id="intro-carousel">
<Carousel {photos} />
<Carousel {photos} locationUrl={true} />
<Fullscreen />
</div>
</section>