2023-09-18 08:50:13 +07:00
|
|
|
<p>dashboard works!</p>
|
2023-09-20 09:57:47 +07:00
|
|
|
<div *ngIf="userInfo">
|
2023-09-20 10:12:19 +07:00
|
|
|
<img [src]="userInfo.image" loading="lazy" />
|
2023-09-20 09:57:47 +07:00
|
|
|
<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>
|
2023-09-18 17:10:18 +07:00
|
|
|
<a href="/log">View Logs</a>
|