Homepage: Enable Fullscreen on Carousel
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
@@ -145,7 +145,7 @@
|
|||||||
class:gallery__photo--prev={photo === prevPhoto}
|
class:gallery__photo--prev={photo === prevPhoto}
|
||||||
class:gallery__photo--active={photo === currentPhoto}
|
class:gallery__photo--active={photo === currentPhoto}
|
||||||
class:gallery__photo--next={photo === nextPhoto}
|
class:gallery__photo--next={photo === nextPhoto}
|
||||||
on:click={event => viewer && fullscreen.set(currentPhoto)}
|
on:click={event => fullscreen.set(currentPhoto)}
|
||||||
>
|
>
|
||||||
<source media="(min-width: 968px)" srcset={getThumbnail(photo.image.private_hash, 1400)}>
|
<source media="(min-width: 968px)" srcset={getThumbnail(photo.image.private_hash, 1400)}>
|
||||||
<source media="(min-width: 800px)" srcset={getThumbnail(photo.image.private_hash, 900)}>
|
<source media="(min-width: 800px)" srcset={getThumbnail(photo.image.private_hash, 900)}>
|
||||||
|
|||||||
@@ -45,6 +45,7 @@
|
|||||||
import IconGlobe from '../atoms/IconGlobe'
|
import IconGlobe from '../atoms/IconGlobe'
|
||||||
import InteractiveGlobe from '../molecules/InteractiveGlobe'
|
import InteractiveGlobe from '../molecules/InteractiveGlobe'
|
||||||
import Carousel from '../organisms/Carousel'
|
import Carousel from '../organisms/Carousel'
|
||||||
|
import Fullscreen from '../organisms/Fullscreen'
|
||||||
import Locations from '../organisms/Locations'
|
import Locations from '../organisms/Locations'
|
||||||
import Footer from '../organisms/Footer'
|
import Footer from '../organisms/Footer'
|
||||||
import SocialMetas from '../utils/SocialMetas'
|
import SocialMetas from '../utils/SocialMetas'
|
||||||
@@ -106,6 +107,8 @@
|
|||||||
|
|
||||||
<div id="intro-carousel">
|
<div id="intro-carousel">
|
||||||
<Carousel {photos} />
|
<Carousel {photos} />
|
||||||
|
|
||||||
|
<Fullscreen />
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user