house card start
This commit is contained in:
parent
5cc119b916
commit
1f8b82a3ea
|
@ -4,7 +4,7 @@ import Lottie from 'react-lottie';
|
||||||
import animationData from '../lottie/box_error';
|
import animationData from '../lottie/box_error';
|
||||||
|
|
||||||
const Body = styled.div`
|
const Body = styled.div`
|
||||||
@import url(https://fonts.googleapis.com/css?family=Roboto:400,100,300,500);
|
@import url('https://fonts.googleapis.com/css?family=Roboto:400,100,300,500');
|
||||||
font-size: 100%;
|
font-size: 100%;
|
||||||
line-height: 1.5;
|
line-height: 1.5;
|
||||||
font-family: "Roboto", sans-serif;
|
font-family: "Roboto", sans-serif;
|
||||||
|
|
|
@ -35,18 +35,13 @@ const Card = styled.div`
|
||||||
box-shadow: 4px 4px 5px 5px rgba(0,0,0,0.01), -2px -2px 5px 5px rgba(0,0,0,0.22);
|
box-shadow: 4px 4px 5px 5px rgba(0,0,0,0.01), -2px -2px 5px 5px rgba(0,0,0,0.22);
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
transition: 0.4s;
|
transition: 0.4s;
|
||||||
|
position: relative;
|
||||||
|
|
||||||
& .card_image {
|
|
||||||
width: inherit;
|
|
||||||
height:inherit;
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
& .card_image ${Image} {
|
& .card_image ${Image} {
|
||||||
width: inherit;
|
width: inherit;
|
||||||
height:inherit;
|
height:inherit;
|
||||||
border-radius: 40px;
|
border-radius: 40px;
|
||||||
|
box-shadow: none;
|
||||||
object-fit:cover;
|
object-fit:cover;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -58,19 +53,11 @@ const Card = styled.div`
|
||||||
font-size: 30px;
|
font-size: 30px;
|
||||||
margin-top: -80px;
|
margin-top: -80px;
|
||||||
height: 40px;
|
height: 40px;
|
||||||
|
box-shadow: none;
|
||||||
|
color: #fff;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
& .card_title {
|
|
||||||
text-align: center;
|
|
||||||
border-radius: 0px 0px 40px 40px;
|
|
||||||
font-family: sans-serif;
|
|
||||||
font-weight: bold;
|
|
||||||
font-size: 30px;
|
|
||||||
margin-top: -80px;
|
|
||||||
height: 40px;
|
|
||||||
color: white !important;
|
|
||||||
}
|
|
||||||
& .card_tick {
|
& .card_tick {
|
||||||
content:'asdf';
|
content:'asdf';
|
||||||
border-radius: 0px 0px 40px 40px;
|
border-radius: 0px 0px 40px 40px;
|
||||||
|
@ -80,11 +67,11 @@ const Card = styled.div`
|
||||||
}
|
}
|
||||||
&:hover {
|
&:hover {
|
||||||
|
|
||||||
box-shadow: 2px 2px 5px 9px rgba(0,0,0,0.22), -2px -2px 5px 5px rgba(0,0,0,0.11);
|
box-shadow: 2px 2px 5px 5px rgba(0,0,0,0.22), -2px -2px 5px 5px rgba(0,0,0,0.11);
|
||||||
;
|
|
||||||
|
|
||||||
}
|
}
|
||||||
&:hover ${Overlay}{
|
&:hover .overlay{
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -206,7 +206,8 @@ const responsePassGoogle = async (response) => {
|
||||||
}
|
}
|
||||||
return (
|
return (
|
||||||
<BaseApp>
|
<BaseApp>
|
||||||
<meta name="google-signin-client_id" content={`${process.env.REACT_APP_CLIENT_ID}.apps.googleusercontent.com`} />
|
<meta name="google-signin-client_id"
|
||||||
|
content={`${process.env.REACT_APP_CLIENT_ID}.apps.googleusercontent.com`} />
|
||||||
<AppSide>
|
<AppSide>
|
||||||
{!hasLogged ? (
|
{!hasLogged ? (
|
||||||
<GoogleLogin
|
<GoogleLogin
|
||||||
|
|
|
@ -5,11 +5,16 @@ import Footer from "./Footer";
|
||||||
import styled from 'styled-components';
|
import styled from 'styled-components';
|
||||||
|
|
||||||
const CardList = styled.div`
|
const CardList = styled.div`
|
||||||
z-index: 0;
|
|
||||||
width: 100%;
|
|
||||||
display:flex;
|
display:flex;
|
||||||
justify-content: space-around;
|
justify-content: space-between;
|
||||||
flex-wrap: wrap;
|
align-items: center;
|
||||||
|
position: relative;
|
||||||
|
margin: 45px 15px;
|
||||||
|
|
||||||
|
flex-direction: row;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
`;
|
`;
|
||||||
export default function Options() {
|
export default function Options() {
|
||||||
|
|
||||||
|
@ -78,12 +83,15 @@ export default function Options() {
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
||||||
<div id="main">
|
|
||||||
<p id="content" className="text-center">Step Number 1</p>
|
<p id="content" className="text-center">Step Number 1</p>
|
||||||
|
<div id="main">
|
||||||
<button id="previousBtn" >Previous</button>
|
<button id="previousBtn" >Previous</button>
|
||||||
<button id="nextBtn">Next</button>
|
<button id="nextBtn">Next</button>
|
||||||
<button id="finishBtn" >Finish</button>
|
<button id="finishBtn" >Finish</button>
|
||||||
</div>
|
</div>
|
||||||
|
<CardList>
|
||||||
|
<Card img="skyscraper.png"/>
|
||||||
|
</CardList>
|
||||||
<Footer />
|
<Footer />
|
||||||
</div>
|
</div>
|
||||||
)
|
)
|
||||||
|
|
|
@ -7,6 +7,13 @@
|
||||||
margin-bottom: 40px;
|
margin-bottom: 40px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#main {
|
||||||
|
display:flex;
|
||||||
|
justify-content: center;
|
||||||
|
align-items: center;
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
.step {
|
.step {
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue