updating js, split class and object list into new file

This commit is contained in:
Nye Evans 2021-01-01 17:48:27 +00:00
parent 400f5c6f0c
commit c2b724a81b
3 changed files with 23 additions and 12 deletions

11
pages/GalleryIndex.js Normal file
View file

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