clearing files, will readd them later

This commit is contained in:
Nye Evans 2021-01-01 18:05:20 +00:00
parent cc3f55d055
commit 6aa08fabbd
21 changed files with 0 additions and 714 deletions

View file

@ -1,24 +0,0 @@
import {slidem, slides} from "GalleryIndex.js";
var currentSlide = 0;
function nextSlide(){
currentSlide++;
updateSlide();
}
function lastSlide(){
currentSlide--;
updateSlide();
}
function updateSlide(){
if (currentSlide > slides.length){
currentSlide = 0;
} else if (currentSlide < 0){
currentSlide = slides.length;
}
console.log(slides[currentSlide]);
}

View file

@ -1,11 +0,0 @@
export class slide{
constructor(title, caption, image){
this.title = title;
this.caption = caption;
this.image = image;
}
};
export var slides = [slide(),
slide(),
slide()
]

Binary file not shown.

Before

Width:  |  Height:  |  Size: 18 KiB