Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file modified static/banner_imgs/NAPA00.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified static/banner_imgs/NAPA01.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified static/banner_imgs/NAPA03.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 2 additions & 4 deletions static/js/banner.js
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down
3 changes: 3 additions & 0 deletions templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,9 @@
href="{{ config.base_url | safe}}"
{% if current_path=='/' %}class="active" {% endif %}
>Home</a>
<a
href="https://www.napaonline.com/en/idm/roseau-dominica/store/24412"
>Order Parts</a>

{% set section_ = get_section(path="_index.md") -%}
{% for page_ in section_.pages -%}
Expand Down
Loading