diff --git a/project/src/app/app.component.html b/project/src/app/app.component.html index e6bcc99..dab2166 100644 --- a/project/src/app/app.component.html +++ b/project/src/app/app.component.html @@ -1,9 +1,9 @@ - +
- - + +
\ No newline at end of file diff --git a/project/src/app/app.component.ts b/project/src/app/app.component.ts index 7513378..06499a0 100644 --- a/project/src/app/app.component.ts +++ b/project/src/app/app.component.ts @@ -7,4 +7,9 @@ import { Component } from '@angular/core'; }) export class AppComponent { title = 'project'; + loadedFeature = 'recipe'; + + onNavgate(feature: string) { + this.loadedFeature = feature; + } } diff --git a/project/src/app/header/header.component.html b/project/src/app/header/header.component.html index bf6adff..9c8ddbc 100644 --- a/project/src/app/header/header.component.html +++ b/project/src/app/header/header.component.html @@ -5,8 +5,8 @@