Skip to content

Commit

Permalink
m
Browse files Browse the repository at this point in the history
  • Loading branch information
Arthur Thouin committed Dec 5, 2021
1 parent 6645bd5 commit 96f27c4
Show file tree
Hide file tree
Showing 7 changed files with 92 additions and 9 deletions.
4 changes: 0 additions & 4 deletions src/components/HomePage/HomePage.css
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
body
{
overflow: hidden;
}
.background-image
{
z-index: -1;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,57 @@
.titleMostPlayed

.mostPlayedChampions
{

margin-top: 26px;
margin-left: 30px;
}

.boxTitle
{
text-transform: uppercase;
}

.boxMostPlayedChampions
{
width: 550px;
height: 322px;
}

.imgContainerMostPlayed
{
display: flex;
width: 420px;
margin: 0 auto;
background-color: red;
}
.aatrox
{
width: 85px;
}

.imgLeftPlayedChampion
{
display: flex;
flex-direction: column;
}

.imgLeftPlayedChampion > span
{
display: flex;
margin: 0 auto;
color: #ffffff;
font-size: 14px;
margin-top: 15px;
}

.textLeftMostPlayed span
{
display: flex;
justify-content: center;
font-size: 10px;
color: #838384;
}

.imgNumberOfTrophies
{

}
Original file line number Diff line number Diff line change
@@ -1,10 +1,29 @@
import React from 'react'
import './MostPlayedChampions.css'
import Aatrox from '../../assets/images/Aatrox.png';
import image26 from '../../assets/images/image26.png';
import MaskGroup from '../../assets/images/MaskGroup.svg';


function MostPlayedChampions() {
return (
<div className="boxTitle titleMostPlayed">
MOST PLAYED CHAMPIONS
<div className="mostPlayedChampions">
<div className="boxTitle titleMostPlayed">
Most played champions
</div>
<div className="box boxMostPlayedChampions">
<div className="imgContainerMostPlayed">
<div className="imgLeftPlayedChampion">
<img src={Aatrox} className="aatrox"/>
<span>Aatrox</span>

<div className="textLeftMostPlayed">
<img src={MaskGroup}/>
<img src={image26} className="imgNumberOfTrophies"/><span>38 220</span>
</div>
</div>
</div>
</div>
</div>
)
}
Expand Down
2 changes: 1 addition & 1 deletion src/components/PageStats/PageStats.css
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

.user
{
margin-top: 20vh;
margin-top: 17vh;
color: #ffffff;
width: 45vw;
}
Expand Down
14 changes: 14 additions & 0 deletions src/components/assets/images/MaskGroup.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added src/components/assets/images/image26.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
1 change: 1 addition & 0 deletions src/index.css
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ body {
sans-serif;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale;
overflow-x: hidden;
}

code {
Expand Down

0 comments on commit 96f27c4

Please sign in to comment.