From 235711d3d601c1b887b6eea4d9cefb2cfd56baec Mon Sep 17 00:00:00 2001 From: Priyatham Sai Chand Date: Sun, 28 Mar 2021 23:54:21 +0530 Subject: [PATCH] finish pricing styled --- src/components/LogInContainer.js | 90 +++++++++++++++++++++++--------- src/components/Login.js | 34 +++++++----- src/components/NavBar.js | 4 +- src/components/PricingPlan.js | 39 ++++---------- 4 files changed, 98 insertions(+), 69 deletions(-) diff --git a/src/components/LogInContainer.js b/src/components/LogInContainer.js index 219f74f..8edd08e 100644 --- a/src/components/LogInContainer.js +++ b/src/components/LogInContainer.js @@ -3,6 +3,7 @@ import { BrowserRouter, Route, NavLink, Switch,withRouter } from 'react-router-d import Register from './Register'; import Login from './Login'; import Footer from './Footer'; +import styled, {css} from 'styled-components'; import '../login_reg.css'; const BaseApp = styled.div` @@ -28,7 +29,7 @@ const AppForm = styled.div` overflow: auto; `; -const PageSwitcher = styled.div` +const PageSwitcherContainer = styled.div` display: flex; justify-content: flex-end; @@ -86,44 +87,81 @@ const PageSwitcher = styled(NavLink)` border: none; outline: none; display: inline-block; - text-decoration: none; - - ${props = props.active ? css` + text-decoration: none !important; + &.active{ background-color: #66bfbf; color: white; - `: css``} + } + &:first-child { + border-top-left-radius: 25px; + border-bottom-left-radius: 25px; + + } + &:last-child { + border-top-right-radius: 25px; + border-bottom-right-radius: 25px; + + } +`; + +const FormLink = styled(NavLink)` + + color: #707C8B; + text-decoration: none !important; + display: inline-block; + font-size: 1.7em; + margin: 0 10px; + padding-bottom: 5px; + border: none; + + &:first-child { + margin-left: 0; + } + &:last-child{ + color: #707c8b; + } + &.active{ + border-bottom: 1px solid #199087; + } `; +const FormTitle = styled.div` + color: #000000; + font-weight: 300; + margin-bottom: 50px; + + +`; const LogInContainer = (props) => { return ( -
-
-
+ + + plane logo -
-
-

locaft

-

Sit back, let us move you

+ + + locaft + Sit back, let us move you -
-
+ + skyscraper -
-
-
-
- Sign In - Sign Up -
-
- Sign In or Sign Up -
+ + + + + Sign In + Sign Up + + + Sign In or Sign Up + @@ -132,9 +170,9 @@ const LogInContainer = (props) => {

-
+ -
+