-
Notifications
You must be signed in to change notification settings - Fork 3
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
Clint Briley
authored and
Clint Briley
committed
Oct 27, 2021
1 parent
7032c06
commit d12b9f7
Showing
15 changed files
with
364 additions
and
97 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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
This file was deleted.
Oops, something went wrong.
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
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,165 @@ | ||
.hero { | ||
width: 100%; | ||
height: 100vh; | ||
background: var(--darkgrey); | ||
} | ||
|
||
.container { | ||
max-width: 1240px; | ||
padding: 0 1rem; | ||
margin: auto; | ||
} | ||
|
||
.hero .content { | ||
display: grid; | ||
grid-template-columns: repeat(2, 1fr); | ||
} | ||
|
||
.col-1 { | ||
padding: 1rem 1rem 1rem 0; | ||
height: 70vh; | ||
display: flex; | ||
flex-direction: column; | ||
justify-content: center; | ||
} | ||
|
||
.col-1 h1 { | ||
font-size: 3rem; | ||
font-weight: 700; | ||
color: var(--white); | ||
} | ||
|
||
.col-1 p { | ||
font-size: 1rem; | ||
color: var(--white); | ||
line-height: 1.4; | ||
margin-top: 1.2rem; | ||
} | ||
|
||
.col-1 .used-by p { | ||
color: var(--lightgrey); | ||
font-size: .7rem; | ||
margin: 2rem 0 1rem 0; | ||
} | ||
|
||
.col-2 { | ||
padding: 1rem; | ||
height: 70vh; | ||
display: flex; | ||
flex-direction: column; | ||
justify-content: center; | ||
font-size: .8rem; | ||
} | ||
|
||
.col-2 p { | ||
color: var(--grey); | ||
} | ||
|
||
.form-layout { | ||
width: 400px; | ||
margin: auto; | ||
background-color: var(--white); | ||
border-radius: 6px; | ||
} | ||
|
||
.form-container { | ||
padding: 1.5rem 2rem; | ||
} | ||
|
||
.sign-in-txt { | ||
margin-bottom: 10px; | ||
} | ||
|
||
.social-login span { | ||
background: var(--white); | ||
padding: 16px 45px 6px 45px; | ||
border: 1px solid var(--lightgrey); | ||
border-radius: 4px; | ||
} | ||
|
||
.col-2 .divider p { | ||
width: 100%; | ||
text-align: center; | ||
border-bottom: 1px solid var(--lightgrey); | ||
line-height: 0.1em; | ||
margin: 2rem 0 2rem; | ||
} | ||
.col-2 .divider p span { | ||
background: var(--white); | ||
padding: 0 10px; | ||
} | ||
|
||
|
||
form input { | ||
display: block; | ||
width: 100%; | ||
margin: 1.2rem 0; | ||
padding: .5rem; | ||
border: 1px solid var(--lightgrey); | ||
background: var(--white); | ||
border-radius: 4px; | ||
} | ||
|
||
.form-footer { | ||
border-top: 1px solid var(--lightgrey); | ||
background: var(--white); | ||
border-bottom-right-radius: 8px; | ||
border-bottom-left-radius: 8px; | ||
} | ||
|
||
.form-footer p { | ||
padding: 1.5rem 2rem; | ||
} | ||
|
||
.form-footer span { | ||
font-weight: 500; | ||
} | ||
|
||
button { | ||
width: 100%; | ||
padding: 8px 0; | ||
border-radius: 4px; | ||
border: 1px solid var(--primary); | ||
background-color: var(--primary); | ||
color: var(--white); | ||
cursor: pointer; | ||
} | ||
|
||
button:hover { | ||
background-color: var(--secondary); | ||
border: 1px solid var(--secondary); | ||
} | ||
|
||
|
||
@media screen and (max-width:940px) { | ||
.hero { | ||
height: auto; | ||
width: 100%; | ||
} | ||
|
||
.hero .container { | ||
padding: 0 1rem; | ||
} | ||
|
||
.hero .content { | ||
grid-template-columns: 1fr; | ||
} | ||
|
||
.col-1 { | ||
height: 90vh; | ||
padding: .2rem; | ||
max-width: 100%; | ||
} | ||
|
||
.hero h1 { | ||
font-size: 2.5rem; | ||
} | ||
|
||
.hero .col-2 { | ||
display: none; | ||
} | ||
} | ||
|
||
|
||
|
||
|
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 |
---|---|---|
@@ -0,0 +1,60 @@ | ||
import React from 'react' | ||
import {FaDatabase, FaAsterisk, FaAccusoft, FaFacebook, FaTwitter, FaGithub} from 'react-icons/fa' | ||
import './Hero.css' | ||
|
||
const Hero = () => { | ||
return ( | ||
<div className='hero'> | ||
<div className='container'> | ||
<div className='content'> | ||
<div className='col-1'> | ||
<h1>Data to enrich your</h1> | ||
<h1><span className='primary-color'>online business</span></h1> | ||
<p>Lorem ipsum dolor sit amet, consec tetur adipisicing elit. | ||
Architecto iure fuga deleniti sit! Cum doloribus, nesciunt | ||
laboriosam eos praesentium veritatis!</p> | ||
<div className='used-by'> | ||
<p>USED BY</p> | ||
<div className='icons'> | ||
<span><FaDatabase /> Staxx</span> | ||
<span><FaAsterisk /> Star AI</span> | ||
<span><FaAccusoft /> Accusoft</span> | ||
</div> | ||
</div> | ||
</div> | ||
<div className='col-2'> | ||
<div className='form-layout'> | ||
<div className='form-container'> | ||
<p className='sign-in-txt'>Sign in with</p> | ||
<div className='social-login'> | ||
<span><FaFacebook size={20} /></span> | ||
<span><FaTwitter size={20} /></span> | ||
<span><FaGithub size={20} /></span> | ||
</div> | ||
<div className='divider'> | ||
<p><span>Or</span></p> | ||
</div> | ||
<form action=''> | ||
<input type='text' placeholder='Name' /> | ||
<input type='text' placeholder='Email' /> | ||
<input type='text' placeholder='Password' /> | ||
<button>Create Your Account</button> | ||
</form> | ||
</div> | ||
<div className='form-footer'> | ||
<p> | ||
By signing up, you agree to our | ||
<span className='primary-color'> Terms, Data Policy</span> | ||
and <span className='primary-color'> Cookies Policy</span>. | ||
</p> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
</div> | ||
) | ||
} | ||
|
||
export default Hero |
Oops, something went wrong.