-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
6e33b32
commit 53bd043
Showing
20 changed files
with
270 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
import React from "react"; | ||
import { Link } from 'react-router-dom'; | ||
|
||
import Button from "../../Components/Button"; | ||
|
||
import Logo from "../../assets/images/logoUberCare.svg"; | ||
import nextIcon from "../../assets/images/next.svg"; | ||
import driver from '../../assets/images/illustration-driver.svg'; | ||
|
||
import { Container, Content, Image, Form } from "./styles"; | ||
|
||
const Confirm: React.FC = () => { | ||
return ( | ||
<Container> | ||
<Content> | ||
<Link to="/"> | ||
<img className="logoImage" src={Logo} alt="UberCare Logo" /> | ||
</Link> | ||
<div className="flex"> | ||
<div className="info"> | ||
<p> | ||
Cadastro Completo<br/>com sucesso! | ||
</p> | ||
<span>Em breve a nossa equipe entrará em contato com você para prosseguir com o Cadastro.</span> | ||
</div> | ||
<div className="form"> | ||
<Form> | ||
<img src={driver} alt=""/> | ||
|
||
<div className="btn"> | ||
<Button | ||
to="/" | ||
text="Continuar" | ||
iconURL={nextIcon} | ||
iconALT="Próximo" | ||
/> | ||
</div> | ||
</Form> | ||
</div> | ||
</div> | ||
</Content> | ||
<Image /> | ||
</Container> | ||
); | ||
}; | ||
|
||
export default Confirm; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
import styled from "styled-components"; | ||
|
||
import confirmBackground from "../../assets/images/confirm-background.png"; | ||
|
||
export const Container = styled.div` | ||
height: 100vh; | ||
display: flex; | ||
flex-direction: column; | ||
justify-content: space-between; | ||
`; | ||
|
||
export const Content = styled.div` | ||
background: #fff; | ||
height: 100%; | ||
.logoImage { | ||
margin: 6em 11.5em 0 11.5em; | ||
} | ||
.flex { | ||
display: flex; | ||
padding: 3.5em; | ||
margin: 0 8em; | ||
margin-top: 3em; | ||
align-items: center; | ||
justify-content: space-between; | ||
.info { | ||
font-weight: 400; | ||
font-size: 48px; | ||
width: 50%; | ||
span { | ||
margin-top: 1em; | ||
font-size: 18px; | ||
line-height: 1.7em; | ||
display: block; | ||
} | ||
} | ||
} | ||
`; | ||
|
||
export const Form = styled.form` | ||
background: #F8F8F8; | ||
border-top: 1em #EBEBEB solid; | ||
width: 450px; | ||
margin-bottom: -23em; | ||
position: relative; | ||
height: 500px; | ||
.btn { | ||
margin-top: 2.5em; | ||
padding: 2.5em; | ||
} | ||
`; | ||
|
||
export const Image = styled.div` | ||
background: #fff url(${confirmBackground}) no-repeat center; | ||
background-size: cover; | ||
height: 100%; | ||
`; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.