Skip to content

Commit

Permalink
feat: applied beatconnect logo as default audio player bg (#350)
Browse files Browse the repository at this point in the history
  • Loading branch information
Gumatan authored Mar 24, 2021
1 parent 42f9b22 commit 01c8f24
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Binary file added src/App/assets/img/beatconnect_logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 2 additions & 1 deletion src/App/modules/common/NavPanel/SidePanel/MusicPlayer.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ import React from 'react';
import { createUseStyles } from 'react-jss';
import { connect } from 'react-redux';
import config from '../../../../../shared/config';
import reqImgAssets from '../../../../helpers/reqImgAssets';
import { getThumbUrl } from '../../../../../shared/PpyHelpers.bs';
import renderIcons from '../../../../helpers/renderIcons';
import { useAudioPlayer } from '../../../../Providers/AudioPlayerProvider.bs';
Expand Down Expand Up @@ -83,7 +84,7 @@ const PlayingSong = ({ expended }) => {
<div
onClick={togglePlayPause}
className={classes.songImage}
style={{ backgroundImage: `url(${getThumbUrl(playingState.beatmapSetId)})` }}
style={{ backgroundImage: `url(${getThumbUrl(playingState.beatmapSetId)}), url(${reqImgAssets(`./beatconnect_logo.png`)})`, backgroundSize : "auto, 75%", backgroundRepeat : "no-repeat" }}
/>
<div className={classes.arrrowRight} onClick={handleNext}>
{renderIcons({ name: 'Arrow' })}
Expand Down

0 comments on commit 01c8f24

Please sign in to comment.