diff --git a/static/banner_imgs/NAPA00.jpg b/static/banner_imgs/NAPA00.jpg index b8349a2..00b88b3 100644 Binary files a/static/banner_imgs/NAPA00.jpg and b/static/banner_imgs/NAPA00.jpg differ diff --git a/static/banner_imgs/NAPA01.jpg b/static/banner_imgs/NAPA01.jpg index 00b88b3..5f64bbd 100644 Binary files a/static/banner_imgs/NAPA01.jpg and b/static/banner_imgs/NAPA01.jpg differ diff --git a/static/banner_imgs/NAPA03.jpg b/static/banner_imgs/NAPA03.jpg index 28a3eba..2acf127 100644 Binary files a/static/banner_imgs/NAPA03.jpg and b/static/banner_imgs/NAPA03.jpg differ diff --git a/static/js/banner.js b/static/js/banner.js index 49d54b4..75fca18 100644 --- a/static/js/banner.js +++ b/static/js/banner.js @@ -3,11 +3,9 @@ let timerCarousel; let carouselImgs; function advanceCarousel() { - let adjCurrImgIndex = (currImgIndex % 2 === 0) ? 0 : currImgIndex; - carouselImgs[adjCurrImgIndex].style.display = "none"; + carouselImgs[currImgIndex].style.display = "none"; currImgIndex = ++currImgIndex % carouselImgs.length; - adjCurrImgIndex = (currImgIndex % 2 === 0) ? 0 : currImgIndex; - carouselImgs[adjCurrImgIndex].style.display = "block"; + carouselImgs[currImgIndex].style.display = "block"; } function onClickHandlerAdvance() { diff --git a/templates/base.html b/templates/base.html index e806994..3db3e56 100644 --- a/templates/base.html +++ b/templates/base.html @@ -26,6 +26,9 @@ href="{{ config.base_url | safe}}" {% if current_path=='/' %}class="active" {% endif %} >Home + Order Parts {% set section_ = get_section(path="_index.md") -%} {% for page_ in section_.pages -%}