updating js, split class and object list into new file
This commit is contained in:
parent
400f5c6f0c
commit
c2b724a81b
3 changed files with 23 additions and 12 deletions
11
pages/GalleryIndex.js
Normal file
11
pages/GalleryIndex.js
Normal 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()
|
||||
]
|
Loading…
Add table
Add a link
Reference in a new issue