File tree Expand file tree Collapse file tree 3 files changed +132
-1
lines changed Expand file tree Collapse file tree 3 files changed +132
-1
lines changed Original file line number Diff line number Diff line change 1+ import React from 'react' ;
2+ import LogoIcon from 'assets/logo.svg' ;
3+ import Input from 'components/Input/Input' ;
4+ import Button from 'components/Button/Button' ;
5+ import StyledRegisterNewUser from './styles' ;
6+
7+ const RegisterNewUser = ( ) => {
8+ return (
9+ < StyledRegisterNewUser >
10+ < a href = "/recovery-password" >
11+ < img src = { LogoIcon } alt = "Typext" />
12+ </ a >
13+
14+ < div className = "RegisterNewUser" >
15+ < div className = "Content" >
16+ < div className = "LeftContent" >
17+ < Input
18+ title = "Nome completo"
19+ color = "var(--black)"
20+ styleWidth = "41.875rem"
21+ Type = "text"
22+ />
23+
24+ < Input
25+ title = "Título / Cargo"
26+ color = "var(--black)"
27+ styleWidth = "41.875rem"
28+ Type = "text"
29+ />
30+
31+ < Input
32+ title = "Área"
33+ color = "var(--black)"
34+ styleWidth = "41.875rem"
35+ Type = "text"
36+ />
37+
38+ < Input
39+ title = "Empresa"
40+ color = "var(--black)"
41+ styleWidth = "41.875rem"
42+ Type = "text"
43+ />
44+ </ div >
45+
46+ < div className = "RightContent" >
47+ < Input
48+ title = "E-mail"
49+ color = "var(--black)"
50+ styleWidth = "41.875rem"
51+ Type = "text"
52+ />
53+
54+ < Input
55+ title = "Telefone"
56+ color = "var(--black)"
57+ styleWidth = "41.875rem"
58+ Type = "text"
59+ />
60+
61+ < Input
62+ title = "Senha"
63+ color = "var(--black)"
64+ styleWidth = "41.875rem"
65+ Type = "text"
66+ />
67+
68+ < Input
69+ title = "Confirme a senha"
70+ color = "var(--black)"
71+ styleWidth = "41.875rem"
72+ Type = "text"
73+ />
74+ </ div >
75+ </ div >
76+
77+ < Button
78+ color = "var(--green)"
79+ >
80+ Cadastrar
81+ </ Button >
82+ </ div >
83+ </ StyledRegisterNewUser >
84+ ) ;
85+ } ;
86+
87+ export default RegisterNewUser ;
Original file line number Diff line number Diff line change 1+ import styled from 'styled-components' ;
2+
3+ const StyledRegisterNewUser = styled . div `
4+ display: flex;
5+ flex-direction: column;
6+ align-items: center;
7+ margin-top: 4.375rem;
8+
9+ a {
10+ width: 18.125rem;
11+ height: 3.125rem;
12+
13+ img {
14+ width: 18.125rem;
15+ height: 3.125rem;
16+ }
17+ }
18+
19+ .RegisterNewUser{
20+ display: flex;
21+ flex-direction: column;
22+ align-items: flex-end;
23+
24+ .Content {
25+ display: grid;
26+ grid-template-columns: 1fr 1fr;
27+ gap: 7.25rem;
28+
29+ margin-top: 8.75rem;
30+
31+ Input {
32+ margin-bottom: 1.25rem;
33+ }
34+ }
35+
36+ Button {
37+ margin-top: 5.625rem;
38+ }
39+ }
40+ ` ;
41+
42+ export default StyledRegisterNewUser ;
Original file line number Diff line number Diff line change @@ -3,6 +3,7 @@ import RecoveryPassword from 'pages/RecoveryPassword';
33import { Switch , Route , BrowserRouter } from 'react-router-dom' ;
44
55import NewPassword from 'pages/NewPassword' ;
6+ import RegisterNewUser from 'pages/RegisterNewUser' ;
67import Main from './pages/Main' ;
78import Login from './pages/Login' ;
89import InviteUsers from './pages/InviteUsers' ;
@@ -12,9 +13,10 @@ export default function Routes() {
1213 < BrowserRouter >
1314 < Switch >
1415 < Route path = "/" exact component = { Main } />
15- < Route path = "/recovery-password" exact component = { RecoveryPassword } />
1616 < Route path = "/new-password" exact component = { NewPassword } />
17+ < Route path = "/recovery-password" exact component = { RecoveryPassword } />
1718 < Route path = "/login" exact component = { Login } />
19+ < Route path = "/register-new-user" exact component = { RegisterNewUser } />
1820 < Route path = "/invite-users" exact component = { InviteUsers } />
1921 </ Switch >
2022 </ BrowserRouter >
You can’t perform that action at this time.
0 commit comments