-
Notifications
You must be signed in to change notification settings - Fork 0
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
MatheusCandido
committed
Sep 17, 2020
1 parent
d41606a
commit 13c79a9
Showing
5 changed files
with
408 additions
and
0 deletions.
There are no files selected for viewing
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 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,33 @@ | ||
import React from 'react'; | ||
import './styles.css'; | ||
|
||
import { ReactComponent as ArrowIcon } from '../../assets/Seta.svg'; | ||
|
||
import { ReactComponent as GamerImg } from '../../assets/GAMER.svg'; | ||
|
||
const Home = () => { | ||
return ( | ||
<div className="home-container"> | ||
<div className="home-text"> | ||
<h1 className="home-text-title"> | ||
Quais jogos a galera gosta mais ? | ||
</h1> | ||
<h3 className="home-text-subtitle"> | ||
Clique no botão abaixo e saiba quais são os jogos que os gamers estão escolhendo! | ||
</h3> | ||
<div className="home-actions"> | ||
<button className="home-btn"> | ||
Quero saber quais são | ||
</button> | ||
<div className="home-btn-icon"> | ||
<ArrowIcon /> | ||
</div> | ||
</div> | ||
</div> | ||
|
||
<GamerImg className="home-image" /> | ||
</div> | ||
) | ||
} | ||
|
||
export default Home; |
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,108 @@ | ||
|
||
.home-container { | ||
margin-top: 150px; | ||
display: flex; | ||
justify-content: center; | ||
} | ||
|
||
.home-text { | ||
width: 490px; | ||
margin-right: 70px; | ||
} | ||
|
||
.home-text-title { | ||
font-size: 55px; | ||
color: var(--color-turquoise); | ||
} | ||
|
||
.home-text-subtitle { | ||
font-size: 24px; | ||
color: var(--color-coral); | ||
} | ||
|
||
.home-actions { | ||
display: flex; | ||
height: 70px; | ||
margin-top: 150px; | ||
} | ||
|
||
.home-btn { | ||
background-color: var(--color-turquoise); | ||
border-radius: 10px 0px 0px 10px; | ||
color: var(--color-black); | ||
font-weight: bold; | ||
font-size: 24px; | ||
padding: 20px 45px; | ||
} | ||
|
||
.home-btn:hover { | ||
background-color: #04c7ef; | ||
} | ||
|
||
.home-btn-icon { | ||
border-radius: 0px 10px 10px 0px; | ||
width: 70px; | ||
background-color: var(--color-coral); | ||
display: flex; | ||
align-items: center; | ||
justify-content: center; | ||
} | ||
|
||
/* responsive */ | ||
|
||
@media (max-width: 1250px) { | ||
.home-image { | ||
max-width: 400px; | ||
height: auto; | ||
} | ||
} | ||
|
||
@media (max-width: 1250px) { | ||
.home-image { | ||
max-width: 400px; | ||
height: auto; | ||
} | ||
|
||
.home-text-title { | ||
font-size: 45px; | ||
} | ||
|
||
.home-text-subtitle { | ||
font-size: 20px; | ||
} | ||
|
||
.home-text { | ||
width: 410px; | ||
margin-right: 20px; | ||
} | ||
|
||
.home-btn { | ||
font-size: 18px; | ||
padding: 10px 25px; | ||
} | ||
|
||
.home-actions { | ||
margin-top: 50px; | ||
} | ||
} | ||
|
||
@media (max-width: 850px) { | ||
.home-container { | ||
margin-top: 50px; | ||
} | ||
|
||
.home-actions { | ||
height: 50px; | ||
justify-content: center; | ||
} | ||
|
||
.home-image { | ||
display: none; | ||
} | ||
|
||
.home-text { | ||
margin-right: 0; | ||
text-align: center; | ||
padding: 0 10px; | ||
} | ||
} |
Oops, something went wrong.