Cleanup
This commit is contained in:
@@ -27,23 +27,6 @@
|
||||
*/
|
||||
onMount(() => {
|
||||
animateIn(scope)
|
||||
|
||||
// Parallax on photo when the image has been loaded
|
||||
// const parallaxNumber = basicScroll.default.create({
|
||||
// elem: photoElement.querySelector('.photo__number'),
|
||||
// direct: photoElement,
|
||||
// from: 'top-bottom',
|
||||
// to: 'bottom-top',
|
||||
// props: {
|
||||
// '--translate': {
|
||||
// from: '-75%',
|
||||
// to: '-25%'
|
||||
// }
|
||||
// }
|
||||
// })
|
||||
// parallaxNumber.start()
|
||||
// parallaxNumber.calculate()
|
||||
// parallaxNumber.update()
|
||||
})
|
||||
</script>
|
||||
|
||||
@@ -69,8 +52,8 @@
|
||||
<source media="(min-width: 300px)" data-srcset={getThumbnail(photo.image.private_hash, 400)}>
|
||||
<img src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAYAAAAfFcSJAAAADUlEQVR42mP8/+HRfwAJmQPS6gISLwAAAABJRU5ErkJggg=="
|
||||
data-src="{getThumbnail(photo.image.private_hash, 900)}"
|
||||
width={defaultWidth} height={defaultHeight}
|
||||
alt={imgAlt}
|
||||
width={defaultWidth} height={defaultHeight}
|
||||
class="lazyload"
|
||||
>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user