From fefa8205689e62dd37a925c0fe6f6a3734ec58a9 Mon Sep 17 00:00:00 2001 From: Oliver Date: Mon, 6 Sep 2021 09:56:15 +1000 Subject: [PATCH] Add apple store link --- _includes/carousel.html | 8 ++++---- _includes/splide_image.html | 2 +- docs/app/app.md | 9 +++++---- docs/index.md | 2 +- 4 files changed, 11 insertions(+), 10 deletions(-) diff --git a/_includes/carousel.html b/_includes/carousel.html index 82b5da1..4f4bde6 100644 --- a/_includes/carousel.html +++ b/_includes/carousel.html @@ -15,15 +15,15 @@ new Splide( '.splide', { type: 'loop', - perPage: 2, + perPage: {{ per_page }}, autoplay: true, pagination: false, // cover: true, - autoWidth: true, - height: '22rem', + // autoWidth: true, + height: '25rem', focus: 'center', padding: { - left: '35rem', + left: '5rem', right: '5rem', } } diff --git a/_includes/splide_image.html b/_includes/splide_image.html index d8c1dc9..fbf32ac 100644 --- a/_includes/splide_image.html +++ b/_includes/splide_image.html @@ -11,5 +11,5 @@ {% endif %}
  • - +
  • diff --git a/docs/app/app.md b/docs/app/app.md index 9591b68..bcd9263 100644 --- a/docs/app/app.md +++ b/docs/app/app.md @@ -2,7 +2,7 @@ title: InvenTree Mobile App --- -{% with directory="appgallery" %} +{% with directory="appgallery", per_page=2 %} {% include "carousel.html" %} {% endwith %} @@ -14,11 +14,12 @@ Native barcode support provides a multitude of context-sensitive stock control a ## Download +The InvenTree app can be downloaded from either the Android or Apple app stores, or accessed via the links below: + ### Android -The InvenTree App can be downloaded for Android devices via the [Play Store](https://play.google.com/store/apps/details?id=inventree.inventree_app). + [Android Play Store](https://play.google.com/store/apps/details?id=inventree.inventree_app). ### iOS -!!! missing "Not Yet Available" - The InvenTree app is not yet available for iOS devices + [Apple App Store](https://apps.apple.com/au/app/inventree/id1581731101#?platform=iphone) diff --git a/docs/index.md b/docs/index.md index 3b71d92..3b21453 100644 --- a/docs/index.md +++ b/docs/index.md @@ -10,7 +10,7 @@ hide: -------------- -{% with directory="indexgallery" %} +{% with directory="indexgallery", per_page=1 %} {% include "carousel.html" %} {% endwith %}