feat(Child): add broke message and update button styles

This commit is contained in:
Jan K9f 2024-09-03 09:10:37 +02:00
commit f243483688
Signed by: jank
GPG key ID: B267751B8AE29EFE
5 changed files with 31 additions and 7 deletions

View file

@ -1,3 +1,4 @@
<h1>Child</h1>
<p>Balance: {{balance}}</p>
<button type="button" (click)=takeMoney() class="btn btn-secondary">Take Money</button>
<p [class.hidden]="!isBroke">Im broke. Now im about as poor as Jan-Marlon.</p>
<button type="button" (click)=takeMoney() class="button">Take Money</button>