-
Notifications
You must be signed in to change notification settings - Fork 7
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
ce80211
commit 3150ec5
Showing
1 changed file
with
40 additions
and
11 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,50 @@ | ||
import React from "react"; | ||
import { Container, Row } from "react-bootstrap"; | ||
import { Container } from "react-bootstrap"; | ||
import styled from "styled-components"; | ||
import PropTypes from "prop-types"; | ||
import LogoComponent from "shared-components/peerly-Logo/LogoComponent"; | ||
import LoginTextComponent from "shared-components/login-text-component/LoginTextComponent"; | ||
import PreLoginImageComponent from "shared-components/prelogin-image-components/PreLoginImageComponent"; | ||
|
||
const PreLoginPanelMobileComponent = () => ( | ||
<Container className="bg-dark w-100" fluid={true}> | ||
<Row className="h-25 py-5"> | ||
<LogoComponent className="text-white" /> | ||
</Row> | ||
<Row className="h-50"> | ||
const RowText = styled.div` | ||
hight: 33%; | ||
width: 100%; | ||
`; | ||
|
||
const RowImage = styled.div` | ||
hight: 34%; | ||
width: 100%; | ||
`; | ||
|
||
const PreLoginPanelMobileComponent = ({ | ||
classNameContainer, | ||
orgPrimaryCoreValue, | ||
encouragementThought, | ||
}) => ( | ||
<Container className={classNameContainer} fluid={true}> | ||
<RowText className="py-5"> | ||
<LogoComponent /> | ||
</RowText> | ||
<RowImage> | ||
<PreLoginImageComponent className="w-100 img-fluid" /> | ||
</Row> | ||
<Row className="h-25 py-5"> | ||
<LoginTextComponent /> | ||
</Row> | ||
</RowImage> | ||
<RowText className="py-5"> | ||
<LoginTextComponent | ||
orgPrimaryCoreValue={orgPrimaryCoreValue} | ||
encouragementThought={encouragementThought} | ||
/> | ||
</RowText> | ||
</Container> | ||
); | ||
|
||
PreLoginPanelMobileComponent.defaultProps = { | ||
classNameContainer: "bg-dark w-100", | ||
}; | ||
|
||
PreLoginPanelMobileComponent.propTypes = { | ||
classNameContainer: PropTypes.string, | ||
orgPrimaryCoreValue: PropTypes.string, | ||
encouragementThought: PropTypes.string, | ||
}; | ||
|
||
export default PreLoginPanelMobileComponent; |