style(#150): add cover for tournament 316

IN-146-filter-matches
Andrei Dekterev 3 years ago
parent 3e376dfe3c
commit 1301692118
  1. BIN
      public/images/316.png
  2. BIN
      public/images/316_mobile.png
  3. 5
      src/features/ProfileHeader/index.tsx

Binary file not shown.

After

Width:  |  Height:  |  Size: 62 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 29 KiB

@ -47,11 +47,10 @@ export const ProfileHeader = ({
sportType,
} = usePageParams()
const url = '/images/5704'
const color = useProfileColor(profileId)
const imageHeader = profileId === 5704
const imageHeader = (profileId === 5704 || 316)
&& sportType === SportTypes.FOOTBALL
&& profileType === ProfileTypes.TOURNAMENTS ? url : headerImage
&& profileType === ProfileTypes.TOURNAMENTS ? `/images/${profileId}` : headerImage
return (
<Fragment>

Loading…
Cancel
Save