1 import { Component, OnInit } from '@angular/core';
3 export interface ISlide {
26 <carousel [interval]="carInterval" [(activeSlide)]="activeSlideIndex">
27 <slide *ngFor="let sl of slides; let index=index">
28 <img [src]="sl.img" [alt]="sl.imgAlt">
29 <div class="carousel-caption" *ngIf="sl.hText">
30 <h2>{{ sl.hText }}</h2>
39 export class HomeComponent {
41 public carInterval: number = 2000;
43 // FIXME SEB - Add more slides and info
44 public slides: ISlide[] = [
46 img: 'assets/images/iot-graphx.jpg',
47 imgAlt: "iot graphx image",
48 hText: "Welcome to XDS Dashboard !",
49 pText: "X(cross) Development System allows developers to easily cross-compile applications.",
52 //img: 'assets/images/beige.jpg',
53 //imgAlt: "beige image",
54 img: 'assets/images/iot-graphx.jpg',
55 imgAlt: "iot graphx image",
56 hText: "Create, Build, Deploy, Enjoy !",