diff --git a/src/app/dashboard/header/header.component.css b/src/app/dashboard/header/header.component.css
index 6f04bdd..8121253 100644
--- a/src/app/dashboard/header/header.component.css
+++ b/src/app/dashboard/header/header.component.css
@@ -7,4 +7,10 @@
background-color: #27293D;
z-index: 999;
border-radius: 8px;
+}
+
+.history-svg {}
+
+.admin-svg {
+ fill: white;
}
\ No newline at end of file
diff --git a/src/app/dashboard/header/header.component.html b/src/app/dashboard/header/header.component.html
index d085ff5..f25c373 100644
--- a/src/app/dashboard/header/header.component.html
+++ b/src/app/dashboard/header/header.component.html
@@ -1,3 +1,5 @@
\ No newline at end of file
diff --git a/src/app/dashboard/login/login.component.ts b/src/app/dashboard/login/login.component.ts
index e0420ea..6b0dfe1 100644
--- a/src/app/dashboard/login/login.component.ts
+++ b/src/app/dashboard/login/login.component.ts
@@ -18,8 +18,16 @@ export class LoginComponent implements OnInit {
) { }
ngOnInit(): void {
+
+ const loginStatus = this.dashboard.login("admin", "password");
+ if (loginStatus) {
+ this.router.navigate(['dashboard', 'overview']);
+ } else {
+ // TODO: Meldung anzeigen
+ }
}
+
login() {
const loginStatus = this.dashboard.login(this.username, this.password);
diff --git a/src/assets/admin.svg b/src/assets/admin.svg
new file mode 100644
index 0000000..4adef78
--- /dev/null
+++ b/src/assets/admin.svg
@@ -0,0 +1 @@
+
\ No newline at end of file
diff --git a/src/assets/dash.svg b/src/assets/dash.svg
new file mode 100644
index 0000000..280d48a
--- /dev/null
+++ b/src/assets/dash.svg
@@ -0,0 +1 @@
+
\ No newline at end of file