home.component.ts 1.02 KB
Newer Older
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
import { Component, OnInit } from '@angular/core';

interface Lecturer {
  name:  string;
  image: string;
}

@Component({
  selector: 'app-home',
  templateUrl: './home.component.html',
  styleUrls: ['./home.component.scss']
})
export class HomeComponent implements OnInit {

  lecturers: Lecturer[] = [
      { image: 'https://picsum.photos/id/1001/84/84', name: 'Dr.K' },
      { image: 'https://picsum.photos/id/1002/84/84', name: 'Assist.Prof.Chayaporn' },
      { image: 'https://picsum.photos/id/1003/84/84', name: 'Dr.Tossaporn' },
      { image: 'https://picsum.photos/id/1004/84/84', name: 'Dr.Phaichayon' },
      { image: 'https://picsum.photos/id/1005/84/84', name: 'Dr.Woody' },
      { image: 'https://picsum.photos/id/1006/84/84', name: 'Aj.Wasana' },
      { image: 'https://picsum.photos/id/1027/84/84', name: 'Dr.Paul' },
      { image: 'https://picsum.photos/id/1008/84/84', name: 'Dr.Suphawadee' },
      { image: 'https://picsum.photos/id/1009/84/84', name: 'Aj.Wayo' }
   ];

  constructor() { }

  ngOnInit() {
  }

}