2
0
mirror of https://github.com/inventree/inventree-website.git synced 2025-06-13 02:25:31 +00:00

Update app page with new "hero" approach

This commit is contained in:
Oliver Walters
2022-08-09 12:00:21 +10:00
parent 43159f75eb
commit 74e4e659af
3 changed files with 4 additions and 32 deletions

View File

@ -50,11 +50,11 @@
document.addEventListener( 'DOMContentLoaded', function () {
new Splide('#image-carousel', {
type: 'loop',
perPage: 1,
perMove: 1,
perPage: {% if include.perPage %}{{ include.perPage }}{% else %}1{% endif %},
autoPlay: true,
pagination: false,
}).mount();
});
</script>
{% endif %}