aboutsummaryrefslogtreecommitdiff
path: root/ufund-ui/src/app/components/dashboard
diff options
context:
space:
mode:
authorGunther6070 <haydenhartman10@yahoo.com>2025-03-17 22:17:30 -0400
committerGunther6070 <haydenhartman10@yahoo.com>2025-03-17 22:17:30 -0400
commit839a237029b66ba9e45fb0bf15097283eec23f12 (patch)
tree3e107420ada8c43769c6acd43dbd659cfe1b617a /ufund-ui/src/app/components/dashboard
parent065f90f1f759ed4b97dc22a02e331f7a30eb8ee3 (diff)
parent7dead0216c5847ed808bebaae106137be19784d4 (diff)
downloadJellySolutions-839a237029b66ba9e45fb0bf15097283eec23f12.tar.gz
JellySolutions-839a237029b66ba9e45fb0bf15097283eec23f12.tar.bz2
JellySolutions-839a237029b66ba9e45fb0bf15097283eec23f12.zip
Merge branch 'main' of https://github.com/RIT-SWEN-261-02/team-project-2245-swen-261-02-2b
Diffstat (limited to 'ufund-ui/src/app/components/dashboard')
-rw-r--r--ufund-ui/src/app/components/dashboard/dashboard.component.html10
-rw-r--r--ufund-ui/src/app/components/dashboard/dashboard.component.ts4
2 files changed, 9 insertions, 5 deletions
diff --git a/ufund-ui/src/app/components/dashboard/dashboard.component.html b/ufund-ui/src/app/components/dashboard/dashboard.component.html
index c73849f..fc8baf0 100644
--- a/ufund-ui/src/app/components/dashboard/dashboard.component.html
+++ b/ufund-ui/src/app/components/dashboard/dashboard.component.html
@@ -1,5 +1,5 @@
-<p>dashboard works!</p>
-<ul>
- <li><a routerLink="/cupboard">Go to the Cupboard</a></li>
- <li><a routerLink="/basket">Go to my basket</a></li>
-</ul>
+
+<h1>Dashboard</h1>
+<input type="button" value="Back to Login" (click)="back()">
+<app-cupboard></app-cupboard>
+<app-funding-basket></app-funding-basket> \ No newline at end of file
diff --git a/ufund-ui/src/app/components/dashboard/dashboard.component.ts b/ufund-ui/src/app/components/dashboard/dashboard.component.ts
index dd323c4..48c5894 100644
--- a/ufund-ui/src/app/components/dashboard/dashboard.component.ts
+++ b/ufund-ui/src/app/components/dashboard/dashboard.component.ts
@@ -8,4 +8,8 @@ import { Component } from '@angular/core';
})
export class DashboardComponent {
constructor() {}
+
+ back() {
+ window.history.back();
+ }
}