Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Perfil #27

Merged
merged 11 commits into from
Dec 1, 2023
69 changes: 69 additions & 0 deletions src/app/pages/profile/profile.component.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,69 @@
.rectangle-45 {
box-sizing: border-box;
background: #FFFFFF;
border: 0.15px solid #969696;
border-radius: 9px;
}

.perfil {
color: #0087C8;
font-size: 13px;
font-family: "unb-pro", sans-serif;
}

.textoCaixinha {
color: #3C3C3B;
font-size: 11px;
font-family: "unb-pro", sans-serif;
}

.editUser {
width: 103px;
height: 30px;
top: 408px;
left: 129px;

}


.deleteUser {
color: #0087C8;
font-family: "unb-pro", sans-serif;
font-size: 11px;
width: 1205px;
height: 13px;
top: 500px;
left: 20px;
line-height: 100px;
}

.logout {
color: #0087C8;
font-family: "unb-pro", sans-serif;
width: 1115px;
height: 13px;
top: 501px;
left: 20px;
font-size: 11px;
line-height: 300px;
}

.changePassword {
color: #0087C8;
font-family: "unb-pro", sans-serif;
width: 1160px;
height: 13px;
top: 567px;
left: 20px;
font-size: 11px;
font-weight: 400;
line-height: 200px;

}

.linha-cinza {
border: 0.05px solid #969696;
width: 220px;

}

49 changes: 31 additions & 18 deletions src/app/pages/profile/profile.component.html
Original file line number Diff line number Diff line change
@@ -1,41 +1,54 @@

<div class="flex justify-center items-center flex-col">
<div class="text-center">
<div class="text-center .rectangle-45">
<div
class="mb-4 flex flex-col justify-start items-center bg-zinc-300 p-4 rounded-xl shadow-md"
class="mb-4 flex flex-col justify-start items-center rectangle-45 p-4 rounded-xl"
*ngIf="user"
>
<div class="flex flex-row">
<div class="font-bold">Nome:&nbsp;</div>
{{ user.name }}
<div class="flex flex-row perfil font-bold">
Perfil
</div>
<div class="flex flex-row">
<div class="font-bold">Vínculo:&nbsp;</div>
{{ user.connection }}
<div class="linha-cinza"></div>
<div class="flex flex-row textoCaixinha font-bold">
{{ user.name }}
</div>
<div class="flex flex-row">
<div class="font-bold">Email:&nbsp;</div>
<div class="flex flex-row textoCaixinha">
{{ user.email }}
</div>
</div>
<div class="linha-cinza"></div>
<div class="flex flex-row textoCaixinha">
{{ user.connection }}
</div>
</div>
<button id="editUser"
class="p-2 bg-blue-brand rounded-lg justify-center my-8 text-white md:h-10 md:w-32"
class="bg-blue-brand rounded-lg my-8 text-white editUser"
(click)="navigatorEdit()"
>
Editar perfil
Editar
</button>
</div>
<div class="flex items-center justify-center">
</div>
<div class="flex flex-col">
<div class="flex deleteUser">
<button id="deleteUser"
class="p-2 bg-blue-brand rounded-lg justify-center my-8 text-white md:h-10 md:w-32"
class="deleteUser rounded-lg"
(click)="deleteUser()"
>
Deletar usuário
Deseja excluir o perfil?
</button>
</div>
<div class="flex changePassword">
<button
id="changePassword"
class="changePassword"
>
Alterar senha
</button>
</div>
<div class="flex items-center justify-center">
<div class="flex logout">
<button
id="logout"
class="p-2 bg-blue-brand rounded-lg justify-center my-8 text-white md:h-10 md:w-16"
class="logout"
(click)="logoutUser()"
>
Sair
Expand Down
Loading