Add user profile button to navigation bar

This commit is contained in:
2025-05-05 13:25:01 -03:00
parent 402c98eb6b
commit 4f44581503
2 changed files with 8 additions and 0 deletions

1
Front/public/user.svg Normal file
View File

@@ -0,0 +1 @@
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="icon icon-tabler icons-tabler-outline icon-tabler-user"><path stroke="none" d="M0 0h24v24H0z" fill="none"/><path d="M8 7a4 4 0 1 0 8 0a4 4 0 0 0 -8 0" /><path d="M6 21v-2a4 4 0 0 1 4 -4h4a4 4 0 0 1 4 4v2" /></svg>

After

Width:  |  Height:  |  Size: 411 B

View File

@@ -120,6 +120,13 @@
</span>
{/if}
</button>
<button
class="btn badge"
onclick={() => navigate("/usuario")}
style="background-color: wheat;"
>
<img src="/user.svg" alt="usuario" />
</button>
<div class="vr"></div>
<button class="badge btn btn-danger" onclick={cerrarSesion}>
<img src="/logout.svg" alt="CerrarSesion" />