update layout navbar and sidebar

This commit is contained in:
Kenta420-Poom 2023-09-20 15:10:35 +07:00
parent 503186e733
commit 7aea7a8131
14 changed files with 397 additions and 24 deletions

View file

@ -1,10 +1,3 @@
<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>
<button (click)="logout()" class="bg-blue-300 rounded-lg min-w-fit p-10">
Logout
</button>
<a href="/log">View Logs</a>
<main class="flex justify-center">
<p>Dashboard</p>
</main>