diff options
author | sowgro <tpoke.ferrari@gmail.com> | 2025-03-22 00:24:09 -0400 |
---|---|---|
committer | sowgro <tpoke.ferrari@gmail.com> | 2025-03-22 00:24:09 -0400 |
commit | 69e79cc423110ea7df3d960f95e612934d256dd8 (patch) | |
tree | a5b0fc2d4704d6168e5e8563eee2827e27186cbb /ufund-ui/src/app/components | |
parent | 0be2b5868bdda04146a22ec81596dbbb81922360 (diff) | |
download | JellySolutions-69e79cc423110ea7df3d960f95e612934d256dd8.tar.gz JellySolutions-69e79cc423110ea7df3d960f95e612934d256dd8.tar.bz2 JellySolutions-69e79cc423110ea7df3d960f95e612934d256dd8.zip |
Create basic home page
Diffstat (limited to 'ufund-ui/src/app/components')
3 files changed, 11 insertions, 5 deletions
diff --git a/ufund-ui/src/app/components/home-page/home-page.component.css b/ufund-ui/src/app/components/home-page/home-page.component.css index e69de29..5f65225 100644 --- a/ufund-ui/src/app/components/home-page/home-page.component.css +++ b/ufund-ui/src/app/components/home-page/home-page.component.css @@ -0,0 +1,7 @@ +:host { + height: 100%; + display: flex; + flex-direction: column; + align-items: center; + justify-content: center; +} diff --git a/ufund-ui/src/app/components/home-page/home-page.component.html b/ufund-ui/src/app/components/home-page/home-page.component.html index d41e670..b2eed0b 100644 --- a/ufund-ui/src/app/components/home-page/home-page.component.html +++ b/ufund-ui/src/app/components/home-page/home-page.component.html @@ -1,3 +1,2 @@ -<a routerLink="/login"> - Login/Sign Up -</a>
\ No newline at end of file +<h1>Helping fund coral reef and marine life conservation</h1> +<button routerLink="/cupboard">View needs</button> diff --git a/ufund-ui/src/app/components/need-page/need-page.component.html b/ufund-ui/src/app/components/need-page/need-page.component.html index 90fd459..b2579c9 100644 --- a/ufund-ui/src/app/components/need-page/need-page.component.html +++ b/ufund-ui/src/app/components/need-page/need-page.component.html @@ -1,4 +1,4 @@ -<button routerLink="/dashboard">Back to dashboard</button> +<button routerLink="/cupboard">Back to cupboard</button> <h1>Viewing Need: {{need?.name}}</h1> <a>internal id: {{need?.id}}</a> <div style="display: flex; column-gap: 6px;"> @@ -19,4 +19,4 @@ <p>Goal: {{need?.maxGoal}}</p> <p>Current: {{need?.current}}</p> -<p>This goal is <strong>{{(((need?.current ?? 0)*100) / (need?.maxGoal ?? 0)).toFixed(0)}}%</strong> complete!</p>
\ No newline at end of file +<p>This goal is <strong>{{(((need?.current ?? 0)*100) / (need?.maxGoal ?? 0)).toFixed(0)}}%</strong> complete!</p> |