Skip to content

Commit

Permalink
Alterações de layout na tela de perfil
Browse files Browse the repository at this point in the history
Co-authored-by: cansancaojennifer <[email protected]>
Co-authored-by: RaisSabeAndrade <[email protected]>
  • Loading branch information
3 people committed Dec 1, 2023
1 parent 3ce4085 commit 5cfcb9f
Show file tree
Hide file tree
Showing 2 changed files with 32 additions and 114 deletions.
68 changes: 0 additions & 68 deletions src/app/pages/profile/profile.component.css
Original file line number Diff line number Diff line change
@@ -1,69 +1 @@
.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;

}

78 changes: 32 additions & 46 deletions src/app/pages/profile/profile.component.html
Original file line number Diff line number Diff line change
@@ -1,57 +1,43 @@
<div class="w-full h-full flex justify-center items-center flex-col gap-11">
<div
class="max-w-[280px] max-h-[170px] grid grid-cols-1 align-middle p-4 m-0 gap-4 rounded-xl border border-gray-300 divide-y font-custom break-words text-center"
*ngIf="user"
>
<div class="text-center font-bold text-sm text-blue-brand">Perfil</div>

<div class="flex justify-center items-center flex-col">
<div class="text-center .rectangle-45">
<div
class="mb-4 flex flex-col justify-start items-center rectangle-45 p-4 rounded-xl"
*ngIf="user"
class="flex flex-col justify-center items-center gap-2 pt-3 text-[12px] text-[#3c3c3b]"
>
<div class="flex flex-row perfil font-bold">
Perfil
</div>
<div class="linha-cinza"></div>
<div class="flex flex-row textoCaixinha font-bold">
<span class="w-full font-bold">
{{ user.name }}
</div>
<div class="flex flex-row textoCaixinha">
</span>
<span class="w-full font-normal">
{{ user.email }}
</div>
<div class="linha-cinza"></div>
<div class="flex flex-row textoCaixinha">
{{ user.connection }}
</div>
</div>
<button id="editUser"
class="bg-blue-brand rounded-lg my-8 text-white editUser"
(click)="navigatorEdit()"
</span>
</div>

<div
class="w-full h-8 flex justify-center items-center font-normal text-[12px] text-[#3c3c3b]"
>
Editar
</button>
{{ user.connection }}
</div>
</div>
</div>
<div class="flex flex-col">
<div class="flex deleteUser">
<button id="deleteUser"
class="deleteUser rounded-lg"
(click)="deleteUser()"
>

<button
id="editUser"
class="w-full h-[30px] max-w-[103px] bg-blue-brand rounded-lg text-white"
(click)="navigatorEdit()"
>
Editar
</button>

<div class="flex flex-initial flex-col gap-4 text-[11px] text-blue-brand">
<button id="deleteUser" class="rounded-lg" (click)="deleteUser()">
Deseja excluir o perfil?
</button>
</div>
<div class="flex changePassword">
<button
id="changePassword"
class="changePassword"
>
Alterar senha
</button>
</div>
<div class="flex logout">
<button
id="logout"
class="logout"
(click)="logoutUser()"
>
Sair
</button>

<button id="changePassword">Alterar senha</button>

<button id="logout" (click)="logoutUser()">Sair</button>
</div>
</div>

0 comments on commit 5cfcb9f

Please sign in to comment.