created basic implementation of slideshow
This commit is contained in:
parent
ea75670078
commit
c1881907db
7 changed files with 30 additions and 19 deletions
|
@ -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")
|
||||
];
|
Loading…
Add table
Add a link
Reference in a new issue