1 import { Component, OnInit } from '@angular/core';
2 import { ToolbarService } from './../toolbar/toolbar.service';
6 templateUrl: './home.component.html',
7 styleUrls: ['./home.component.scss']
9 export class HomeComponent implements OnInit {
10 // images = [944, 1011, 984].map((n) => `https://picsum.photos/id/${n}/900/500`);
11 images = ["./../../assets/images/iotlatest1.png","./../../assets/images/login2.jpg","./../../assets/images/iotlatest6.jpg"];
14 constructor(public toolbarService: ToolbarService) {
15 this.currentUser = localStorage.getItem('currentUser')? JSON.parse(localStorage.getItem('currentUser')) : '';
19 // this.toolbarService.show();
20 this.toolbarService.show();