Skip to content

Commit d1d3a79

Browse files
authored
Merge pull request #20 from bruna9165/feat-enrico
Feat enrico
2 parents b3db682 + bfb4b75 commit d1d3a79

File tree

4 files changed

+58
-1
lines changed

4 files changed

+58
-1
lines changed

public/Profile.png

136 KB
Loading

src/components/ui/heading.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ const headingVariants = cva(' text-white gap-4 font-bold font-sans flex flex-col
1818
},
1919
})
2020

21-
const underlineVariants = cva('w-[100px] h-[2px] bg-yellow-500', {
21+
const underlineVariants = cva('w-[170px] h-[2px] bg-yellow-500', {
2222
variants: {
2323
variant: {
2424
primary: 'bg-yellow-500',

src/pages/edit_profile/index.tsx

Lines changed: 56 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,56 @@
1+
import { Heading } from "@/components/ui/heading";
2+
import { LayoutHome } from "@/layout/LayoutHome";
3+
import { Input } from "@/components/ui/input";
4+
import { Button } from "@/components/ui/button";
5+
6+
export function EditarPerfil() {
7+
return (
8+
<LayoutHome>
9+
<Heading size={"default"} className="mb-10">Editar Perfil</Heading>
10+
<div className="flex items-center gap-6">
11+
<div className="flex justify-center items-center">
12+
<img src="../../../public/Profile.png" alt="Foto_de_Perfil" className="w-36 h-36 rounded-full"/>
13+
<Button className="text-lg ml-14 mr-5 h-12 w-64 text-black">
14+
Adicionar Foto
15+
</Button>
16+
<Button className="text-yellow-500 border-4 border-yellow-500 rounded-md bg-black hover:bg-red-600 text-base font-medium h-12 w-64">
17+
Excluir foto
18+
</Button>
19+
20+
21+
</div>
22+
</div>
23+
<div className="mt-20">
24+
<Input
25+
type="text"
26+
label="Nome Completo"
27+
placeholder="Gael Monteiro Alves"
28+
className="w-96"
29+
/>
30+
<Input
31+
type="email"
32+
label="E-mail"
33+
placeholder="[email protected]"
34+
className="w-96"
35+
/>
36+
<Input
37+
type="text"
38+
label="CPF"
39+
placeholder="369.246.458-00"
40+
className="w-96"
41+
/>
42+
<Input
43+
type="text"
44+
label="Data de Nascimento"
45+
placeholder="15/02/2006"
46+
className="text-slate-300 w-96 placeholder:text-slate-500"
47+
/>
48+
</div>
49+
<div>
50+
<Button className="text-lg ml-32 mt-10 mr-5 text-black h-12 w-64">
51+
Mudar senha
52+
</Button>
53+
</div>
54+
</LayoutHome>
55+
);
56+
}

src/routers/routes.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
import { EditarPerfil } from "@/pages/edit_profile";
12
import { Home } from "@/pages/home";
23
import { Login } from "@/pages/login";
34
import { Register } from "@/pages/register";

0 commit comments

Comments
 (0)