Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
55 changes: 55 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"@testing-library/user-event": "^13.5.0",
"react": "^18.0.0",
"react-dom": "^18.0.0",
"react-input-mask": "^2.0.4",
"react-router-dom": "^6.3.0",
"react-scripts": "5.0.1",
"styled-components": "^5.3.5",
Expand Down
3 changes: 3 additions & 0 deletions src/assets/icon/drop.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 3 additions & 2 deletions src/assets/index.js
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
export { default as Backg } from './backg.png';
export { default as Close } from './icon/close.svg';
export { default as Backg } from "./backg.png";
export { default as Close } from "./icon/close.svg";
export { default as Drop } from "./icon/drop.svg";
13 changes: 12 additions & 1 deletion src/components/Background/styles.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,21 +4,32 @@ import Img from "../../assets/US001.png";
import { colors } from '../../styles/Theme';

export const ContainerImg = styled.div`
position: relative;
width: 100%;
display: flex;
justify-content: space-around;
`;

export const BackgIa = styled.div`
width: 650px;
height: 850px;
height: 832px;
background-size: cover;
background-image: url(${Img});
position: absolute;
right: 180px;
bottom: 0;

@media (max-width: 1440px) {
width: 610px;
height: 800px;
right: 80px;
}

@media (max-width: 1240px) {
right: 0;
width: 33.125rem;
height: 43.563rem;
/* width: 500px; */
}
`;

Expand Down
4 changes: 4 additions & 0 deletions src/components/BoxBalloon/styles.js
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,10 @@ export const Box = styled.div`
@media (max-width: 1440px) {
width: 55.5vh;
}

@media (max-width: 1124px) {
width: 90%;
}
`;

export const BoxVi = styled.div`
Expand Down
11 changes: 9 additions & 2 deletions src/components/Buttons/BtnCadastro/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,17 @@ import { useNavigate } from "react-router-dom";
import styled from "styled-components";

const ContainerBtn = styled.div`
width: 41rem;
width: 61.5vh; /*mesmo do boxBallon */
margin-top: 2rem;
display: flex;

@media (max-width: 1440px) {
width: 55.5vh;
}

@media (max-width: 1124px) {
width: 90%;
}
`;

const BoxButton = styled.div`
Expand Down Expand Up @@ -36,7 +44,6 @@ export default function BtnCadastro() {
const navigate = useNavigate();

const handleClick = () => {
console.log("handleClick");
navigate("/cadastro-da-organizacao");
};

Expand Down
14 changes: 7 additions & 7 deletions src/components/Buttons/BtnProx/BtnProx.js
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
import React from 'react'
import './BtnProx.css'

const BtnProx = () =>{
return(
<>
<a href="#"><button id="enviar">Próximo</button></a>
</>
);
import * as S from "./styles";

const BtnProx = ({ onClick }) => {
return (

<S.BtnProx button onClick={onClick}>Próximo</S.BtnProx>

);
}

export default BtnProx;
Original file line number Diff line number Diff line change
@@ -1,19 +1,16 @@
a{
text-decoration: none;
}
import styled from "styled-components";

#enviar{
width: 9em;
export const BtnProx = styled.button `

width: 9em;
padding: 15px 0;
background: #2C5FA1;
color:#ffffff;
font-size: 20px;
font-weight:530;
font-weight: 700;
letter-spacing: 2.5px;
border:none;
border-radius: 25px;
cursor:pointer;
text-transform: uppercase;
}


`
11 changes: 11 additions & 0 deletions src/components/Buttons/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
import React from 'react'

import * as S from "./styles";

const BtnProx = ({ onClick }) => {
return (
<S.Button id="enviar" onClick={onClick}>Próximo</S.Button>
);
}

export default BtnProx;
14 changes: 14 additions & 0 deletions src/components/Buttons/styles.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
import styled from "styled-components";
import { colors } from '../../styles/Theme';

export const Button = styled.button`
margin-bottom: 10px;
width: 100%;
height: auto;
display: flex;
justify-content: center;
/* margin-top: -5rem; */
align-items: center;
flex-direction: column;
color: ${colors.black};
`;
4 changes: 2 additions & 2 deletions src/components/Header/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,9 @@ const Header = () => {

return (
<S.HeaderContainer>
<S.ContentBtnBack>
<S.ContentBtnBack onClick={handleGoBack}>
<S.IconBack alt="Seta" src={Seta}/>
<S.Btn type="button" onClick={handleGoBack}>
<S.Btn type="button">
Voltar
</S.Btn>
</S.ContentBtnBack>
Expand Down
1 change: 1 addition & 0 deletions src/components/Header/styles.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ export const ContentBtnBack = styled.div`

export const IconBack = styled.img`
width: 20px;
cursor: pointer;
`;

export const Btn = styled.button`
Expand Down
45 changes: 0 additions & 45 deletions src/components/Inputs/InputNumber/InputNumber.css

This file was deleted.

18 changes: 0 additions & 18 deletions src/components/Inputs/InputNumber/InputNumber.js

This file was deleted.

25 changes: 18 additions & 7 deletions src/components/Inputs/input/Input.css
Original file line number Diff line number Diff line change
Expand Up @@ -2,23 +2,34 @@
color: black;
}

#InputText{
#InputText2::placeholder {
color: black;
}

#InputText3::placeholder {
color: black;
}

#InputText, #InputText2, #InputText3{
font-family: "Montserrat", sans-serif;
border: 0;
width: 20rem;
width: 23rem;
outline: 0;
font-size: 1.2rem;
letter-spacing: 1px;
padding: 2px 0;
background: transparent;
font-weight: 540;
border-bottom: 2.5px solid #C4C4C4;
outline: 0;
}

#InputText2{
width: 15rem;
}


#InputText:focus{
box-shadow: 0 0 0 0;
border: 0 none;
outline: 0;
#InputText3{
width: 25rem;
}


Loading