The site is more or less working. Some weirdness with animations though

This commit is contained in:
Cameron
2018-10-20 20:11:33 -04:00
parent c6f5c3d86e
commit 67c314924f
48 changed files with 1337 additions and 71 deletions

View File

@@ -0,0 +1,24 @@
import {Component, OnInit} from '@angular/core';
import {ProjectService} from "./project.service";
import {ProjectItem} from "./project-item";
@Component({
selector: 'app-projects',
templateUrl: './projects.component.html',
styleUrls: ['./projects.component.css'],
})
export class ProjectsComponent implements OnInit {
projects: Array<ProjectItem>;
constructor(private projectService: ProjectService) {
}
ngOnInit(): void {
this.getProjects()
}
getProjects() {
return this.projectService.getProjects().then(projects => this.projects = projects)
}
}