X-Git-Url: https://gerrit.automotivelinux.org/gerrit/gitweb?a=blobdiff_plain;f=webapp%2Fsrc%2Fapp%2Fhome%2Fhome.component.ts;h=66a2f307c10281033d122efe4f8fcce898117b58;hb=fb2f6b918beb0a994ad304bfd678ef0c5c562210;hp=0e3c9958cd5ec08cf23df94fd24e800365a44ee2;hpb=c51d5034d527578da70bdd41b9ce13f28455c598;p=src%2Fxds%2Fxds-agent.git diff --git a/webapp/src/app/home/home.component.ts b/webapp/src/app/home/home.component.ts index 0e3c995..66a2f30 100644 --- a/webapp/src/app/home/home.component.ts +++ b/webapp/src/app/home/home.component.ts @@ -12,70 +12,35 @@ export interface ISlide { } @Component({ - selector: 'home', - moduleId: module.id, - template: ` - - -
- - - - - - -
- ` + selector: 'xds-home', + templateUrl: 'home.component.html', + styleUrls: ['home.component.css'] }) export class HomeComponent { - public carInterval: number = 4000; + 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.", + 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 !", + 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

', + imgAlt: 'iot graphx image', + hHtml: '

To Start: click on icon and add new folder

', } ]; constructor() { } -} \ No newline at end of file +}