Skip to content
This repository has been archived by the owner on Dec 6, 2022. It is now read-only.

Commit

Permalink
Change logo path
Browse files Browse the repository at this point in the history
  • Loading branch information
Marco committed Aug 7, 2019
1 parent 1e529d6 commit de84683
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion game-client/src/components/header.js
Original file line number Diff line number Diff line change
Expand Up @@ -22,13 +22,16 @@ const Header = styled.div`
const Logo = styled.img`
position: absolute;
width: 30%;
opacity: ${({ show }) => show ? 1 : 0};
transition: opacity 1s ease;
`

export default function renderHeader(props) {
return (
<Header show={ props.show }>
<Logo
src={ `${props.assetServerUri}/${props.content.shared.assets.dashboardWingSign.src}` } />
show={ !props.showScore }
src={ `${props.assetServerUri}/${props.content.logo.src}` } />
<GameManualButton { ...props } show={ props.show && !props.showGameManual } />
<Score show={ props.showScore } score={ props.score } oldScore={ props.oldScore } />
</Header>
Expand Down

0 comments on commit de84683

Please sign in to comment.