aboutsummaryrefslogtreecommitdiffstats
path: root/webapp/src/app/home/home.component.ts
blob: 66a2f307c10281033d122efe4f8fcce898117b58 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
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: 'xds-home',
    templateUrl: 'home.component.html',
    styleUrls: ['home.component.css']
})

export class HomeComponent {

    public carInterval = 4000;
    public activeSlideIndex = 0;

    // 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: '<p>To Start: click on <i class=\'fa fa-cog\' style=\'color:#9d9d9d;\'></i> icon and add new folder</p>',
        }
    ];

    constructor() { }
}