keep-around/af30b88d367751c9e05a735e4a0467a96238ef47
parent
3d8f1637c6
commit
7b2d664862
|
After Width: | Height: | Size: 2.5 KiB |
@ -0,0 +1,24 @@ |
|||||||
|
import React from 'react' |
||||||
|
|
||||||
|
import { PAGES } from 'config' |
||||||
|
|
||||||
|
import { T9n } from 'features/T9n' |
||||||
|
import { BlockTitle } from 'features/Login/styled' |
||||||
|
|
||||||
|
import { |
||||||
|
Container, |
||||||
|
GreenTick, |
||||||
|
ButtonLink, |
||||||
|
} from './styled' |
||||||
|
|
||||||
|
export const RegistrationSuccessful = () => ( |
||||||
|
<Container> |
||||||
|
<BlockTitle> |
||||||
|
<T9n t='registration_successful' /> |
||||||
|
</BlockTitle> |
||||||
|
<GreenTick /> |
||||||
|
<ButtonLink to={PAGES.login}> |
||||||
|
<T9n t='login' /> |
||||||
|
</ButtonLink> |
||||||
|
</Container> |
||||||
|
) |
||||||
@ -0,0 +1,27 @@ |
|||||||
|
import { Link } from 'react-router-dom' |
||||||
|
import styled from 'styled-components/macro' |
||||||
|
|
||||||
|
import { solidButtonStyles } from 'features/Common' |
||||||
|
|
||||||
|
export const Container = styled.div` |
||||||
|
display: flex; |
||||||
|
flex-direction: column; |
||||||
|
align-items: center; |
||||||
|
margin-top: 80px; |
||||||
|
` |
||||||
|
|
||||||
|
export const GreenTick = styled.div` |
||||||
|
width: 288px; |
||||||
|
height: 288px; |
||||||
|
margin: 60px 0 156px 0; |
||||||
|
background-image: url(/images/greenTick.svg); |
||||||
|
background-position-y: -98px; |
||||||
|
background-position-x: center; |
||||||
|
` |
||||||
|
|
||||||
|
export const ButtonLink = styled(Link)` |
||||||
|
${solidButtonStyles} |
||||||
|
display: flex; |
||||||
|
justify-content: center; |
||||||
|
align-items: center; |
||||||
|
` |
||||||
Loading…
Reference in new issue