created basic implementation of slideshow

This commit is contained in:
Nye Evans 2021-01-02 17:03:44 +00:00
parent ea75670078
commit c1881907db
7 changed files with 30 additions and 19 deletions

View file

@ -1,11 +1,12 @@
export class slide{
constructor(title, caption, image){
constructor(title, caption, image, link){
this.title = title;
this.caption = caption;
this.image = image;
this.link = link;
}
};
export var slides = [slide(),
slide(),
slide()
]
}
export var slides = [new slide("john", "he is john", "gallery/Cat_tower_defense/projectHeaderImage.png"),
new slide("james", "he is james", "gallery/EPQ_project/projectHeaderImage.png"),
new slide("jack", "he is jack", "gallery/Room_builder/projectHeaderImage.png")
];