From 3150ec538c5568a69bbbc54dae7ffc478557ca8f Mon Sep 17 00:00:00 2001 From: Avinash Mane Date: Fri, 22 May 2020 09:38:18 +0530 Subject: [PATCH] add style for pre login component --- .../src/login/PreLoginPanelMobileComponent.js | 51 +++++++++++++++---- 1 file changed, 40 insertions(+), 11 deletions(-) diff --git a/react-frontend/src/login/PreLoginPanelMobileComponent.js b/react-frontend/src/login/PreLoginPanelMobileComponent.js index cdebf86cf..dd951c560 100644 --- a/react-frontend/src/login/PreLoginPanelMobileComponent.js +++ b/react-frontend/src/login/PreLoginPanelMobileComponent.js @@ -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 = () => ( - - - - - +const RowText = styled.div` + hight: 33%; + width: 100%; +`; + +const RowImage = styled.div` + hight: 34%; + width: 100%; +`; + +const PreLoginPanelMobileComponent = ({ + classNameContainer, + orgPrimaryCoreValue, + encouragementThought, +}) => ( + + + + + - - - - + + + + ); +PreLoginPanelMobileComponent.defaultProps = { + classNameContainer: "bg-dark w-100", +}; + +PreLoginPanelMobileComponent.propTypes = { + classNameContainer: PropTypes.string, + orgPrimaryCoreValue: PropTypes.string, + encouragementThought: PropTypes.string, +}; + export default PreLoginPanelMobileComponent;