Entries to show in the slide show

let entry: SlideEntry = {
imagePath: "/images/slide/1.jpg",
title: "First Slide",
content: "This is first slide",
link: "/to-some-page",
};
interface SlideEntry {
    content: string;
    imagePath: string;
    link?: string;
    title: string;
}

Properties

content: string

text to show in the p element

imagePath: string

path to the image

link?: string

optional link to a page

title: string

text to show in the h1 element