import { Component, OnInit } from '@angular/core';
export interface ISlide {
img?: string;
imgAlt?: string;
hText?: string;
hHtml?: string;
text?: string;
html?: string;
btn?: string;
btnHref?: string;
}
@Component({
selector: 'home',
moduleId: module.id,
template: `
{{ sl.hText }}
{{ sl.text }}
`
})
export class HomeComponent {
public carInterval: number = 4000;
// FIXME SEB - Add more slides and info
public slides: ISlide[] = [
{
img: 'assets/images/iot-graphx.jpg',
imgAlt: "iot graphx image",
hText: "Welcome to XDS Dashboard !",
text: "X(cross) Development System allows developers to easily cross-compile applications.",
},
{
img: 'assets/images/iot-graphx.jpg',
imgAlt: "iot graphx image",
hText: "Create, Build, Deploy, Enjoy !",
},
{
img: 'assets/images/iot-graphx.jpg',
imgAlt: "iot graphx image",
hHtml: 'To Start: click on icon and add new folder
',
}
];
constructor() { }
}