diff --git a/src/app/about-us/about-us.component.html b/src/app/about-us/about-us.component.html index cec3488..5ad5da6 100644 --- a/src/app/about-us/about-us.component.html +++ b/src/app/about-us/about-us.component.html @@ -37,30 +37,28 @@ fxLayout.lt-md="column" fxLayoutGap="2%" > - -
- -
-

Dan Funk

-

Owner, Lead Developer

-

I am a successful, battle proven, software engineer with a gift for conveying complex technical information.

-
- -
- -
-

Aaron Louie

-

Senior Developer

-

I am a successful, battle proven, software engineer with a gift for conveying complex technical information.

-
- -
- -
-

Eleanor Graham

-

Developer

-

I am a successful, battle proven, software engineer with a gift for conveying complex technical information.

-
+
+ +
+ +
+

{{ t.name }}

+

{{ t.title }}

+

{{ t.description }}

+ + +
+
diff --git a/src/app/about-us/about-us.component.scss b/src/app/about-us/about-us.component.scss index 007d551..098042b 100644 --- a/src/app/about-us/about-us.component.scss +++ b/src/app/about-us/about-us.component.scss @@ -15,6 +15,14 @@ padding: 2%; } + button { + margin: 2%; + padding: 3%; + background-color: mat-color($sartography-warn, 500); + color: mat-contrast($sartography-warn, 500); + cursor: pointer; + } + mat-card { padding: 5%; diff --git a/src/app/about-us/about-us.component.ts b/src/app/about-us/about-us.component.ts index aa5fdb3..83e05ac 100644 --- a/src/app/about-us/about-us.component.ts +++ b/src/app/about-us/about-us.component.ts @@ -1,4 +1,6 @@ import { Component, OnInit } from '@angular/core'; +import { TeamMember } from '../interfaces'; +import { ApiService } from '../api.service'; @Component({ selector: 'app-about-us', @@ -6,10 +8,20 @@ import { Component, OnInit } from '@angular/core'; styleUrls: ['./about-us.component.scss'] }) export class AboutUsComponent implements OnInit { + teamMembers: TeamMember[]; - constructor() { } + constructor( + private api: ApiService + ) { } ngOnInit() { + this.api.getTeamMembers().subscribe(team => { + this.teamMembers = team; + }); + } + + goWebsite(link: string) { + window.open(link, '_blank'); } }