Taobin-Recipe-Manager/client/src/app/features/dashboard/dashboard.component.html

11 lines
304 B
HTML
Raw Normal View History

2023-09-18 08:50:13 +07:00
<p>dashboard works!</p>
<div *ngIf="userInfo">
<img [src]="userInfo.image" loading="lazy" />
<p>Hi {{ userInfo.username }}</p>
<p>Your email is {{ userInfo.email }}</p>
</div>
2023-09-18 08:50:13 +07:00
<button (click)="logout()" class="bg-blue-300 rounded-lg min-w-fit p-10">
Logout
</button>
<a href="/log">View Logs</a>