|
1 | 1 | import { ChangeDetectionStrategy, Component } from '@angular/core'; |
| 2 | +import { NgOptimizedImage } from '@angular/common'; |
2 | 3 | import { TranslocoModule } from '@jsverse/transloco'; |
| 4 | +import { IconGithubComponent } from '../../components/shared/icons/icon-github/icon-github.component'; |
| 5 | +import { IconLinkedinComponent } from '../../components/shared/icons/icon-linkedin/icon-linkedin.component'; |
3 | 6 |
|
4 | 7 | interface TeamMember { |
5 | 8 | readonly name: string; |
| 9 | + readonly image: string; |
6 | 10 | readonly github?: string; |
| 11 | + readonly linkedin?: string; |
7 | 12 | } |
8 | 13 |
|
9 | 14 | @Component({ |
10 | 15 | selector: 'app-team', |
11 | | - imports: [TranslocoModule], |
| 16 | + imports: [TranslocoModule, NgOptimizedImage, IconGithubComponent, IconLinkedinComponent], |
12 | 17 | templateUrl: './team.component.html', |
13 | 18 | changeDetection: ChangeDetectionStrategy.OnPush, |
14 | 19 | }) |
15 | 20 | export class TeamComponent { |
16 | 21 | protected readonly members: readonly TeamMember[] = [ |
17 | | - { name: 'Salvatore Rapisarda', github: 'https://github.com/salvo-rapisarda' }, |
18 | | - { name: 'Matteo Jacopo Schembri', github: 'https://github.com/mjschembri' }, |
19 | | - { name: 'Stefano Borzi' }, |
20 | | - { name: 'Claudio Faro' }, |
| 22 | + { name: 'Salvatore Rapisarda', image: '/images/about/SalvoRapisarda.jpeg', github: 'https://github.com/salvorapi', linkedin: 'https://www.linkedin.com/in/salvorapi/' }, |
| 23 | + { name: 'Matteo Jacopo Schembri', image: '/images/about/MatteoJacopoSchembri.jpeg', github: 'https://github.com/teosche', linkedin: 'https://www.linkedin.com/in/teosche/' }, |
| 24 | + { name: 'Stefano Borzi', image: '/images/about/StefanoBorzi.jpeg', github: 'https://github.com/Helias', linkedin: 'https://www.linkedin.com/in/stefanoborzi/' }, |
| 25 | + { name: 'Claudio Faro', image: '/images/about/ClaudioFaro.jpeg', github: 'https://github.com/kaesarct', linkedin: 'https://www.linkedin.com/in/claudio-faro-70128649/' }, |
21 | 26 | ]; |
22 | 27 | } |
0 commit comments