Skip to content

Commit

Permalink
fix(layout): Added contact hero styled component
Browse files Browse the repository at this point in the history
  • Loading branch information
HoseaCodes committed Nov 29, 2021
1 parent a1a6352 commit cfa59cc
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions src/Layout/Hero/styledHero.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,18 @@ const HeroContainer = styled.div`
rgba(119, 119, 119, 0.6)
),
url(${wireframe}); `}
${props => props.Contact && css`
background-image: linear-gradient(
to right bottom,
rgba(119, 119, 119, 0.6),
rgba(119, 119, 119, 0.6)
), url(${houston});
background-size: cover;
background-position: center;
position: relative;
height: 40vh;
margin: 0;
`}
${props => props.About && css`
background-image: linear-gradient(
to right bottom,
Expand Down

0 comments on commit cfa59cc

Please sign in to comment.