diff --git a/_includes/app_carousel.html b/_includes/app_carousel.html deleted file mode 100644 index fee80251..00000000 --- a/_includes/app_carousel.html +++ /dev/null @@ -1,26 +0,0 @@ - - - diff --git a/_includes/block/hero.html b/_includes/block/hero.html index a55bc302..c8245858 100644 --- a/_includes/block/hero.html +++ b/_includes/block/hero.html @@ -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(); }); - {% endif %} diff --git a/extend/app.md b/extend/app.md index f0c2bb65..80ed77d9 100644 --- a/extend/app.md +++ b/extend/app.md @@ -1,14 +1,12 @@ --- +layout: default title: InvenTree Mobile App --- - -The InvenTree Mobile App brings stock control to your pocket. Integrating seamlessly with the [InvenTree API](../extend/api.md), the app provides immediate access to inventory data without requiring physical access to a computer. +{% include block/hero.html title='Mobile stock control' title_2='in the' color='palm of your hand' gallery='appgallery/' perPage=3 detail='The InvenTree Mobile App brings stock control to your pocket. Integrating seamlessly with the InvenTree API, the app provides immediate access to inventory data wherever you are.' %} Native barcode support provides a multitude of context-sensitive stock control actions, allowing streamlined inventory management at your fingertips. The app has been optimized for speed, providing instant access to stock knowledge and handy on-site functionality. -{% include app_carousel.html %} - ### Features Core app features include: