diff --git a/src/app/app.component.html b/src/app/app.component.html index 0680b43..5051e59 100644 --- a/src/app/app.component.html +++ b/src/app/app.component.html @@ -1 +1,4 @@ +
+ +
diff --git a/src/app/core/components/home/home.component.html b/src/app/core/components/home/home.component.html index 4b8a0ee..35be8d2 100644 --- a/src/app/core/components/home/home.component.html +++ b/src/app/core/components/home/home.component.html @@ -1,5 +1,7 @@ + +
diff --git a/src/app/core/components/home/home.component.ts b/src/app/core/components/home/home.component.ts index be17790..7c8406c 100644 --- a/src/app/core/components/home/home.component.ts +++ b/src/app/core/components/home/home.component.ts @@ -1,8 +1,18 @@ import { Component } from "@angular/core"; +import { NotificationService } from "../../services/notification.service"; @Component({ selector: "app-home", templateUrl: "./home.component.html", styleUrls: ["./home.component.scss"], }) -export class HomeComponent {} +export class HomeComponent { + constructor(private notificationService: NotificationService) {} + + fehler() { + this.notificationService.push({ + message: "Ein Fehler ist aufgetreten :(", + type: "danger", + }); + } +} diff --git a/src/app/core/components/navigation/navigation.component.html b/src/app/core/components/navigation/navigation.component.html index 80355b0..f4bd01e 100644 --- a/src/app/core/components/navigation/navigation.component.html +++ b/src/app/core/components/navigation/navigation.component.html @@ -15,7 +15,7 @@ + + + + + + +